• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    New Member
    Pavel_Vladov
    Posts: 2
    Registered: ‎05-02-2011
    Accepted Solution

    Hatch Background Color in a DXF file

    375 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

     

    Please use plain text.
    Contributor
    Posts: 17
    Registered: ‎04-10-2009

    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:

    Please use plain text.
    Contributor
    Posts: 17
    Registered: ‎04-10-2009

    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

    Please use plain text.
    New Member
    Pavel_Vladov
    Posts: 2
    Registered: ‎05-02-2011

    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

    Please use plain text.