Align3DEntities Method (ISketchManager)

Align3DEntities Method (ISketchManager) | Send Feedback
See Also

FirstBasePoint
  First base point to determine the source plane and orientation; the first point is the base point for the move (see Remarks)

SecondBasePoint
  Second base point (see Remarks)

ThirdBasePoint
  Third base point (see Remarks)

FirstDestinationPoint
  First destination point (see Remarks)

SecondDestinationPoint
  Second destination point (see Remarks)

ThirdDestinationPoint
  Third destination point (see Remarks)

EntitiesArray
  Array of entities to align in 3D space

Aligns the specified entities in 3D space.

# Syntax

Visual Basic |
--- | ---
    Sub Align3DEntities( _
       ByVal FirstBasePoint As MathPoint, _
       ByVal SecondBasePoint As MathPoint, _
       ByVal ThirdBasePoint As MathPoint, _
       ByVal FirstDestinationPoint As MathPoint, _
       ByVal SecondDestinationPoint As MathPoint, _
       ByVal ThirdDestinationPoint As MathPoint, _
       ByVal EntitiesArray As System.Object _
    )

C# |
--- | ---
    void Align3DEntities(
       MathPoint FirstBasePoint,
       MathPoint SecondBasePoint,
       MathPoint ThirdBasePoint,
       MathPoint FirstDestinationPoint,
       MathPoint SecondDestinationPoint,
       MathPoint ThirdDestinationPoint,
       System.object EntitiesArray
    )

JavaScript |
--- | ---
    Align3DEntities(
       FirstBasePoint : dsMathPoint,
       SecondBasePoint : dsMathPoint,
       ThirdBasePoint : dsMathPoint,
       FirstDestinationPoint : dsMathPoint,
       SecondDestinationPoint : dsMathPoint,
       ThirdDestinationPoint : dsMathPoint,
       EntitiesArray : Array
    )

COM native C++ |
--- | ---
    HRESULT Align3DEntities(
       IMathPoint* FirstBasePoint,
       IMathPoint* SecondBasePoint,
       IMathPoint* ThirdBasePoint,
       IMathPoint* FirstDestinationPoint,
       IMathPoint* SecondDestinationPoint,
       IMathPoint* ThirdDestinationPoint,
       VARIANT EntitiesArray
    )

C++ |
--- | ---
    DSRESULT Align3DEntities(
       dsMathPoint* FirstBasePoint,
       dsMathPoint* SecondBasePoint,
       dsMathPoint* ThirdBasePoint,
       dsMathPoint* FirstDestinationPoint,
       dsMathPoint* SecondDestinationPoint,
       dsMathPoint* ThirdDestinationPoint,
       const dsObjectPtrArray& EntitiesArray
    )

#### Parameters

FirstBasePoint
  First base point to determine the source plane and orientation; the first point is the base point for the move (see Remarks)
SecondBasePoint
  Second base point (see Remarks)
ThirdBasePoint
  Third base point (see Remarks)
FirstDestinationPoint
  First destination point (see Remarks)
SecondDestinationPoint
  Second destination point (see Remarks)
ThirdDestinationPoint
  Third destination point (see Remarks)
EntitiesArray
  Array of entities to align in 3D space

# Remarks

FirstBasePoint moves to FirstDestinationPoint. SecondBasePoint is aligned to SecondDestinationPoint. ThirdBasePoint is aligned to ThirdDestinationPoint. The specified entities are not scaled.

# See Also

####

ISketchManager Interface
ISketchManager Members
ISketchManager::AlignEntities1Point Method ()
ISketchManager::AlignEntities2Point Method ()
ISketchManager::AlignEntities3Point Method ()

# Availability

DraftSight V1R4.0