Markers

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
Sergi
Posts: 10
Joined: 09 Jan 2012, 13:00

Markers

Post by Sergi » 18 Apr 2012, 14:03

Hello,

- How can I show/hide markers ?

- How can I add new markers ?

Thanks in Advance!

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

Re: Markers

Post by support » 18 Apr 2012, 17:30

Hello Sergi.
Markers is the part of CAD Import .NET Professional functionality. Markers used to mark out selected entities on drawing and not provided for another tasks.

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

Sergi
Posts: 10
Joined: 09 Jan 2012, 13:00

Re: Markers

Post by Sergi » 18 Apr 2012, 18:04

Hello Alexander,

so, how can I avoid users to move vertices ?

Thanks.

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

Re: Markers

Post by support » 18 Apr 2012, 18:47

Setting CADImage.SelectionMode value to SelectionEntityMode.Disabled will result in disabling selecting and visual editing by users. However markers will be present in Professional version only. Obtaining the Standard license abandons markers automatically.

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

Sergi
Posts: 10
Joined: 09 Jan 2012, 13:00

Re: Markers

Post by Sergi » 18 Apr 2012, 19:11

Hello Alexander,

thanks for your quick answers !

SelectionEntityMode.Disabled don't allow moving the entities. I need to move them, but not to modify their structure ...

What's the difference between Standard and Professional License ?

Thanks.

Sergi
Posts: 10
Joined: 09 Jan 2012, 13:00

Re: Markers

Post by Sergi » 19 Apr 2012, 10:27

Hello Alexander,

if i disable this line :

cadImage.SetNewEntityMarkerPos(p2.X - this.cadImage.CurrentMarker.Point.X, p2.Y - this.cadImage.CurrentMarker.Point.Y, p1.Z);

in public void SetNewMarkerPosition()

then I can't move vertices.

Regards.

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

Re: Markers

Post by support » 19 Apr 2012, 15:08

Hello Sergi.
In this case SetNewMarkerPosition call isn't necessary. The Standard license provides import, edit (programmatically) and export to raster formats functionality. The Professional license allows export to vector formats and visual entities creation/editing additionally.

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

Post Reply