cancel
Showing results for 
Search instead for 
Did you mean: 

NX A4 Draft template and cusom teamcenter properties.

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Hey,

What is right procedure to add custom proprieties to NX Draft Template?

In Solid Edge is simple. I mapped customs properties to part dataset or assembly(cusprop) and then i insert it in draft template (offline) just by adding |R1 at the and. That's it.

In NX this seams not working.

 

For now I want to show on A4 draft template (master)(Drawing_A4_Size2D_template_A.prt)

2017-09-09_14h06_16.png

custom property named "Wykonczenie".

{ Dataset type="UGMASTER"
{ Item type="Item"
"Wykonczenie" : ItemRevision.GRM(IMAN_master_form, ItemRevision Master).d3Wykonczenie /master=cad    
}

 

nothing fancy here.

 

Mapped property is showing in nx properties pane.

2017-09-09_14h12_58.png

Now when I want to add it to template (by uploading offline template to Teamcenter and edit in NX):

1. Open template.

2. Add Tabular note.

3. Import--> Attribute

 

and here I have "Wykonczenie" property:

2017-09-09_14h31_01.png

 

but this is only for current part(draft).

 

When I add a real model on it:

2017-09-09_14h33_55.png

 

I can find Wykonczenie, witch is a link to source model on draft. So far so goodSmiley Happy

 

If we check the reference we can see:

2017-09-09_14h36_33.png

 

Ok.

Now Savedraft --> delete model form draft -- >save draft --> extract .prt file form dataset where new template is sitting and upload it to origin template item revision:

 

 

2017-09-09_14h39_20.png

 

 

Done....

 When I create a new model part and then create a new draft for it based on moded draft template, this "wykonczenie" is not populating at all....

Any clues?

 

2 REPLIES

Re: NX A4 Draft template and cusom teamcenter properties.

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
You don't have any clear issues that I can see from the provided info. Try this...
{ Item type="Item"
"Wykonczenie" : ItemRevision.GRM(IMAN_master_form).d3Wykonczenie /master=both /allow_null_value /description="Wykonczenie"
}

/allow_null_value allows null values to be passed.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: NX A4 Draft template and cusom teamcenter properties.

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Nothing changed...

 

Mapping is working form TC<-->NX. This part is fine.

I found TC_NX_Database_Attributes_For_Load preference and now I am fighting with this.

https://docs.plm.automation.siemens.com/tdoc/nx/11.0.2/nx_help#uid:xid1128417:index_drafting:xid1108...