where will i get vla funcion?

where will i get vla funcion?

thsa2501
Enthusiast Enthusiast
576 Views
6 Replies
Message 1 of 7

where will i get vla funcion?

thsa2501
Enthusiast
Enthusiast

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

0 Likes
Accepted solutions (2)
577 Views
6 Replies
Replies (6)
Message 2 of 7

_gile
Consultant
Consultant
Accepted solution

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

0 Likes
Message 3 of 7

Kent1Cooper
Consultant
Consultant
Accepted solution

@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
0 Likes
Message 4 of 7

paullimapa
Mentor
Mentor

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
0 Likes
Message 5 of 7

john.uhden
Mentor
Mentor

@_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

0 Likes
Message 6 of 7

thsa2501
Enthusiast
Enthusiast

hi gile,

 

thank you so much a lot

0 Likes
Message 7 of 7

yangguoshe
Advocate
Advocate

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

0 Likes