.NET

Reply
Distinguished Contributor
quigs
Posts: 143
Registered: ‎09-30-2008
Message 11 of 12 (67 Views)

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
Balaji_Ram
Posts: 663
Registered: ‎03-21-2011
Message 12 of 12 (59 Views)

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.

 

 

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community