I want to map date of object (e.g. last modified date) from TC into CATIA drawing. Mapping - ok, Attribute link in drawing - ok. The problem is that the date is shown in format YEAR MONTH DAY HOUR:MINUTEECONDS (e.g. 2017 03 28 07:33:25).
Is it possible to set this somehow to display only date, not time?
This is not possible with OOTB today.
Attribute Mapping bring whatever the value exist in Teamcenter into CATIA and TcIC cannot truncate this to any desired value
Yes, I see that the date in CATIA is string. It is the result of mapping. I was also thinking if some "abracadabra" in mapping would control that only date would go to CATIA.
If I will not find any solution, the customer will have the dates with astronomical precision
Yes. In CATIA date is String. I am not sure if Teamcenter have any setting to control this precision for "last modified date" property.
If it could be then interesting check with CATIA.
There is a WorkArround with catia parameters and formulas:
created_date - string attribute map from TC format date and time
Found your posting here. We plan to synchronize the title block attributes recently. I am a little bit lost on this mapping process. Could you post some steps I can map teamcenter attributes to update the title block? I am able to map the attributes to custom property. But have little knowledge on how they are mapped to title block...
You can acheive it writing small itk code. If you have any user exit points/entrypoints, you can get the catia LMD as a string from the dataset tag, then break the string into time structure and manipulate the time the way you want. Now the required format of string can be set to your variable.
This could be possible with two ways in CATIA
1. Either modify the Feature Properties of title block attribute with Teamcenter Attribute . For example "Item Name" or "Dst Name"
2. Or Create Parameter in Drawing and link with title block attribute usng attribute link and then do attribute mapping between Drawing Parameter and Teamcenter attrbute.