project.object.mesh
3 functions / 0 types
Index
| Function | Description |
|---|---|
| get | Get the ProjectMeshSchema of the given ProjectNodeSchema if one exists |
| remove | Remove the ProjectMeshSchema of the given ProjectNodeSchema if one exists |
| set | Add a ProjectMeshSchema to the given ProjectNodeSchema |
get
def get(
*,
node: types.project.object.ProjectNode,
_transaction_id: str | None = None
) -> types.project.object.ProjectMesh | NoneGet the ProjectMeshSchema of the given ProjectNodeSchema if one exists
Returns ProjectMesh | None.
node : ProjectNode
ProjectNodeSchema to get the ProjectMeshSchema of
_transaction_id optional : str | None
Transaction to join. Omit to submit without an explicit transaction. Defaults to None.
remove
def remove(
*,
node: types.project.object.ProjectNode,
_transaction_id: str | None = None
) -> types.project.object.ProjectMesh | NoneRemove the ProjectMeshSchema of the given ProjectNodeSchema if one exists
Returns the old ProjectMeshSchema if available
Returns ProjectMesh | None.
node : ProjectNode
ProjectNodeSchema to remove the ProjectMeshSchema of
_transaction_id optional : str | None
Transaction to join. Omit to submit without an explicit transaction. Defaults to None.
set
def set(
*,
node: types.project.object.ProjectNode,
mesh: types.project.object.ProjectMesh,
_transaction_id: str | None = None
) -> NoneAdd a ProjectMeshSchema to the given ProjectNodeSchema
Returns None.
node : ProjectNode
ProjectNodeSchema to change the ProjectMeshSchema of
mesh : ProjectMesh
The new ProjectMeshSchema
_transaction_id optional : str | None
Transaction to join. Omit to submit without an explicit transaction. Defaults to None.