×
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

nxopen .net selection

nxopen .net selection

nxopen .net selection

(OP)
Hello,

I'm using NX8, and i have a list tagged objects.
I would like to select these objects in the part without creating a dialog. I found the function addToTaggedObjectsSelectionList, I don't know if this function fulfills the criteria I'm looking for but the with this function is the parameter "selection handle" that I couldn't configure.

Does anyone know how to?

Thanks in advance.

Nabil.

RE: nxopen .net selection

If you already know the tags of the objects why do you need to add it to the selection list. If you would like to highlight them in the graphics window, cast them to DisplayableObject type and use the Highlight method.

The selection handle and addToTaggedObjectsSelectionList are used mainly when the objects need to be selected interactively with a dialog.

Suresh
www.technisites.com.au

RE: nxopen .net selection

(OP)
Hello ufsure,

first thank you for your answer.

actually, I know the objects and their tags but the thing is that I need the elements selected and not only highlighted.
Because I created a selection dialog with "selectTaggedObjects" so as I can select and de-select elements through this dialog and then save the results. And I would like that when the user open this dialog, the previously saved elements (the taggedObjects) are selected and the user can either de-select some elements or add new elements to the previous elements and then save the new selection list.
I hope that I could transmit the idea.

Thank you,
Nabil

RE: nxopen .net selection

Cowski has posted some code on bbs. Go to uganswer.ugs.com and search for "AddToSelectionList without UI styler".

Suresh
www.technisites.com.au

RE: nxopen .net selection

(OP)
Ok thank you very much for your help, it seems that in order to access this website I have to register with the product information but for this I'll have to ask for it in the company to get the information required for registration. Thanks.

RE: nxopen .net selection

The code (in a slightly different form) can also be found here. The journal will preselect all the items in a given reference set and allow the user to deselect existing items to remove and/or select new items to add. It does not use a tagged object selection list, but I assume the process would be similar.

www.nxjournaling.com

RE: nxopen .net selection

(OP)
Thank you very much Cowski, your post was very helpful.

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