Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: Displaying levels in attachment using OpenDesignForProgramming

$
0
0

Hi James,

[quote user="James Manfield"]Can anyone provide any tips where I am going wrong?[/quote]

I am not quite sure, but I recommend to evaluate simple scenarios first. So I think you should to test your code in MicroStation for one design file with some attachments. It should give a proof if the problem is in the code or it's because you are accessing MicroStation from external process or opening design files for program (not everything is initialized and accessible in this case).

Is there any reason why are you at the same time controling MicroStation externally and using OpenDesignFileForProgram?

Another question, but not related to the discussed problem: Why do you save the file in the loop?

And please, can you always use Syntaxhighlighter tool when posting any code? It's hard to read it as a plain text.

With regards,

  Jan


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>