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

Run list of all Roles from WC Shell?

Highlighted
Aquamarine

Run list of all Roles from WC Shell?

Rather than wait for PTC to answer a service request, anyone know how to get a list of all roles from the Windchill Shell?

EnumResourceInfo

I think it's called CutomeRoleRB

It shows the internal and GUI name for each role.

Tags (1)
5 REPLIES 5

Re: Run list of all Roles from WC Shell?

I think what you want is the command "windchill wt.fc.EnumeratedTypeUtil wt.project.Role".

That gives output like this

DESIGNER:

display = Designer

abbreviatedDisplay = Designer

fullDisplay = Designer

shortDescription = Designer role

longDescription = Designer role

comment (deprecated)= Designer role

order = 100

isDefault = false

selectable = true

stringValue = wt.project.Role.DESIGNER

enumValue = DESIGNER

Localized error message test, not an actual error:

Problem occurred trying to create "Designer" object.

Re: Run list of all Roles from WC Shell?

Thanks Patrick. Any idea why some of the roles (like your example) have "Localized error..."?

Re: Run list of all Roles from WC Shell?

It is just a test of the error message. It is not an actual error. They should all output the same test message with the relevant input (Designer in my example above).

Re: Run list of all Roles from WC Shell?

Now, any idea how to export out and import in?

Re: Run list of all Roles from WC Shell?

In winchill shell input: enumcustomize. Java GUI application will start. Then select wt/project/RoleRB.rbInfo file and after you can add your custom role for basic and your locales.