remove_scene_3d_instanceT_remove_scene_3d_instanceRemoveScene3dInstanceRemoveScene3dInstanceremove_scene_3d_instance (Operator)

Name

remove_scene_3d_instanceT_remove_scene_3d_instanceRemoveScene3dInstanceRemoveScene3dInstanceremove_scene_3d_instance — Remove an object instance from a 3D scene.

Signature

remove_scene_3d_instance( : : Scene3D, InstanceIndex : )

Herror T_remove_scene_3d_instance(const Htuple Scene3D, const Htuple InstanceIndex)

void RemoveScene3dInstance(const HTuple& Scene3D, const HTuple& InstanceIndex)

void HScene3D::RemoveScene3dInstance(const HTuple& InstanceIndex) const

void HScene3D::RemoveScene3dInstance(Hlong InstanceIndex) const

static void HOperatorSet.RemoveScene3dInstance(HTuple scene3D, HTuple instanceIndex)

void HScene3D.RemoveScene3dInstance(HTuple instanceIndex)

void HScene3D.RemoveScene3dInstance(int instanceIndex)

def remove_scene_3d_instance(scene_3d: HHandle, instance_index: MaybeSequence[int]) -> None

Description

remove_scene_3d_instanceremove_scene_3d_instanceRemoveScene3dInstanceRemoveScene3dInstanceRemoveScene3dInstanceremove_scene_3d_instance removes the instance InstanceIndexInstanceIndexInstanceIndexInstanceIndexinstanceIndexinstance_index from the 3D scene Scene3DScene3DScene3DScene3Dscene3Dscene_3d.

Execution Information

Parameters

Scene3DScene3DScene3DScene3Dscene3Dscene_3d (input_control)  scene_3d HScene3D, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the 3D scene.

InstanceIndexInstanceIndexInstanceIndexInstanceIndexinstanceIndexinstance_index (input_control)  integer(-array) HTupleMaybeSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Index of the instance to remove.

Result

remove_scene_3d_instanceremove_scene_3d_instanceRemoveScene3dInstanceRemoveScene3dInstanceRemoveScene3dInstanceremove_scene_3d_instance returns 2 (H_MSG_TRUE) if all parameters are correct. If necessary, an exception is raised.

See also

add_scene_3d_instanceadd_scene_3d_instanceAddScene3dInstanceAddScene3dInstanceAddScene3dInstanceadd_scene_3d_instance

Module

3D Metrology