Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Note Declaration orientation not working 1

Status
Not open for further replies.

Twullf

Mechanical
Jan 24, 2012
196
I am trying to use the CreateNote Declaration:

Public Sub CreateNote ( _
num_lines_text As Integer, _
<OutAttribute> text_string As String(), _
origin_3d As Double(), _
orientation As Integer, _
<OutAttribute> ByRef note_tag As Tag _
)


My code looks like this?

Code:
ufs.Drf.CreateNote( 1, LamNote, ptVertNote, 90, theNote )

but the note is coming in at 0 degrees not ninety. I can not seem to find the problem.

Any help would be incredibly useful. Thanks.
 
Replies continue below

Recommended for you

For that particular function, you can pass in 0 (zero) to the orientation parameter for a horizontal note, or 1 for a vertical note. Since 90 is out of scope, it is probably just ignoring your value and using a default value of 0.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor