Custom Attribute List

Can anybody tell me how to create a custom attribute list. I want to select from a dropdown list for my new attribute.
Thanks!
RLeoneHm - Fri Dec 02 14:26:38 EST 2011

Re: Custom Attribute List
llandale - Fri Dec 02 14:57:32 EST 2011

Are you asking for a list of all your (user created) custom attributes?

AttrDef ad 

for ad in (current Module) 

do 
{  

if (!ad.system) print (ad.name) 
"\n" 
}

Are you asking how to create an attribute that provides the user specific options, such as "Severity" of "Low", "Medium", and "High"?

You need to clarify in your mind the difference between a "Type" e.g. "Integer" or "String" with a "Definition" that uses it, e.g. "Number of linked Objects" (only integer values allowed) or "Requirement ID" (just about any string allowed).

  • Create an attribute TYPE perhaps named "Severity", make its base-type "Enumeration", go to the Enumerations tab and add those 3 one at a time.
  • Create an attibute DEFINITION perhaps named "Schedule Severity" and make its type "Severity".
  • Perhaps create another attribute Def "Cost Severity" likewise with type "Severity".

-Louie

Some folks routinely put "Type" in the name of every attribute type they create, "Severity Type", as this prevents confusion with an attribute Def with exactly the same name "Severity".