Jump to content

vla Functions


Costinbos77

Recommended Posts

How do I know which parameters need to be put in expressions visual lisp?

For example, I took the properties and methods available:

 

# (setq vgad (vla-get-ActiveDocument (vlax-get-acad-object)))

(vlax-dump-object vgad T) #

 

Methods available to find:

...........

, Open (2)

, PurgeAll ()

, Regen (1)

, Save ()

, SaveAs (3)

...........

where what is written between parentheses (), is the number of parameters required for setting:

 

(vla-open 1? 2? 3?)

or

(vla-save?)

 

Where do I find what to use?

Link to comment
Share on other sites

Thank you very much.

It is difficult to work this way, but if that is the only way ...

 

 

Thank you very much again.

 

Costin

Link to comment
Share on other sites

Such documentation found for lisp, not only for vb?

 

No ActiveX Documentation was ever released specifically for Visual LISP, only VBA; though the number of parameters, their order and data type all translate directly for use with Visual LISP. Also, in the 2013 ActiveX Documentation (linked above) there are Visual LISP examples alongside the VB examples.

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