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,

it seems you are mixing two different issues / tasks that would become confusing easily...

[quote user="James Manfield"]What I need to do is modify this so that I can iterate through the three hundred or so files[/quote]

There are several different ways how it can be solved, in my opinion the simpliest is to use a macro for active file and to use Batch Process to call the macro for every defined file. I also see no problem to use any other way e.g. to control MicroStation from outside and to use scripting.

[quote user="James Manfield"]I dont seem to be able to get it working when refering to reference attachments which are not in the active model[/quote]

I am not sure if I understand this issue correctly: Is it about when there is nested reference or you want to open some model but to change reference attachment to another model? The latter case cannot be done in my opinion, or at least I will be not surprised if all attachment parameters are initialized and accessible only if they are used in the active model.

In you original code it means to don't use OpenDesignFileForProgram but open the file directly.

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>