visualization order of CADentities

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
lulu
Posts: 25
Joined: 12 Nov 2009, 19:55

visualization order of CADentities

Post by lulu » 14 Jul 2010, 19:30

Hi,

I need to establish the order of visualization of the entities inside my AutoCAD drawing. If I impose the order of objects visualization directly from AutoCAD, CADImport visualize them in the order in which they have been drawn. How can I do to plan a different order without having to redraw all?

Thanks,
lulu.

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: visualization order of CADentities

Post by support » 15 Jul 2010, 11:27

Hello.
When you draw an entity in AutoCAD, it gets an unique identifier - the handle. Entities will be redrawn by handles value after loading file. CAD Import .NET stores entities from a loaded file into CADImage.Converter.Entities and CADImage.Layouts.Entities entities collections. The entities will be drawn based on index in collection. To receive necessary entities placement you need change entities order within collection and redraw.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply