Mbesendkeyin to automatically place view on Drwaing or sheet

Hello, I am using AECOsim SS5 to develop an annotation cell as part of DataGroup item, whose attributes in DataGroup Explorer would generate sheet index in Excel format.  I came across a challenge and was wondering if anyone knows of a suggestion. 

I wanted to apply a command line using MbeSendKeyin to get a particular task automated so that I can apply this to over 500 sheet files.  The line looks like this;

MbeSendKeyin "NamedView PlaceView ""xxxxx-xxx.dgn"" ""Design Model"" ""DV"" 0"

Currently, in order for the macro to continue to run, the line ""xxxxx-xxx.dgn"" must match the file name I have open.  I have tried using FileName, DgnFileName, or $FileName to no avail. I am looking for a syntax that would continue the command by knowing the file that is currently opened.  So far my batch process stops because it does not know the name of the next file that the batch process has opened.

Parents Reply Children
No Data