Layers and Reference Sets?
Layers and Reference Sets?
(OP)
Hello,
Is there a way to set up UG NX4 so that entities on certain layers are always a member of a certain reference set?
For instance, if my solid model and hardware is on layer 1 and construction curves are on layer 2, and a subtraction tool on layer 3, I want them to be assigned as follows:
Layer 1 is Reference set BODY
Layer 2 is not part of a reference set other than "ENTIRE PART"
Layer 3 is Reference set SUB_TOOL
Is this possible?
Thanks in advance for your help. I will have plenty of questions in the future.
Clayton
Is there a way to set up UG NX4 so that entities on certain layers are always a member of a certain reference set?
For instance, if my solid model and hardware is on layer 1 and construction curves are on layer 2, and a subtraction tool on layer 3, I want them to be assigned as follows:
Layer 1 is Reference set BODY
Layer 2 is not part of a reference set other than "ENTIRE PART"
Layer 3 is Reference set SUB_TOOL
Is this possible?
Thanks in advance for your help. I will have plenty of questions in the future.
Clayton





RE: Layers and Reference Sets?
As to your question, the answer is NO, not with respect to the normal interactive behavior of NX. The only way to do what you're suggesting would be via some sort of custom application written in KF or NX Open.
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
RE: Layers and Reference Sets?
It would just save a little time. Thanks for answering my question.
RE: Layers and Reference Sets?
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
RE: Layers and Reference Sets?
New parts will have these reference sets declared by default but not necessarily populated with any geometry. The first model created automatically becomes the content for the Model reference set, and the lightweight reference set is its faceted equivalent. The system should assume this for you. In order to correctly populate according to your layer assignments I would try using a macro to begin with, and see if you can't get that to work.
You could also do the same thing by creating named groups or by naming the solid bodies in order that they can be selected by name to be added into the reference sets.
Again you might want to run a macro to perform the updating task. It may even be a good idea to set up a system whereby you run such a macro whenever you save a part, but only if all parts on your system conform to this standard. That is unless you conform closely to what macro's expect to see then they will fail. To get around that you'd need a proper program using one of Grip, Journal, or NX Open programming add ons.
You can create as many reference sets as you like and add whatever you like to them. If you wanted to automate the process of adding components to reference sets take care about what you do. Firstly many people avoid doing that at all because of a problem you get managing the reference set of the reference set when you talk about three levels of an assembly tree. Secondly be sure that if you are using layers to pick your contents that people understand to add the components to that layer, or move them there fully, not just elements of their content, otherwise they may go unselected in the process of trying to add them to your reference set. For these reasons some sites choose to never create reference sets in assemblies and to define an assembly strictly as a file containing only components with no other geometry.
Best Regards
Hudson