DAZ Script | |
---|---|
String | getDefaultGroupName () |
DAZ Script | |
---|---|
DzPropertyGroup | findChild ( String name ) |
DzProperty | findProperty ( String propName, Boolean traverse=false, Boolean recurse=false ) |
DzProperty | findPropertyByLabel ( String propLabel, Boolean traverse=false, Boolean recurse=false ) |
DzPropertyGroup | findSibling ( String name ) |
Array | getAllPaths () |
Array | getAllProperties () |
Boolean | getCollapsed () |
DzPropertyGroup | getFirstChild () |
DzPropertyGroup | getNextSibling () |
Number | getNumProperties () |
DzPropertyGroup | getParent () |
String | getPath () |
DzPropertyGroup | getPreviousSibling () |
DzProperty | getProperty ( Number i ) |
geometryregion_dz | getRegion () |
DzPropertyGroupTree | getTree () |
Number | indexOfProperty ( DzProperty prop ) |
Boolean | isRegion () |
Boolean | movePropertyToIndex ( DzProperty prop, Number newIndex ) |
void | setCollapsed ( Boolean onOff ) |
void | setUniquePropertyLabel ( DzProperty prop ) |
void | sort () |
void | addedChild ( DzPropertyGroup newChild ) |
void | childListChanged () |
void | parentChanged ( DzPropertyGroup newParent ) |
void | propertyVisiblityChanged ( DzPropertyGroup grp, DzProperty prop ) |
void | removedChild ( DzPropertyGroup child ) |
void | treeChanged () |
DzPropertyGroup objects are all owned and managed by DzElement objects. Do not create property groups yourself - they are automatically created as needed when you assign individual properties to a group. To iterate through the property groups for an element, use DzElement::getPropertyGroups() to get the property group tree that the element's properties are grouped in.
// Create a new property oProperty = new DzFloatProperty( "MyDeformer Control", true, false ); // Set the path of the property - this moves the property to the group corresponding // to the given path, creating groups if necessary. oProperty.setPath( "/Deformers/MyDeformerGroup" );
See Also:
DzPropertyGroup : findChild( String name )
Parameter(s):
Return Value:
DzProperty : findProperty( String propName, Boolean traverse=false, Boolean recurse=false )
Parameter(s):
true
, the siblings of this group will be checked.true
, the children of this group will be checked.Return Value:
Since:
DzProperty : findPropertyByLabel( String propLabel, Boolean traverse=false, Boolean recurse=false )
Parameter(s):
true
, the siblings of this group will be checked.true
, the children of this group will be checked.Return Value:
Since:
DzPropertyGroup : findSibling( String name )
Parameter(s):
Return Value:
Array : getAllPaths()
Provided for convenience and DAZ Script access.
Return Value:
Return Value:
Since:
Boolean : getCollapsed()
Return Value:
true
if the group is collapsed, otherwise false
.DzPropertyGroup : getFirstChild()
Return Value:
DzPropertyGroup : getNextSibling()
Return Value:
Return Value:
DzPropertyGroup : getParent()
Return Value:
Return Value:
DzPropertyGroup : getPreviousSibling()
Return Value:
Since:
DzProperty : getProperty( Number i )
Parameter(s):
Return Value:
geometryregion_dz : getRegion()
Return Value:
DzPropertyGroupTree : getTree()
Return Value:
Number : indexOfProperty( DzProperty prop )
Return Value:
Return Value:
Boolean : movePropertyToIndex( DzProperty prop, Number newIndex )
Moves the specified property to a new position within the group.
Parameter(s):
prop
is moved to the end of the list.Return Value:
true
if the move was successful, otherwise false
.void : setCollapsed( Boolean onOff )
Sets whether or not the group is displayed as collapsed in the interface.
Parameter(s):
true
, the group is collapsed. If false
, the group is expanded.void : setUniquePropertyLabel( DzProperty prop )
Sets the label of prop
to a unique version of itself.
Parameter(s):
void : sort()
Alpha-numerically sorts the property groups, and the properties in them.
void : addedChild( DzPropertyGroup newChild )
Signature:“addedChild(DzPropertyGroup*)”
Emitted when a child has been added to the group.
Parameter(s):
void : childListChanged()
Signature:“childListChanged()”
Emitted when the child list of the group has changed.
void : parentChanged( DzPropertyGroup newParent )
Signature:“parentChanged(DzPropertyGroup*)”
Emitted when the parent of the group has changed.
Parameter(s):
void : propertyVisiblityChanged( DzPropertyGroup grp, DzProperty prop )
Signature:“propertyVisiblityChanged(DzPropertyGroup*,DzProperty*)”
Emitted when the visibility of a property in the group has changed.
Parameter(s):
void : removedChild( DzPropertyGroup child )
Signature:“removedChild(DzPropertyGroup*)”
Emitted when a child has been removed from the group.
Parameter(s):
void : treeChanged()
Signature:“treeChanged()”
Emitted when the tree has changed.