Cancel
Showing results for 
Search instead for 
Did you mean: 

Specify the revision of a property or freeze a propertie in a NX Cartouche

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hello everyone,

We have mapped a number of properties between NX and Teamcenter.
We have mapped the majority of these properties with NX Cartouche.

I will have a question:
Is it possible to specify the revision of an NX property ?
Or maybe to freeze some property of the NX Cartouche ?

Let me explain, on the Cartouche, the 4 framing properties in the image below should never change and match with the date of creation, the name of the creator, the date of approval and the name of the aprover of the Dataset NX of revision A.
 

2018-07-30_15h21_33.png

If I am in version C of the plan, this information will always have to display the information of revision A.

Is it possible to do that?

Thank you in advance for your help.

15 REPLIES

Re: Specify the revision of a property or freeze a propertie in a NX Cartouche

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hello,


I continue my research however I can not find a solution.


Would you have a clue?


Regards,

Re: Specify the revision of a property or freeze a propertie in a NX Cartouche

Phenom
Phenom

Good afternoon, I never used it, but I think you need to try /freezable

 

https://docs.plm.automation.siemens.com/tdoc/tc/11.2.3/help/#uid:c17a0004

 

P.S. I could not understand what Cartouche was, but then it seemed to understand that it's French and it's title block

Re: Specify the revision of a property or freeze a propertie in a NX Cartouche

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hello @ArthurRM,

 

Thank you for yout quick reply.

 

Yes, sorry, "Cartouche" is the french word to title block.

 

I tried to use /freezale but I have a weird behavior !!!2018-08-02_16h46_06.pngWhen I create a new 2D, I can see the owner and the creation date of the NX Template2018-08-02_16h48_17.png2018-08-02_16h48_54.pngAfetr saving the 2D

Here my simple mapping test :

 

{ Dataset type="UGMASTER"
DB_CR_USER : owning_user.user_id /master=iman /description="Created by User" /freezable
DB_CR_DATE : creation_date /master=iman /description="Date Created" /freezable
}

 

Do you know why properties disappear ?

 

Regards,

Re: Specify the revision of a property or freeze a propertie in a NX Cartouche

Phenom
Phenom

Good afternoon, unfortunately I never used /freezable and I did not find any examples of its use, but I think that you need to check the following:

1) Correct work mapping without /freezable (when saving you should get the value from Teamcenter).
2) Try to use /freezable with release status, for example TCM Released (assign the release status to ItemRevision and UGMASTER dataset) and see what will happen.

 

I think this can also be solved using customization, for example by creating runtime properties that will always get values ​​from revision A, but this will require programming and creating runtime properties in BMIDE

Re: Specify the revision of a property or freeze a propertie in a NX Cartouche

Phenom
Phenom

Аddition about the runtime properties: before using them, it is necessary to check whether mapping works with them, because this is not a persistant property

Re: Specify the revision of a property or freeze a propertie in a NX Cartouche

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hi @ArthurRM,

 

Thank you.

 

My mapping without the /freezable is working well.

 

I do not have the skills to do specific develpment like ITK o other.

 

I thought maybe if I create a coumpound property like that :

2018-08-03_09h42_36.png

 

And freeze the property when it's not null  like that:

 

2018-08-03_09h42_53.png

 

If I mapp this coumpound property, do you think it will works ?

 

Regards,

Re: Specify the revision of a property or freeze a propertie in a NX Cartouche

Phenom
Phenom

Yes, I thought about the compound property, but I did not know that there is a Modifable: Write Only If Null. I think that compound properties should work with mapping and be passed to NX

Re: Specify the revision of a property or freeze a propertie in a NX Cartouche

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

@ArthurRM,

 

It is not working :

 

I creates Item and dataset with Tohtem user

2018-08-03_12h11_16.png

 

I did a Revise with admin user

2018-08-03_12h11_40.png

 

My coumpound property "owning user dataset" had changed !!!

 

I'm not sure if that behavior is normal or not.

When we did a revise ,TC consider all properties empty and fill the value at the revise action ?  (if not why the "modifiable only when null value" it's not working ...

 

Do you have a clue ?

 

Best regards,

Re: Specify the revision of a property or freeze a propertie in a NX Cartouche

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

@ArthurRM,

 

additional information : I tried with Modifiale "Read" :

2018-08-03_13h48_54.png

 

And I have the same behavior :(  !

 

Regards,