Hatch Background Color in a DXF file

Hatch Background Color in a DXF file

Anonymous
Not applicable
2,122 Views
3 Replies
Message 1 of 4

Hatch Background Color in a DXF file

Anonymous
Not applicable

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

 

Accepted solutions (1)
2,123 Views
3 Replies
Replies (3)
Message 2 of 4

mendesva
Enthusiast
Enthusiast

Have a look at this topic.

Hope it will help.

Smiley Happy

0 Likes
Message 3 of 4

mendesva
Enthusiast
Enthusiast
Accepted solution

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

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

Message 4 of 4

Anonymous
Not applicable

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

Best Regards,
Pavel

0 Likes