daz_search_morphs
Search for morphs matching a substring pattern on a DAZ Studio node to locate specific morphs like facial expressions or body parts. Returns matching morphs with labels, values, and paths.
Instructions
Search for morphs matching a name pattern.
Search through all numeric properties (morphs) on a node for those matching a substring pattern. Useful for finding specific morphs like all facial expressions, body morphs, or morphs for a specific body part.
Args: node_label: Display label or internal name of the node (e.g., "Genesis 9"). pattern: Substring to search for in morph label or name (case-insensitive). Examples: "smile", "head", "muscle", "express" include_zero: If True, return all matching morphs including zero values. If False (default), only return matching morphs that are active.
Returns:
morphs: List of matching morph objects with:
label: Display label
name: Internal name
value: Current value
path: Property path
count: Number of matching morphs
pattern: The search pattern used
nodeLabel: Confirmed node label
Example: # Find all smile-related morphs result = daz_search_morphs("Genesis 9", "smile", include_zero=True) # result["morphs"] might include: "Smile", "Smile Open", "Smile Closed", etc.
# Find active head morphs
result = daz_search_morphs("Genesis 9", "head", include_zero=False)
# Only returns head morphs with non-zero values
# Find all facial expression morphs
result = daz_search_morphs("Genesis 9", "express", include_zero=True)Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_label | Yes | ||
| pattern | Yes | ||
| include_zero | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||