TrimEntities Method (ISketchManager)

TrimEntities Method (ISketchManager) | Send Feedback
See Also

CuttingEntitiesArray
  Array of entities that are used as potential cutting edges; use Lines, InfiniteLines, Rays, PolyLines, Circles, Arcs, and Ellipses as cutting edges to trim the entities in EntitiesToRemoveArray

EntitiesToRemoveArray
  Array of entities to trim

PointOnEntityDblArray
  Array of the doubles of x, y, and z coordinates of the points on the entities in EntitiesToRemoveArray; these points define the sides of the entities that you want to trim

Trims the specified sketch entities.

# Syntax

Visual Basic |
--- | ---
    Sub TrimEntities( _
       ByVal CuttingEntitiesArray As System.Object, _
       ByVal EntitiesToRemoveArray As System.Object, _
       ByVal PointOnEntityDblArray As System.Object _
    )

C# |
--- | ---
    void TrimEntities(
       System.object CuttingEntitiesArray,
       System.object EntitiesToRemoveArray,
       System.object PointOnEntityDblArray
    )

JavaScript |
--- | ---
    TrimEntities(
       CuttingEntitiesArray : Array,
       EntitiesToRemoveArray : Array,
       PointOnEntityDblArray : Array
    )

COM native C++ |
--- | ---
    HRESULT TrimEntities(
       VARIANT CuttingEntitiesArray,
       VARIANT EntitiesToRemoveArray,
       VARIANT PointOnEntityDblArray
    )

C++ |
--- | ---
    DSRESULT TrimEntities(
       const dsObjectPtrArray& CuttingEntitiesArray,
       const dsObjectPtrArray& EntitiesToRemoveArray,
       const dsDoubleArray& PointOnEntityDblArray
    )

#### Parameters

CuttingEntitiesArray
  Array of entities that are used as potential cutting edges; use Lines, InfiniteLines, Rays, PolyLines, Circles, Arcs, and Ellipses as cutting edges to trim the entities in EntitiesToRemoveArray
EntitiesToRemoveArray
  Array of entities to trim
PointOnEntityDblArray
  Array of the doubles of x, y, and z coordinates of the points on the entities in EntitiesToRemoveArray; these points define the sides of the entities that you want to trim

# Remarks

This method works like the DraftSight TRIM command to trim sketch entities.

# See Also

####

ISketchManager Interface
ISketchManager Members
ISketchManager::CopyEntities Method
ISketchManager::ExtendEntities Method
ISketchManager::GetEntities Method
ISketchManager::MirrorEntities Method
ISketchManager::MoveEntities Method
ISketchManager::RotateEntities Method
ISketchManager::ScaleEntities Method
ISketchManager::StretchEntities Method
ISketchManager::ChamferEntities Method
ISketchManager::FilletEntities Method

# Availability

DraftSight V1R1.4