Function reference in help file

Function reference in help file

DGRL
Advisor Advisor
1,349 Views
7 Replies
Message 1 of 8

Function reference in help file

DGRL
Advisor
Advisor

So I found the 2022 reference for the VL / VLAX / VLR function but where are the VLA function references?

See this link It has the VL / VLAX / VLR but no VLA

AutoCAD 2022 Developer and ObjectARX Help | vlax-3D-point (AutoLISP/ActiveX) | Autodesk

 

If this was of any help please kudo and/or Accept as Solution
Kind Regards
0 Likes
Accepted solutions (4)
1,350 Views
7 Replies
Replies (7)
Message 2 of 8

jrreid
Advocate
Advocate

I am not sure why. But when I type in Help then VLA it comes up 1,883 results.

Maybe you need to re-install the HELP section for AutoCAD.

 

jrreid_0-1630611528503.png

 

Hope this helps.

 

JRR.

0 Likes
Message 3 of 8

CodeDing
Advisor
Advisor
Accepted solution

@DGRL ,

 

Most Visual Lisp functions will NOT be listed under the "AutoLISP: Reference" category.

You will instead need to expand the "ActiveX: Reference Guide" category.

 

Under that category you will see these headers.. This is how activex functions are categorized..

image.png

 

You must have a notion of what type of function you are calling. Are you retrieving an OBJECT? Invoking a METHOD? Retrieving a PROPERTY?

 

For Example, to SAVE a drawing, this is a METHOD.. So I would Expand the Method header and navigate to the "S" section.. like here:

https://help.autodesk.com/view/OARX/2022/ENU/?guid=GUID-DA24D47F-FB6C-4C0B-8DDB-87D0AD4455F0

 

Under there if you scroll to the bottom of the page, you will be provided with the Visual LISP example of that function.

 

Hope that helps.

Best,

~DD

0 Likes
Message 4 of 8

dbroad
Mentor
Mentor
Accepted solution

Also, in vlide, click help and type a vla- or vlax-function name.  It should automatically bring up the ActiveX help.  I haven't installed the latest versions but that is the way it works in 2019. Eg. vla-addline. Then use the index or object model map to choose the objects you want to work with.

Using your link, just scroll down the index and choose "object model". Then choose the object you want to work with.

Architect, Registered NC, VA, SC, & GA.
Message 5 of 8

Sea-Haven
Mentor
Mentor
Accepted solution

My $0.05 then google.

 

0 Likes
Message 6 of 8

DGRL
Advisor
Advisor

@Sea-Haven 

 

Any idea where to find  all the vla commands in the help file?

 

If this was of any help please kudo and/or Accept as Solution
Kind Regards
0 Likes
Message 7 of 8

DGRL
Advisor
Advisor

In earlier versions there was an *.chm file devoted for LISP and it contained all the VLA - VLAX commands including some examples. I really need this atm

If this was of any help please kudo and/or Accept as Solution
Kind Regards
0 Likes
Message 8 of 8

DGRL
Advisor
Advisor
Accepted solution

@dbroad  @Sea-Haven @CodeDing @jrreid 

If you change the sysvar LISPSYS from 0 to 1 and then download the portable version of CODE 

 

Visual Studio Code - Code Editing. Redefined  (download the .zip file)

 

Then run this and enter your code there double click on for example (vla-get-blocks) right mouse and click online help files it will bring you to what I was looking for.


CODE for me is new and seems to be better then the old vlide

 

 

If this was of any help please kudo and/or Accept as Solution
Kind Regards
0 Likes