Distinguished Contributor
143 Posts
3 Kudos
Registered: ‎09-30-2008
Post 11 of 12

Re: Overuled blocks appear darker.

01-24-2013 01:01 AM in reply to: Balaji_Ram
Hi there, Yes we still have the issue. The block shows OK in 2010, but not in any other version. Regards, Martin.
My name is Martin.. :smileyvery-happy:
ADN Support Specialist
761 Posts
100 Kudos
Registered: ‎03-21-2011
Post 12 of 12

Re: Overuled blocks appear darker.

01-24-2013 09:06 AM in reply to: quigs

Hello Martin,


I could reproduce the behavior in AutoCAD 2013.


While the color was darker when the Visual Style was "2d Wireframe", the color seemed proper yellow with Visual Style set to any other style, for ex : Realistic.


I am not too sure about the reason for this difference but I have come across such differences in the way the graphics is rendered with visual styles. This could be due to the different graphics engine used by AutoCAD for 2d and 3d graphics.


Here is a workaround that you can try and which worked for me :


Instead of "wd.Geometry.Draw(BlkRec)", you can try replacing it with "BlkRec.Drawable.WorldDraw(wd)"


Hope this helps.





Developer Technical Services
Autodesk Developer Network

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post