RotateEntities Method (ISketchManager)

RotateEntities Method (ISketchManager) | Send Feedback
See Also Example

PivotPointX
  x coordinate of the pivot point about which rotation occurs

PivotPointY
  y coordinate of the pivot point about which rotation occurs

RotateAngle
  Rotation angle

EntityTypeLongArray
  Array of longs of the types of entities to rotate as defined in dsObjectType_e

EntitiesArray
  Array of objects of the entities to rotate

Rotates the specified entities.

# Syntax

Visual Basic |
--- | ---
    Sub RotateEntities( _
       ByVal PivotPointX As System.Double, _
       ByVal PivotPointY As System.Double, _
       ByVal RotateAngle As System.Double, _
       ByVal EntityTypeLongArray As System.Object, _
       ByVal EntitiesArray As System.Object _
    )

C# |
--- | ---
    void RotateEntities(
       System.double PivotPointX,
       System.double PivotPointY,
       System.double RotateAngle,
       System.object EntityTypeLongArray,
       System.object EntitiesArray
    )

JavaScript |
--- | ---
    RotateEntities(
       PivotPointX : Number,
       PivotPointY : Number,
       RotateAngle : Number,
       EntityTypeLongArray : Array,
       EntitiesArray : Array
    )

COM native C++ |
--- | ---
    HRESULT RotateEntities(
       DOUBLE PivotPointX,
       DOUBLE PivotPointY,
       DOUBLE RotateAngle,
       VARIANT EntityTypeLongArray,
       VARIANT EntitiesArray
    )

C++ |
--- | ---
    DSRESULT RotateEntities(
       double PivotPointX,
       double PivotPointY,
       double RotateAngle,
       const dsLongArray& EntityTypeLongArray,
       const dsObjectPtrArray& EntitiesArray
    )

#### Parameters

PivotPointX
  x coordinate of the pivot point about which rotation occurs
PivotPointY
  y coordinate of the pivot point about which rotation occurs
RotateAngle
  Rotation angle
EntityTypeLongArray
  Array of longs of the types of entities to rotate as defined in dsObjectType_e
EntitiesArray
  Array of objects of the entities to rotate

# Example

Rotate and Copy Entities (C#)
Rotate and Copy Entities (VB.NET)
Rotate and Copy Entities (VBA)
Insert Block, Notes, and Sketch Entities (JavaScript)

# See Also

####

ISketchManager Interface
ISketchManager Members
ISketchManager::Rotate3DEntities Method

# Availability

DraftSight V1R1.3