teoz
Guest
Hello everyone,
I would like to insert blocks to which attributes are associated, with relative default values, using the "entmake" command, which I currently cannot perform.
Suppose my block is called "test" to which an attribute is associated, visible and editable, called "given". The code I use for its insertion is:
(entmake (cons 0 "insert") (cons 2 "test") (list 10 0 0 0))
at this point autocad will have inserted the block "test" to the origin of the axes without any attribute. What is missing in my code so that the attribute is also inserted, as happens with "_insert"?
bye and thanks
Matteo.
I would like to insert blocks to which attributes are associated, with relative default values, using the "entmake" command, which I currently cannot perform.
Suppose my block is called "test" to which an attribute is associated, visible and editable, called "given". The code I use for its insertion is:
(entmake (cons 0 "insert") (cons 2 "test") (list 10 0 0 0))
at this point autocad will have inserted the block "test" to the origin of the axes without any attribute. What is missing in my code so that the attribute is also inserted, as happens with "_insert"?
bye and thanks
Matteo.