Page 1 of 1

Arc Entity Creation

Posted: 17 Apr 2014, 13:24
by fmonteiro
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.

Re: Arc Entity Creation

Posted: 02 Jun 2014, 17:23
by support
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.