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

RE: Displaying levels in attachment using OpenDesignForProgramming

$
0
0

[quote user="James Manfield"]What I am trying to do is create a vba script which runs through a number of subfolders, opens the dgn files in them and displays all levels in a specific reference attachment ("3D-modell") in a specific model ("Drawings")
Set myDGN = oMSAPP.OpenDesignFileForProgram(FSOFile.Path, False)[/quote]

What happens if you use...

Set myDGN = oMSAPP.OpenDesignFile (FSOFile.Path, False)

Windows Scripting

[quote user="James Manfield"]Set myFSO = CreateObject("Scripting.FileSystemObject")[/quote]

Not related to your problem, buy if you add a reference to the Windows Scripting Runtime, you benefit from InstelliSense among other things...


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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