I3DScene

class I3DScene

Bases: ImpactCOMWrapperBase

Description:

Represents a 3D scene.

Remarks:

Introduced in Impact 11.0.0.39

Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance

property active_camera

Gets active_camera.

Description:

The active camera.

Remarks:

Introduced in Impact 11.0.0.46

Returns:

The value of active_camera.

Return type:

active_camera (i3_d_camera)

property instances

Gets Instances.

Description:

A collection of all instances of 3D objects within the scene.

Remarks:

Introduced in Impact 11.0.0.39

Returns:

The value of Instances.

Return type:

instances (i3_d_instances)

transform_selected(matrix)
Description:

Transforms the selected instances in the 3D scene using the specified matrix.

Remarks:

Introduced in Impact 12.0.0.136

Parameters:

matrix (i3_d_matrix) – The transformation matrix to be applied to the instances.

Examples:

view_extents(type)
Description:

Views the scene extents, from the specified viewpoint.

Remarks:

Introduced in Impact 11.0.0.39

Parameters:

type (ip3DViewType) – The viewpoint.

view_instance(instance, type)
Description:

Views the specified instance, from the specified viewpoint.

Remarks:

Introduced in Impact 11.0.0.39

Parameters:
  • instance (i3_d_instance) – The instance of the 3D object to be viewed.

  • type (ip3DViewType) – The viewpoint.