Jump to content

about vlips & vba


salman

Recommended Posts

The visual lisp documentation provided in Autocad reffers to VBA programming section and almost all the methods/proeprties that we access using visual lisp are found in

VBA documentation. Similary when creating variants we mention the data types such as VBString, VBInteger etc. Does this mean visual lisp uses the VBA api of

Autocad & it will be available in Autocad only as long as VBA is available for use in Autocad.

 

My second idea is that perhaps methods/properties (described in VBA section) actually use some objectArx code that can be accessed from various environments, and only

described in the tutorial with reference to VBA so that it can be accessed from VBA environment & so we can access it from VLISP environment also.

 

Which of the ideas is correct please guide.

Link to comment
Share on other sites

Both VBA and VisualLisp attach to a ActiveX (COM based) API. That api is independent of VBA, so, the second idea is correct.

 

From what I understand these COM based servers are very effective conduits to the underlying ObjectARX, albeit somewhat cumbersome to write and maintain from AutoDesk’s point of view. The fear is that the newer AutoCAD features, which are relatively easy to expose via the .NET api, will not get the resources for proper implementation through COM. It is not likely, though, that Autodesk will abandon what is already in place.

Link to comment
Share on other sites

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