Relative coordinates conversion
Posted: 11 Dec 2019, 11:11
Hi all,
I search for Line and Text entities, recursive for Blocks, MText (Line inside Block, Text inside MText).
When I add this entity (may be children or not) to own collection, how can I get information about Parent of entity (Block,MText) and recognize if entity was placed in root of tree or is children (descendant) of another entity.
How to convert coordinates of all entities in my collection (some have coordinates relative to parent) to absolute coordinates (as if they were orphans without parents) ?
Is there some function, converter or property I not notice?
Help me please better understand how are entities nested and which of them can contains children
Vladimir
I search for Line and Text entities, recursive for Blocks, MText (Line inside Block, Text inside MText).
When I add this entity (may be children or not) to own collection, how can I get information about Parent of entity (Block,MText) and recognize if entity was placed in root of tree or is children (descendant) of another entity.
How to convert coordinates of all entities in my collection (some have coordinates relative to parent) to absolute coordinates (as if they were orphans without parents) ?
Is there some function, converter or property I not notice?
Help me please better understand how are entities nested and which of them can contains children
Vladimir