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

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83420642b53ef00d834a294d853ef

Listed below are links to weblogs that reference What's Changed in the ActiveX API? - AutoCAD 2004/2005:

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.