get parameter values from a 2D parametric block
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