You set-up these sorts of Attributes by going to...
File -> Utilities -> Attribute Templates...
...and when the dialog open, select the 'Part File' option at the top of the dialog. Now go to the definition section and select the 'Data Type', in this case 'String' and change the 'Constraint Type' to 'List'. Now enter, hitting return after each entry, the 'list' of valid 'string' values. Now if you want to force the user to select ONLY from this list and NOT allow him to enter something else, toggle ON the 'Enforce Constraints' option and enter one of the items from the 'List' that you just entered as the 'Default Value'. It does NOT have to be the first one, but this will be the default when the user goes to access this Attribute for the first time.
When you're done, hit OK and now return to...
File -> Properties -> Attributes
...and you will find this Attribute in the group labeled 'Unset'. Simply select it and either accept the default or select the desired value and hit Apply.
BTW, the above 'Attribute Template' procedure is how you can pre-define attributes in your Modeling or Drafting template files so that they are ready to be activated whenever needed without worrying about people misspelling attribute names are the values entered, or for what we did above, where you can set-up items where the ONLY values entered are ones that you've already defined ahead of time. Note that attributes defined in the 'Attribute Template' process are NOT actually in effect until you activate them by going to the 'Unset' section of the 'Properties' dialog and select one. Also note that if later on youu were to 'delete' one of these pre-defined attributes, they are not actually deleted, but rather are simply returned to an 'Unset' status where they will be available in the future if you wanted it to be active again.
Anyway, I hope this helps explain how you can set-up pre-defined attributes.
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.