Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

ATTRIBUTES

Status
Not open for further replies.

JBIM

Industrial
Nov 22, 2006
89
PT
Hi, I have a question regarding attributes:

when we are in top assembly we can give to sub-assembly files attributes , but the attributes are only shown in top assembly: I mean attributes are not presente in sub-assembly files seperatly.
Is there any way to order unigraphics to distribute attributes from top assembly to sub assembly files?
 
Replies continue below

Recommended for you

Yes, JBIM ,

There is a way of distributing part attrs from top to bottom in assy tree. I would use UG programming tools (GRIP or Ufunc/API calls) ...

UG SoftStore , the automation codes provider thru web , has a public forum page that you can post such problems which are not specific and of a general usage nature. The solution , actually the code , is provided for free in the download section of the web page.

Till this time , this opportunity has been bypassed by the visitors, which might be just because we did not emphasize this feature during the promotions. For this year , our target is to supply at least one utility per month to the UG users community for free.

our web page :

posting the problem and acquiring code is via Forum pages

downloading free software:

Note that in downloading section we have small number of utilities... as you, the UG users, post some orders for the new utilities, you will have a chance to find more and more utilities in there for daily usage ....

regards ,

Karl Oppenheimer

Moderator
CAD/CAM SoftStore
 
Attributes, like everything else, inherit up the tree, not down. However, you can 'assign' an attribute to the detail (master) part from the context of the assembly. First make the part of interst the 'Work Part' (you still leave the top-level assembly as the displayed part) and then using 'Quick Pick' or filtering, select the component, and then while 'hovering' over the highlighted component, press MB3 and select the 'Properties' option and then the 'Attributes' tab. Now you will get a list of all of the Object Attributes assigned to the component and the Part Attributes assigned to the detail (master) part (the Part Attributes will have an icon in front of the names, the Object Attributes will not). So is you wish to 'add' a new Part Attribute to the detail (master) part, type in a name and value and then toggle 'ON' the 'Apply to Component Part' option before hitting 'Apply'. If what you wish to do is 'copy' an Object Attribute assigned to the Component at the Assembly level down to the detail (master) part, just select the Object Attribute and then toggle 'ON' the 'Apply to Component Part' option and hit 'Apply'.

I hope this helps.


John R. Baker, P.E.
Product 'Evangelist'
NX Product Line
UGS Corp
Cypress, CA
 
Thanks,ugsoft and JohnRBaker:
I went to ugsoftware to do the download of the code but I don´t know which one it is?
Could you help me ?
And once I have the code,how do I make it work ?
Thanks again.

 
JBIM ,

The code you are looking for , has not been developed yet. The process for requesting a free utility code should be as follows :

- post your request in the forum page :

- we will analyze the request, if it is a general usage utility then we will put that request into the list of codes that will be developed by our stuff whoever will have some spare time. The development time is approx. 1 month.

- when the code is ready, it will be announced in the same place ,i.e. in the Forum page

- then you can download the code and the documentation from download page :


How to run these codes ? Please refer to :

to check if you have required license , if so you can run our products by Control+U…
and then selecting the related code ( *.dll)

regards ,

Karl
 
JBIM,

The utilities , for propagating attributes like Project_Name , number , quantity from assembly to components , are ready !

There are two utilities which should be run together :

In Download Section > Utilities > NX4
1 - report all part attributes
2 - import part attribs to all components

What to do :

First at assembly level use "report all part attributes" dll file and obtain the attributes of the assy in the listing file , save this file with any name as a text file (*.txt)

Second step is to propagate these attributes to assy components , for this use "import part attribs to all components" and select the attributes text file that you've just saved ...

Regards ,

CAD/CAM SoftStore

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top