Author Topic: vla-... documentation, where can i find it?  (Read 1395 times)

0 Members and 1 Guest are viewing this topic.

andrew_nao

  • Guest
vla-... documentation, where can i find it?
« 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))

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: vla-... documentation, where can i find it?
« Reply #1 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 may help (or not).
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: vla-... documentation, where can i find it?
« Reply #2 on: March 16, 2012, 04:32:22 PM »
There's also the Visual Lisp Developer's Bible as discussed HERE

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: vla-... documentation, where can i find it?
« Reply #3 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).
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

BlackBox

  • King Gator
  • Posts: 3770
Re: vla-... documentation, where can i find it?
« Reply #4 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
"How we think determines what we do, and what we do determines what we get."