Author Topic: dinamic property to number field  (Read 394 times)

0 Members and 1 Guest are viewing this topic.

dgpuertas

  • Newt
  • Posts: 80
dinamic property to number field
« on: January 25, 2024, 12:12:10 PM »
I have dinamic block with a property calculate.

If there is a way to know the  parameter number in the field having the name of the property




It is for to create automatic fields.

I have the object prop with:

Code: [Select]
(vl-some (function (lambda ( x ) (if (= nombre (strcase (vla-get-propertyname x))) x)))
        (vlax-safearray->list (vlax-variant-value (vla-getDynamicBlockProperties bloque)))
    )

but there not a property "numberindfield" or something...
« Last Edit: January 25, 2024, 12:26:45 PM by dgpuertas »

Lee Mac

  • Seagull
  • Posts: 12912
  • London, England

dgpuertas

  • Newt
  • Posts: 80
Re: dinamic property to number field
« Reply #2 on: January 29, 2024, 05:23:23 AM »
Thanks a lot.

it just this.