Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
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.
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.
Thanks Patrick. Any idea why some of the roles (like your example) have "Localized error..."?
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).
Now, any idea how to export out and import in?
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.