vivekgrs Posted February 2, 2010 Share 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 Link to comment Share on other sites More sharing options...
MSasu Posted February 3, 2010 Share 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 Link to comment Share on other sites More sharing options...
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.