rog1n Posted February 20, 2020 Posted February 20, 2020 Hello, is possible to get the color of a polyline inside a dynamic block? I want to click at the end of a polyline inside a block and draw a polyline with the same color like the example below. example.dwg Quote
ronjonp Posted February 20, 2020 Posted February 20, 2020 Sure: (if (setq e (car (nentsel))) (alert (itoa (cdr (assoc 62 (entget e))))) ) 1 Quote
rog1n Posted February 20, 2020 Author Posted February 20, 2020 Once again you helped me, thank you @ronjonp I didn't know about nentsel. Quote
ronjonp Posted February 20, 2020 Posted February 20, 2020 1 hour ago, rog1n said: Once again you helped me, thank you @ronjonp I didn't know about nentsel. Glad to help! Quote
BIGAL Posted February 21, 2020 Posted February 21, 2020 I use nentsel to pick an attribute you want to change, you can get properties like att tagname, textstring, a little extra code and can get block name. Handy for global change an attribute in multiple blocks. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.