Jump to content

Recommended Posts

Posted

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?

Posted

Thank you very much.

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

 

 

Thank you very much again.

 

Costin

Posted

Don't worry, after some practice you soon learn the parameters required by each method and, for commonly used methods, seldom need to reference the documentation. :thumbsup:

Posted (edited)

Such documentation found for lisp, not only for vba ?

Edited by Costinbos77
Posted
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.

Posted

It is very good because it related directly to the point.

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