« Fields get some new muscle in AutoCAD 2006 | Main | Heading to New Hampshire »

Comments

ibif

how can i run automaticaly a script file in autocad via visual basic

Lee

To run a script from VB or VBA you will need to use the SendCommand method which allows you to run commands directly from the command line. While this is not really a preferred method due to the commands not being executed right a way, it can be done though. When sending commands to AutoCAD using this method, AutoCAD might not run the commands until the remainder of the code is done running. So you will want to make sure that the script is as close to the end of the procedure as possible.

The comments to this entry are closed.

My Photo

My Other Accounts

Twitter Updates

    follow me on Twitter