NX Journal Selection Priority
NX Journal Selection Priority
(OP)
I'm creating a journal using basic selection, and using this as a guide. I'm running into a sort of strange issue.
Using normal selection in NX, with no selection filters, the priority starts with components. I click on a body in an assembly, and the component is what's selected. But when I run the journal using the same selection technique from the tutorial, the selection priority starts with the solid body within the desired component. Now I may or may not have write access to that, and even if I did, I wouldn't want to dig into every component in the selection So is there a way of changing the selection priority within a journal to grab components as a whole and not trying to grab the child body?
Using normal selection in NX, with no selection filters, the priority starts with components. I click on a body in an assembly, and the component is what's selected. But when I run the journal using the same selection technique from the tutorial, the selection priority starts with the solid body within the desired component. Now I may or may not have write access to that, and even if I did, I wouldn't want to dig into every component in the selection So is there a way of changing the selection priority within a journal to grab components as a whole and not trying to grab the child body?
RE: NX Journal Selection Priority
If you want to set the selection to automatically filter for components, you should use the version of the select object function that allows you to set up a "mask triple".
http://nxjournaling.com/?q=content/using-mask-trip...
For a component the mask triple values are:
CODE
www.nxjournaling.com
RE: NX Journal Selection Priority
RE: NX Journal Selection Priority
CODE
However, when run in an assembly, selection priority will kick in and it is up to the user to make sure they are selecting a component instead of a body (or vice versa).
www.nxjournaling.com
RE: NX Journal Selection Priority
Is there a standard NX default that has to be set, or does the SelectObject method in NXOpen not inherit selection priority from the current session?
RE: NX Journal Selection Priority
RE: NX Journal Selection Priority
RE: NX Journal Selection Priority
For example: if your selection filter is set to none and the selection priority is set to edges, as you move the cursor over the model edges within the selection ball will highlight. If there are no edges within the selection ball, some other object type will highlight. If you pull up the selection list, any available edges will be at the top of the list; other object types will be lower in the list.
www.nxjournaling.com
RE: NX Journal Selection Priority
RE: NX Journal Selection Priority
You may be able to do some custom filtering of your own...
The code below filters the selection for solid bodies. If the chosen body is an occurrence, the owning component is returned rather than the body itself.
CODE
www.nxjournaling.com