Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Deselecting Annotations in Journal

Status
Not open for further replies.

Bleinweb

Computer
Sep 21, 2008
3
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
 
Replies continue below

Recommended for you

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
 
Dang! I forgot to mention I'm using NX 5.0

-Ben
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor