.NET

Reply
New Member
Pavel_Vladov
Posts: 2
Registered: ‎05-02-2011
Message 1 of 4 (549 Views)
Accepted Solution

Hatch Background Color in a DXF file

549 Views, 3 Replies
05-02-2011 02:12 AM

Hi, I'm developing a C# project that exports drawings to DXF. I have almost finished it, but I cannot figure out how to set the background color of a Hatch entity. As I see in some sample DXF files, the background color looks like:

 

1001
HATCHBACKGROUNDCOLOR
1071
-1023410174

 

So it's some kind of extended data and the number "-1023410174" corresponds to yellow background color. But how is it calculated? I'll be very gratefuul if someone can help me with this :smileyhappy:

 

Best Regards,
Pavel

 

Contributor
mendesva
Posts: 19
Registered: ‎04-10-2009
Message 2 of 4 (530 Views)

Re: Hatch Background Color in a DXF file

05-02-2011 04:01 AM in reply to: Pavel_Vladov

Have a look at this topic.

Hope it will help.

:smileyhappy:

Contributor
mendesva
Posts: 19
Registered: ‎04-10-2009
Message 3 of 4 (526 Views)

Re: Hatch Background Color in a DXF file

05-02-2011 04:22 AM in reply to: Pavel_Vladov

Sorry, forgot to paste the link... :smileysad:

http://www.theswamp.org/index.php?topic=35274.0

New Member
Pavel_Vladov
Posts: 2
Registered: ‎05-02-2011
Message 4 of 4 (520 Views)

Re: Hatch Background Color in a DXF file

05-02-2011 05:03 AM in reply to: mendesva

That's great! Thank you very much, mendesva. I've got it now and my project is finally completed :smileyhappy:

Best Regards,
Pavel

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 or visit the Installation and Licensing Forum to get help installing your software.