libredwg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libredwg] Fwd: Sample functions


From: gagan
Subject: [libredwg] Fwd: Sample functions
Date: Wed, 19 Jun 2013 10:33:53 +0530

---------- Forwarded message ----------
From: gagan <address@hidden>
Date: Sun, Jun 16, 2013 at 9:47 PM
Subject: Re: [libredwg] Sample functions
To: Till Heuschmann <address@hidden>


On 6/14/13, Till Heuschmann <address@hidden> wrote:

> Iterating over the dwg->object[] array and counting/collecting entities
> ignores the block relation and leads to parentless data.
> The testSVG example that comes with libredwg does it in a better way:
>
> function output_SVG()
> The first element in the dwg->object[] is always the block control
> (other name for block table). Using this object all blocks can be
> accessed and with the special model space block all entities of the
> drawing can be found.

Hi till,
Thanks for correcting me. I studied the testSVG program, So now should
I count number according to blocks ? Moreover should extracting
entities be based on blocks ? Should I count model_space and
*paper_space in blocks also ?

--
Thanks
Gaganjyot


-- 
Thanks
Gaganjyot



reply via email to

[Prev in Thread] Current Thread [Next in Thread]