How do I edit entities directly?

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
daverzx1
Posts: 1
Joined: 15 Apr 2011, 00:50

How do I edit entities directly?

Post by daverzx1 » 15 Apr 2011, 23:33

Hi there:
I am currently evaulating CADImport.NET to see if it meets my needs. I would like to be able to animate a CADImage. I suppose that what am looking for is a way to access the entities within the active CAD image and change some of the co-ords of points and lines. I want to do this not by clicking them with the mouse on a windows form, but writing a method that will directly edit the values of certain entities.

If anyone knows how to do this please let me know.

I will be working on this problem over the next few weeks. If successful I will be able to use CADImport.NET for this project.


- David McLuhan DSTAR Technologies

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

Re: How do I edit entities directly?

Post by support » 18 Apr 2011, 10:58

Hello David.
CAD Import .NET provides access to entities of any drawing layout: CADImage.Layouts.Entities[j], where i, j -indexes of layout and entity in collections. Entity can be also accessed using unique identifier (handle). Entities from current (visualized) layout can be accessed via converter: CADImage.Converter.Entities[j]. Just change required entity property. To visualize the changes call invalidate method to used control.

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

Post Reply