« 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.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.