FbxScope
Overview
FbxScope is a class in Aspose.3D FOSS for Python.
FbxScope.add_element(element) adds a new element to the scope, and get_elements(key) retrieves all elements of the specified type.
This class declares 4 methods for FbxScope objects in Python programs.
Available methods include: __init__, add_element, get_elements, get_first_element.
All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.
Properties: elements.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
elements | Dict[str, List[FbxElement]] | Read | Gets the elements. |
Methods
| Signature | Description |
|---|---|
__init__() | Calls init on this FbxScope instance. |
add_element(element: FbxElement) | Adds a new element to the current FBX scope, while get_elements(key) returns all elements matching a given key |
get_elements(key: str) → List[FbxElement] | Returns a list of FbxElement objects associated with the specified key |
get_first_element(key: str) → Optional[FbxElement] | Returns the first FbxElement for the key or None if none exist |