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!

Layers and Reference Sets?

Status
Not open for further replies.

kl8ton

Mechanical
Dec 26, 2007
12
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
 
Replies continue below

Recommended for you

First I would have to ask, WHY? Reference Sets ONLY have value when you are adding a component to an Assembly. They play NO part whatsoever INSIDE the part file where they are created.

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
 
I work in assemblies all the time. Each detail in the assembly is a .prt file. It would be nice to not have to make a new part file, make a ref set called body, click on all the items in that file that I want to show up in the assembly when using the body reference set.

It would just save a little time. Thanks for answering my question.
 
In order to maintain the reference set contents for Body assuming it is your main solid reference set then the system will maintain that for you with a couple of simple declarations. Under the Assemblies>Site Standards portion of your customer defaults you can set a reference set name for the Model and Lightweight reference sets. There are also a couple of extras that you can define. Once declared and populated the system will maintain them for you by keeping changes to the faceted representations up to date.

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

Part and Inventory Search

Sponsor