[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libredwg] how to find the layer containing a given Dwg_Object
From: |
Dave Bender |
Subject: |
Re: [libredwg] how to find the layer containing a given Dwg_Object |
Date: |
Sun, 7 Dec 2014 12:42:00 -0500 |
Thanks Felipe, I had eventually determined I had a backwards
understanding and fixed it.
For the record
Dwg_Object* o;
o->tio.entity->layer
was what I wanted.
On Sun, Dec 7, 2014 at 12:18 PM, Felipe Castro <address@hidden> wrote:
> Hi Dave,
>
> If I understood well, you try to find a layer for a non-graphical object
> ("pure" object). Only "entities" objects should have a layer, because they
> are shown on the screen/paper, ok?
>
>
>
> 2014-11-17 21:21 GMT-02:00 Dave Bender <address@hidden>:
>
>> Hi,
>> Given a Dwg_Object, say an LWPLINE, how do I determine which layer
>> contains it?
>>
>> -Dave
>>
>