Jump to content

annotate one point


maksolino

Recommended Posts

Hello

I'm looking for a rhino script similar of command

_AnnotateCrvEndPoints

but only for annotate one single position (points or vertex ) in my rhinomodel.

Thanks

Link to comment
Share on other sites

- whith the mouse

in the same way like inserting a point whith

command _Point (snap on)

P.s. I'd like to have the possibility to

select the TEXT HEIGHT.

Link to comment
Share on other sites

This routine is based on what I could find out about _AnnotateCrvEndPoints. It used Annotation Dots which, unfortunately, don't have any resizing capabilities.

 

Option Explicit

Sub Dot2Point
' Declare variables
Dim strLocation
Dim strDot
Dim arrPoint
 With Rhino
   Do
     arrPoint = .GetPoint("Select point at which to set dot: ")
     If IsArray (arrPoint) Then
         strLocation = .Pt2Str(arrPoint, 2)   
         strDot = .AddTextDot (strLocation, arrPoint)
     Else
       Exit Sub
     End If
   Loop
 End With
End Sub
       
Dot2Point

Link to comment
Share on other sites

  • 2 years later...

Hello

it is possible to modify this script

just for annotate the lenght of the curve

(annotation in the mid point of the curve)

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...