.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hatch Background Color in a DXF file

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Pavel_Vladov
1343 Views, 3 Replies

Hatch Background Color in a DXF file

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 🙂

 

Best Regards,
Pavel

 

3 REPLIES 3
Message 2 of 4
mendesva
in reply to: Pavel_Vladov

Have a look at this topic.

Hope it will help.

Smiley Happy

Message 3 of 4
mendesva
in reply to: Pavel_Vladov

Sorry, forgot to paste the link... Smiley Sad

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

Message 4 of 4
Pavel_Vladov
in reply to: mendesva

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

Best Regards,
Pavel

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost