.NET

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

Hatch Background Color in a DXF file

565 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

 

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

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

Contributor
mendesva
Posts: 19
Registered: ‎04-10-2009
Message 2 of 4 (546 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 (542 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 (536 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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.