Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Callout for attribut et annotation 1

Status
Not open for further replies.

damienfrance

Mechanical
Oct 28, 2004
11
Hi my name is damien and I'm french.
It's hard to me to write in english but i try

Iwant to create an attribut in a assembly part and use this attribut to change annotation in the drawing of other part.
Exemple attribute=projet name and each drawing have the projet name is wrote
I can do this with expression in the part assembly but i can only wrote number but i want write word

I'm sorry for the translation and thank you for the answer
 
Replies continue below

Recommended for you

Damien,

If drawing part file is an assembly which uses the (project) assembly as a component, then it is possible to reference a part attribute in the drawing file annotation(s).

In the Project assembly file define a part attribute title PROJECT and assign the desired value to the attribute. Make the poject assembly the displayed part. Use File-> Properties -> Attributes, Enter PROJECT for the name of the attribute and the project name for the value.

In the Drawing parts, in the drafting application, when creating the annotation (note or label) enter
<W&component_name@PROJECT>
where "component_name" is replaced with the name of the project assembly.

There is additional information in the on-line documentation in the drafting chapter in the appendix topic titled "Symbols and Text Control Characters".

Oh I see from your second posting that you are on NX 1.

The procedure is the same for establishing the part attribute in the project assembly.
But the process for creating the annotation is different.

In the drafting application, when creating the annotation (note or label) select the button called "Object Attribute" from below the text preview window in the annotation dialog.
Select the component either from the graphics window or from the Assembly Navigator. A dialog will then be displayed listing the part attribute(s) available in the selected component. Select "PROJECT". The annotation editor will display <W!987@PROJECT> and present an on screen preview for the placement of the annotation.

(Note: The example value 987 will be different for each object and it is not expected that this will be manually edited)

Regards, Joe
 
Hi

Thanks jpetach for your answer. But the matter is other. I try to say it

I have a assembly part and for example to other part in the assembly

Mold_assembly
|
|->1/2mold_mobil
|
|->1/2mold

and I want to define a word in Mold_assembly and this word change in the part 1/2mold_mobil and in the part 1/2 mold

Do you think it's possible?

Your answer change the word in Mold_assembly only isn't it?

Thanks for your futur answer

Damien

 
Damien,

I believe that you would need to do this progamatically.

Unlike Interpart expressions and interpart geometry (WAVE linking) that allows for peer-peer, child to parent, parent to child or to parts not in the assembly, there is no general linking mechanism for attributes. The only support is for references to components or objects in component parts.

The scenario in this thread and in your other post thread561-144476
does not account for the reuse of components by multiple (parent) assemblies. This presents a possibility that there is not a one-to-one relationship between the component and its parent.
And it is possible to load two assemblies into an NX session that use the same component.

Assembly_A
Sub_assy_1
Bolt
Nut
Sub_assy_2
Bolt

Assembly_B
Bolt
Sub_assy_2
Bolt

When the drawing for "bolt" attempts to use the value from the "parent" what is the correct answer, the value from Sub_assy_2 or Assembly_B or Sub_assy_1 ?

The automation would have to make that subjective decision of which parent assembly was the "correct" parent to use for the value.

The value used in component "Bolt" would be subject to "last update wins". And, if the given attribute that Bolt referenced in sub_assy_2 was expected to update from its parent then values could differ in Assembly_A and Assembly_B.

I am afraid that this response is not very helpful because it raises more questions than answers (but it is an interesing discussion).

Regards,
 
Jpetach

I thought it's possible because part list using a similar methode, it takes attribut information in other parts. I will try to translate completly your answer and I will seek other solution.

Thank you
 
Jpetach

I about understood your proposal
and I succeeded applying and that function perfectly. I have
finally the solution I had not thought of it. Thank you for uour reply.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor