How to add a note in a view?

How to add a note in a view?

Stakin
Collaborator Collaborator
350 Views
2 Replies
Message 1 of 3

How to add a note in a view?

Stakin
Collaborator
Collaborator

Hi,everyone

Is there a way to add a note in a view?

The note just like a general note, no leader,no underline,but  it can move with the view?

 

Hope for your reply,thanks

 

0 Likes
351 Views
2 Replies
Replies (2)
Message 2 of 3

dutt.thakar
Collaborator
Collaborator

@Stakin If you are looking something without iLogic, I really found this a great solution.

 

Please check below video by @Neil_Cross  on his TFI youtube channel.

 

https://www.youtube.com/watch?v=kVCKuPsu5mg&list=PLMhqIwDF76hLYCnZpYNPf0EZd9QSdQaO8&index=80

 

Regards,

Dutt Thakar

If this answer has solved your problem please ACCEPT SOLUTION and hit like if you found it helpful..!


Regards,
Dutt Thakar
LinkedIn
0 Likes
Message 3 of 3

JhoelForshav
Mentor
Mentor

Hi @Stakin 

One way to do this would be to add a "Leader Text" attached to the view and then remove the leader. My preferred way though is to add a sketch to the view and place the text in the sketch. See example below:

Dim oView As DrawingView = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kDrawingViewFilter, "Pick view")
Dim oText As String = InputBox("Note text:", "text", "Some text...")
Dim oSketch As DrawingSketch = oView.Sketches.Add()
Dim oPoint As Point2d = oSketch.SheetToSketchSpace(ThisApplication.TransientGeometry.CreatePoint2d _
(oView.Left + oView.Width / 2, oView.Top - oView.Height - 0.5))
oSketch.Edit
Dim oNote As Inventor.TextBox = oSketch.TextBoxes.AddFitted(oPoint, oText)
oNote.HorizontalJustification = HorizontalTextAlignmentEnum.kAlignTextCenter
oNote.VerticalJustification = VerticalTextAlignmentEnum.kAlignTextUpper
oSketch.ExitEdit

In this example i'm placing the text centered 0.5 cm below the view.

0 Likes