TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: dubb on January 13, 2017, 03:14:52 PM
-
I am pretty sure this question has been answered before. I'm still searching around for an answer.
I have a block, it contains a line and an attributed text. When I edit the entity with(cons 50 0.0)
It only rotates the line and not the entire block. I have attached the block in this post.
(defun c:test()
(setq en1 (car(entsel)))
(setq ed (entget en1))
(setq ed (subst (cons 50 0.0) (assoc 50 ed) ed ))
(entmod ed)
)
Thanks in advance.
-
Try adding this line:
(command "_.ATTSYNC" "S" en1 "Y")
-
Try adding this line:
(command "_.ATTSYNC" "S" en1 "Y")
Ah...forgot about attsync.. :uglystupid2: Thanks.
-
Or change the ActiveX rotation property of the VLA Block Reference object - this will affect any attributes held by the block.