TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: andrew_nao on March 16, 2012, 04:09:48 PM

Title: vla-... documentation, where can i find it?
Post by: andrew_nao on March 16, 2012, 04:09:48 PM
i cant seem to find this in the help files...
am i looking in the right spot?

the documentation for this type of code

(vla-get-activedocument (vlax-get-acad-object))
Title: Re: vla-... documentation, where can i find it?
Post by: MP on March 16, 2012, 04:14:15 PM
There are no vla help docs per se. You have to use the vba help docs and translate. This (http://www.theswamp.org/index.php?topic=5185.msg62997;topicseen#msg62997) may help (or not).
Title: Re: vla-... documentation, where can i find it?
Post by: Jeff_M on March 16, 2012, 04:32:22 PM
There's also the Visual Lisp Developer's Bible as discussed HERE (http://www.theswamp.org/index.php?topic=39403.0)
Title: Re: vla-... documentation, where can i find it?
Post by: dgorsman on March 16, 2012, 06:08:39 PM
Something to keep in mind, is the (vla-...)/(vlax-...) syntax can apply to many different objects, not just AutoCAD ones.  For example, using dom_obj as an MSXML2 DOMDocument object then the documentElement property of that object can be accessed using (vlax-get-property dom_obj 'documentElement).
Title: Re: vla-... documentation, where can i find it?
Post by: BlackBox on March 16, 2012, 08:57:12 PM
Andrew - I am unsure what version you're using, but in addition to what has already been suggested, consider using the VLIDE's Apropos functionality... It's not 100%, but it can help with certain Methods/Functions again depending on your version.

Autodesk Exchange does a good adequate job of making Developer Documentation available online; sadly though the VBA documentation is not among that lot. Either keep a copy of the necessary acad_##_dev.chm (and others), or use VBAIDE docs.

HTH