TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: pingoo666 on March 23, 2015, 04:58:41 AM

Title: Get parameter index
Post by: pingoo666 on March 23, 2015, 04:58:41 AM
Hello,

I try to make a lisp that display the dynamic properties of a block in a field, in order to update the text each time the property is updated.

So, I need to build a string like this :

Code: [Select]
%<\AcObjProp Object(%<\_ObjId 8796084840048>%).Parameter(9).UserVariable \f "%lu6">%
The problem I have is I can't find the Index of the Parameter, because its not linked with the array returned by (vla-getdynamicblockproperties obj)...

So I need a routine that return the Index if I give the parameter name.

Any Ideas ?

Thanks By advance
Title: Re: Get parameter index
Post by: HasanCAD on March 29, 2015, 02:49:32 AM
I belive one of these will help
http://www.lee-mac.com/quickfield.html
http://www.lee-mac.com/fieldformat.html
http://www.lee-mac.com/fieldobjects.html