Select and Dragging an entity
Moderators: SDS, support, admin
Select and Dragging an entity
1) Is there any event triggered when an entity is selected? how to trigger it?
2) dragenter / dragover etc event of picturebox are not working. i did same as mousedown event for picturebox. how to solve it?
3) which methods are there related to dragging an entity programmatically?
2) dragenter / dragover etc event of picturebox are not working. i did same as mousedown event for picturebox. how to solve it?
3) which methods are there related to dragging an entity programmatically?
Re: Select and Dragging an entity
Hello.
Visual entity selection realized on MouseDown event, there is no events on selection. The data to be dragged should be an instance of the String, Bitmap, or MetaFile class, or an object that implements the ISerializable or IDataObject interfaces. CADEntity is neither of these. Dragging is visual functionality by its meaning, there is no any methods to do this programmatically.
Alexander.
Visual entity selection realized on MouseDown event, there is no events on selection. The data to be dragged should be an instance of the String, Bitmap, or MetaFile class, or an object that implements the ISerializable or IDataObject interfaces. CADEntity is neither of these. Dragging is visual functionality by its meaning, there is no any methods to do this programmatically.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Select and Dragging an entity
Thanks!
CadEditorControl class has public events related to dragging.
When do they trigger?
I can't trigger them when i drag a line / point / circle etc.
CadEditorControl class has public events related to dragging.
When do they trigger?
I can't trigger them when i drag a line / point / circle etc.
Re: Select and Dragging an entity
Hello.
The data to be dragged should be an instance of the String, Bitmap, or MetaFile class, or an object that implements the ISerializable or IDataObject interfaces. Events will be triggered when drag&drop such objects, but CADEntity and its descendants not implement these interfaces.
Alexander.
The data to be dragged should be an instance of the String, Bitmap, or MetaFile class, or an object that implements the ISerializable or IDataObject interfaces. Events will be triggered when drag&drop such objects, but CADEntity and its descendants not implement these interfaces.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Select and Dragging an entity
I can't understand why cadimport.net not supporting such a basic feature.
If i can draw.. simply i should be able to drag that.
but i need to trigger an event when user drags an entity.
it is very frustrating not seeing such simple tool in cadimport.net..
can u really help?
If i can draw.. simply i should be able to drag that.
but i need to trigger an event when user drags an entity.
it is very frustrating not seeing such simple tool in cadimport.net..
can u really help?
Re: Select and Dragging an entity
Hello Khyati.
Unfortunately current CAD Import .NET version doesn't allow entities drag&drop between applications. The feature wasn't realized in library. We will try to add such functionality in the future.
Alexander.
Unfortunately current CAD Import .NET version doesn't allow entities drag&drop between applications. The feature wasn't realized in library. We will try to add such functionality in the future.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Select and Dragging an entity
1)Well, would you provide it in professional version?
2) My display point mode is square with cross display. if i select a point, its display becomes dashed. what is the reason?
3) sometimes, on selection, line display also becomes dashed line instead of a continuous line. why?
4) point dragging is bit difficult than a line. Point size is 15, suffecient to select. But it can't dragged so easily. What can be the reason?
2) My display point mode is square with cross display. if i select a point, its display becomes dashed. what is the reason?
3) sometimes, on selection, line display also becomes dashed line instead of a continuous line. why?
4) point dragging is bit difficult than a line. Point size is 15, suffecient to select. But it can't dragged so easily. What can be the reason?
Re: Select and Dragging an entity
Hello.
Current version of CAD Import .NET doesn't provide entities drag&drop functionality between applications. We can't inform you about availability in Professional and Standard versions while feature not implemented.
Any selected entity become dashed on selection. This is standard CAD software feature, you can check it with AutoCAD.
Please specify that did you meant by "Point can't dragged so easily"?
Alexander.
Current version of CAD Import .NET doesn't provide entities drag&drop functionality between applications. We can't inform you about availability in Professional and Standard versions while feature not implemented.
Any selected entity become dashed on selection. This is standard CAD software feature, you can check it with AutoCAD.
Please specify that did you meant by "Point can't dragged so easily"?
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Select and Dragging an entity
Thanks!
how can i get co-ordinates of start and end points of a line while the line is being dragged?
When i drag a line, i want its adjacent lines and points also to be dragged with it.
How to do it?
how can i get co-ordinates of start and end points of a line while the line is being dragged?
When i drag a line, i want its adjacent lines and points also to be dragged with it.
How to do it?
Re: Select and Dragging an entity
Hello.
CAD Import .NET demo applications doesn't include method for getting coordinates of start and end points of a line while being dragged. You can try add own code in mouse_move event handler.
Generally selected entities can be dragged. For example you can add some adjacent entities to selected.
Alexander.
CAD Import .NET demo applications doesn't include method for getting coordinates of start and end points of a line while being dragged. You can try add own code in mouse_move event handler.
Generally selected entities can be dragged. For example you can add some adjacent entities to selected.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Select and Dragging an entity
There are many simple and basic points, which are not supported by CADImport.net.
How a developer can go ahead with your program? this is my start of project. yet, i've to complete many complex tasks, and cadimport is not supporting at such initial level..!!!
Well,
is there any method / procedure to group / join some entities? and then again ungroup them?
How a developer can go ahead with your program? this is my start of project. yet, i've to complete many complex tasks, and cadimport is not supporting at such initial level..!!!
Well,
is there any method / procedure to group / join some entities? and then again ungroup them?
Re: Select and Dragging an entity
CAD Import .NET is developer library (not end-user application) that provides access to entities structure and basic methods to handle entities data. A library can't contain methods for each possible task required by end-user. As a developer you must create required methods to implement some functionality in your application.
CADEntityCollection class can be used to group/ungroup entities. Use add and remove methods.
Alexander.
CADEntityCollection class can be used to group/ungroup entities. Use add and remove methods.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support