×
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

Deselecting Annotations in Journal

Deselecting Annotations in Journal

Deselecting Annotations in Journal

(OP)
Hello, new to the forums here.

I'm writing a journal function and it works on an annotation that I have selected in drafting mode.  I would like to be able to deselect the annotation automatically at the end of the journal code.  I cannot find this function for the life of me!

Is there anybody here familiar with Journal that knows how to do this?

-Ben

RE: Deselecting Annotations in Journal

(OP)
Sorry, I realized I may have been a little vague in my first post.  Here's a slightly better explination.

1. User selects an Annotation on a draft.
2. User runs my Journal function
3. Journal function works, but Annotation is still highlighted.

This is a confusing behavior because normally when you perform an operation inside of NX, it will then deselct the object.

ex.
1. Select Annotation.
2. Right-Click and edit the Properties
3. Add Properties
4. Click OK.  The Annotation is no longer highlighted.

I hope that clears up what I'm trying to do.

-Ben

RE: Deselecting Annotations in Journal

(OP)
Dang!  I forgot to mention I'm using NX 5.0

-Ben

RE: Deselecting Annotations in Journal

if you are calling the ui.GetUI for your selection
you can set the following:

Dim keepHighlighted As Boolean = False

 

Mark Benson
Aerodynamic Model Designer

To a Designer, the glass was right on CAD.

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