API to update the display name of the attributes in a softype.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
API to update the display name of the attributes in a softype.
Version: Windchill 12.1
Use Case: API to update the display name of the attributes in a softype.
Description:
API to update the display name of the attributes in a softype.
Anyone can help.
Solved! Go to Solution.
- Labels:
-
API
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @JZ_11553986
What is nightmare?
If you have several servers where the attributes are identical, you set it just on one server and then just export/import the attributes for all types..
Also it can be automated by command line scripts so why do you want write an function that already exists...
CS30168 - How to export and import soft types and attributes using 'LoadFromFile' in Windchill
btw, based on the exported xml you could be able to find an api that can modify the display names. Sure not supported...
PetrH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
There is no supported API to do this , not even for read https://www.ptc.com/en/support/article/CS427355
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I have got the way to do this, any one who need this can contact me ,thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I'm curious.. why would you want an API to do that? Are you really needing to change display names of attributes so dynamically?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Yes, we have a lot of atrributes need to update the locale displayname( EN_US, Zh_CN and so on). and we need to do it in several test servers first.
Could you image How to do this without scripts, It's a nightmare.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @JZ_11553986
What is nightmare?
If you have several servers where the attributes are identical, you set it just on one server and then just export/import the attributes for all types..
Also it can be automated by command line scripts so why do you want write an function that already exists...
CS30168 - How to export and import soft types and attributes using 'LoadFromFile' in Windchill
btw, based on the exported xml you could be able to find an api that can modify the display names. Sure not supported...
PetrH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks, really a good solution for new build system.
