ansys.scade.apitools.create.project.create_prop#
- ansys.scade.apitools.create.project.create_prop(owner: scade.model.project.stdproject.Annotable, configuration: scade.model.project.stdproject.Configuration | None, name: str, values: List[str]) scade.model.project.stdproject.Prop #
Create a property.
Properties are attached to a project, folder, or file reference.
They have a name and a list of values. They can be associated with a configuration.
Parameters#
- ownerstd.Annotable
Element to attach the property to.
- configurationConfiguration | None
Configuration to associate with the property or
None
.- namestr
Name of the property.
- valuesList[str]
Values of the property as a list of strings.
Returns#
std.Prop