Cancel
Showing results for 
Search instead for 
Did you mean: 

Assembly attribute in the title block

Experimenter
Experimenter

Is there an attribute I can reference or other method to insert the parent name in the title block of a detail part?

e.g. In the title block of a detail part one might have....

 

Part Name:  pname

Scale:  1:4

Assembly: assyname

 

where pname is a component of assyname.

I understand this could cause problems where pname is used in multiple places, but for my purposes the parts are highly specific and are only ever used in one assembly.

3 REPLIES

Re: Assembly attribute in the title block

Gears Honored Contributor Gears Honored Contributor
Gears Honored Contributor

Information is saved in the assembly file about what components it contains, but no information is saved in the part file about what assembly it is used in.

Re: Assembly attribute in the title block

Experimenter
Experimenter

Thanks.  I was hoping there was a way to reference or link an attribute from the parent part.

Re: Assembly attribute in the title block

Siemens Phenom Siemens Phenom
Siemens Phenom

In the assembly file (assy.prt) create the string expression:
AssyName=ug_askcurrentworkpart() 

 

In the component file create the string interpart expression:
ParentAssy="assy"::AssyName

 

Use the "Category: Relationships" option under the Symbols section of the Note editor to use the interpart expression in your title block.

 

Regards, Ben