How do I edit entities directly?
Moderators: SDS, support, admin
How do I edit entities directly?
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
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
Re: How do I edit entities directly?
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.
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
Chat support on Skype: cadsofttools.support