cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Change the Internal Name of the Attributes

NG_9451104
10-Marble

Change the Internal Name of the Attributes

Hi,

 

We've created and used several attributes in CAD, and now we'd like to modify the internal name, but it's graded out. If there is a way to change the internal name of the attributes, please advise.

12 REPLIES 12
BenLoosli
23-Emerald II
(To:NG_9451104)

Probably inside the database with SQL this may be possible.

 

But WHY?

These names are only internal to the system and you can change the Display Name to something understandable to your users.

 

Ben,

 

But we've created a Drawing template with some of the attributes, So in the template, we need to map the attribute with the internal name,

 

Users need to change the internal name 

 

for example:

Display name: Colour 1 and Colour 2

Internal name: Colour1 and Colour2

 

But the user needs to change the Colour_1 instead of colour1

 

BenLoosli
23-Emerald II
(To:NG_9451104)

Map the attributes in Windchill to Creo Parameters and then use the parameters in your drawing templates.

That is how I have done it for years.

My users never see the internal names.

Looking at my attributes I see where I misspelled an internal name, but the users only see the correct Display Name.

BenLoosli
23-Emerald II
(To:NG_9451104)

Do they need to change the attribute/parameter name or just the value assigned to the parameter?

Hi Ben,

 

We like to change the internal/Parameter name of the attribute,

Not a value of it.

BenLoosli
23-Emerald II
(To:NG_9451104)

These changes to the internal name should only be done by the system admin and not by end users on any frequent basis. Once set up, they should require little administration of the internal name.

olivierlp
Community Manager
(To:NG_9451104)

Hi @NG_9451104 

Thank you for publishing your idea. I just moved it from its initial location to this Windchill idea board where it will receive more attention. Early December 2021, we started a new process to published Windchill ideas, by which we ask more information up front. 

 

See below the questions that I am asking you to answer. Please let us know within the next two weeks.

1. Describe your environment: What is your industry? What is your role in your organization? Describe your stakeholders.
2. What product & version are you currently running?
3. Describe the problem you are trying to solve. Please include detailed documentation such as screenshots, images or video.
4. What is the use case for your organization?
5. What business value would your suggestion represent for your organization?

Olivier
BenLoosli
23-Emerald II
(To:NG_9451104)

I think a simple CS article with the SQL commands to rename the internal attribute name would be sufficient. I do NOT see this as being something that should be done frequently. In my case, I did not catch a misspelled internal name and I would like to correct it.

 

olivierlp
Community Manager
(To:NG_9451104)

Hello NG_9451104,
We are following up on our request for additional information on your idea. In the absence of further comments from you, we are archiving your idea. You still have the option to post a new idea with all the details required.
Thank you.

Olivier

The internal name of an attribute can be changed with a simple database edit.

In the example below the original internal name, AuditRecord, has been changed to AUDIT_RECORD 

 

NOTE: Windchill restart after the database edit is required to take affect.

 

Before

d_graham_0-1643124220066.png

After

d_graham_1-1643124370123.png

 

BenLoosli
23-Emerald II
(To:d_graham)

What table is the information stored in?

 

 Another option for you could be to use PTCs attribute utility, create a new attribute and the utility can move the old attribute onto it, effectively renaming it and keeping the old one which you can delete later. Seems less risky, there’s definitely some attribute internal names which would cause major failures if they were just changed.

http://support.ptc.com/help/windchill/wc110_hc/whc_en/#page/Windchill_Help_Center%2FTypeAttrChp_MoveUtility.html%23

 

Announcements


Top Tags