Arc Entity Creation

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
fmonteiro
Posts: 6
Joined: 09 Apr 2014, 18:32

Arc Entity Creation

Post by fmonteiro » 17 Apr 2014, 13:24

i am using the EditorDemo and now i am trying to implement the Arc button.i did not understand about the value of Arc. For example line have value Line{3} and you assign the value of 2 to the addentity

Case CreatorType.Line
If (tmpVal <> 2) Then
Me.addEntity = 2
End If
Exit Select

but in my case i get the value of Arc{10} so i need to define the 9 to the add entity but the number is already assign to under the "cloud".so please tell me how i can implement the
Arc using the Mouse event.

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

Re: Arc Entity Creation

Post by support » 02 Jun 2014, 17:23

Hello,

CreatorType type value doesn't correlate with Me.addEntity field. So you can assign any free value (12, for instance) to Me.addEntity:

Code: Select all

Case CreatorType.Arc
If (tmpVal <> 12) Then
Me.addEntity = 12
End If
Exit Select

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

Post Reply