Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

where will i get vla funcion?

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
thsa2501
398 Views, 6 Replies

where will i get vla funcion?

hii everyone,

kindly hepl me.where will i get vla function such as vla-put-textstring,vla-put-color,vla-getattributes,vla-item

thanks advance

6 REPLIES 6
Message 2 of 7
_gile
in reply to: thsa2501

Hi

 

'vla' stands for Visual Lisp Automation.  The 'vla' functions are LISP wrappers to access to the AutoCAD COM API properties (vla-get-PropertyName / vla-put-PropertyName) and methods (vla-MethodName) using ActiveX/Automation. These methods ans properties are documented in the ActiveX: Reference Guide of the AutoCAD developper's documentation.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Message 3 of 7
Kent1Cooper
in reply to: thsa2501


@thsa2501 wrote:

....where will i get vla function ....


If by that you mean how do you make those functions available to use, put this in at the command line:

 

(vl-load-com)

 

You can build that into the beginning of any AutoLisp routine definitions that use those functions, to be sure they will be available.

Kent Cooper, AIA
Message 4 of 7
paullimapa
in reply to: thsa2501

Just do a google search online for

autolisp vla functions

and you’ll find all your answers 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 5 of 7
john.uhden
in reply to: _gile

@_gile 

And God bless Peter Petrov for developing it for R14 as VitalLisp.

I hope Autodesk paid him well.

Anyway, the simple answer would be (vl-load-com).

John F. Uhden

Message 6 of 7
thsa2501
in reply to: _gile

hi gile,

 

thank you so much a lot

Message 7 of 7
yangguoshe
in reply to: thsa2501

If you want to get the list of all vla- functions , you can enter vla in vlide's text editor, double-click it, and then Ctrl+shift+space to pop up the function list

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Autodesk Design & Make Report