get parameter values from a 2D parametric block
How to get the parametric values from a 2D parametric block that is inserted with the command Insert ???
I already know how to get the parametric values of a parametric block that is inserted with the command BMInsert (search in this forum for KGA_Sys_InsertInstanceHandle).
I already know how to get the parametric values of a parametric block that is inserted with the command BMInsert (search in this forum for KGA_Sys_InsertInstanceHandle).
0
Comments
-
I met the same problem0
-
Post a dwg so can look at an example.0
-
Get entity name of block insert with entlast (returns entity name of last item with below)
(setq block (cdr(assoc -1(entget (entlast)))))
Get property value with getpropertyvalue - (getpropertyvalue ename property)
Takes the ename and property; for example (getpropertyvalue block "Height~MCAD")
To view all associated properties of an object use dumpallproperties and ename of object.
(dumpallproperties ename)
0