X3DObject.GetModels2

Introduced

v6.0

Description

Returns a collection of all Model objects under this 3D object.

Note: This is the Python-compliant version of the X3DObject.Models. Since Python does not support input parameters on properties, X3DObject.Models will fail in Python.

Scripting Syntax

oReturn = X3DObject.GetModels2( [Recursive] );

Return Value

ModelCollection

Parameters

Parameter Type Description
Recursive Boolean Recurse if True, otherwise the search is done on the immediate children.

Default Value: True

See Also

X3DObject.Models