vivekgrs Posted February 2, 2010 Posted February 2, 2010 hi everybody, Iam working in autocad 2004 vba. I had tried to change the color of the block after inserted in the drawing thru vba. but I cant. can anyone help me to solve this issue. Thanks in advance Vivek Quote
MSasu Posted February 3, 2010 Posted February 3, 2010 Did you tried this approach? OldColor = ThisDrawing.GetVariable("CECOLOR") ThisDrawing.SetVariable "CECOLOR", MyColor 'add your block insertion code here ThisDrawing.SetVariable "CECOLOR", OldColor Regards, 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.