Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -155,17 +155,17 @@ def groupRegionAttributeSettingsWidgets( self: Self ) -> None:
self.Modified()

# Settings of the new attribute:
@smproperty.xml( """
<StringVectorProperty
name="AttributeName"
label="The name of the new attribute:"
default_values="newAttribute"
number_of_elements="1"
element_types="2">
<Documentation>
Name of the new attribute to create.
</Documentation>
</StringVectorProperty>
@smproperty.stringvector(
name="AttributeName",
label="The name of the new attribute:",
number_of_elements="1",
default_values="newAttribute",
panel_visibility="default",
)
@smdomain.xml( """
<Documentation>
Name of the new attribute to create.
</Documentation>
""" )
def setAttributeName( self: Self, newAttributeName: str ) -> None:
"""Set attribute name.
Expand Down