Message 1 of 7
Running a script (scr) file in a VBA program

Not applicable
10-25-2003
12:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'd like to include a script command in an AutoCAD VBA program. The program opens a new drawing file, runs a script file, and then saves the drawing. The script file, in this case, is a 3dmesh script file (3dmesh command with M & N values and xyz coordinate triplets in a scr text file).
I'd like to "run" the script file as a step in the VBA program, but I don't know the right syntax. I've tried a number of different command syntax formats.
If the script file name is "3dmesh.scr" what is the right VBA code/command to include in the VBA program to run the script file?
Thanks in advance for the feedback.
Tim Barbour
timbar@att.net
I'd like to "run" the script file as a step in the VBA program, but I don't know the right syntax. I've tried a number of different command syntax formats.
If the script file name is "3dmesh.scr" what is the right VBA code/command to include in the VBA program to run the script file?
Thanks in advance for the feedback.
Tim Barbour
timbar@att.net