set_property method

set_property

Used to set a property value with default priority within this declaration block. Default priority is not “important” i.e. String.Empty

def set_property(self, property_name, value):
    ...
ParameterTypeDescription
property_namestrName of the property.
valuestrThe value.

set_property

Used to set a property value and priority within this declaration block.

def set_property(self, property_name, value, priority):
    ...
ParameterTypeDescription
property_namestrName of the property.
valuestrThe value.
prioritystrThe priority.

See Also