Skip to main content
Version: 2023.3

Add an Attribute to a Family

Description: Attach an existing attribute to a family.

Signature: attach_attribute_to_family(family_name, attribute_name, user_input, allowed_values)

Parameters:

NameDirectionRequiredDescription
family_nameInYesThe name of the family
attribute_nameInYesThe name of the attribute
user_inputInYesIn case of service family, specify if this attribute should be presented to the user who using the service
allowed_valuesInNoSpecify the list of allowed values for this attribute (comma separated)

Sample:

`packageEditor.attach_attribute_to_family('Generic Chassis','attribute1',False,'')`