If objectName from UsedReader3ds.NamedObjects is Model3DGroup or Light the same model is returned. If objectName is GeometryModel3D and it has children (because of hierarchy there was a Model3DGroup created for it) than return the Model3DGroup. If objectName is GeometryModel3D and has no children return model as GeometryModel3D.

Namespace:  Ab3d
Assembly:  Ab3d.Reader3ds (in Ab3d.Reader3ds)
Version: 4.2.0.0 (4.2.0.0)

Syntax

C#
public Model3D GetObjectOrItsGroup(
	string objectName
)
Visual Basic (Declaration)
Public Function GetObjectOrItsGroup ( _
	objectName As String _
) As Model3D
Visual C++
public:
Model3D^ GetObjectOrItsGroup(
	String^ objectName
)

Parameters

objectName
Type: System..::.String
name of the object

Return Value

model itself or its Parent Model3DGroup

See Also