Jump to content

Call Autolisp API function from VBA


Recommended Posts

Posted

Hey guys. I am half way through my project but I have a bit of a problem. I am want to insert wires between contact using VBA but it doesn't have a library which would let me insert wires or for that matter any special feature of autocad Electrical. I would like to know how to insert wires using VBA. Someone suggested that use Auotlisp API. I am proficient in VBA but have no knowledge about autolisp. I have the coordinates of the point between whcih I want to insert wires. If autolisp is the only way out please suggest a way to pass these coordinates. Or if there is reference library available which helps me define wire object to draw it like line object AcadLine then it would be great.

 

thanks

Mohit

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...