×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Note Declaration orientation not working

Note Declaration orientation not working

Note Declaration orientation not working

(OP)
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.

RE: Note Declaration orientation not working

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.

 

www.nxjournaling.com

RE: Note Declaration orientation not working

(OP)
So simple, thanks!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources