Author Topic: Get parameter index  (Read 1622 times)

0 Members and 1 Guest are viewing this topic.

pingoo666

  • Mosquito
  • Posts: 13
Get parameter index
« 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

HasanCAD

  • Swamp Rat
  • Posts: 1422