PatternLinear Method (ISketchManager)

PatternLinear Method (ISketchManager) | Send Feedback
See Also Example

NumberElementsOnVerticalAxis
  Number of elements for the vertical axis

NumberElementsOnHorizontalAxis
  Number of elements for the horizontal axis

SpacingOnVerticalAxis
  Distance between rows

SpacingOnHorizontalAxis
  Distance between columns

PatternAngle
  Angle to control how the copies are arranged in radians

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

EntitiesArray
  Array of objects of the entities to pattern

Creates a linear pattern of the specified entities

# Syntax

Visual Basic |
--- | ---
    Sub PatternLinear( _
       ByVal NumberElementsOnVerticalAxis As System.Integer, _
       ByVal NumberElementsOnHorizontalAxis As System.Integer, _
       ByVal SpacingOnVerticalAxis As System.Double, _
       ByVal SpacingOnHorizontalAxis As System.Double, _
       ByVal PatternAngle As System.Double, _
       ByVal EntityTypeLongArray As System.Object, _
       ByVal EntitiesArray As System.Object _
    )

C# |
--- | ---
    void PatternLinear(
       System.int NumberElementsOnVerticalAxis,
       System.int NumberElementsOnHorizontalAxis,
       System.double SpacingOnVerticalAxis,
       System.double SpacingOnHorizontalAxis,
       System.double PatternAngle,
       System.object EntityTypeLongArray,
       System.object EntitiesArray
    )

JavaScript |
--- | ---
    PatternLinear(
       NumberElementsOnVerticalAxis : Number,
       NumberElementsOnHorizontalAxis : Number,
       SpacingOnVerticalAxis : Number,
       SpacingOnHorizontalAxis : Number,
       PatternAngle : Number,
       EntityTypeLongArray : Array,
       EntitiesArray : Array
    )

COM native C++ |
--- | ---
    HRESULT PatternLinear(
       LONG NumberElementsOnVerticalAxis,
       LONG NumberElementsOnHorizontalAxis,
       DOUBLE SpacingOnVerticalAxis,
       DOUBLE SpacingOnHorizontalAxis,
       DOUBLE PatternAngle,
       VARIANT EntityTypeLongArray,
       VARIANT EntitiesArray
    )

C++ |
--- | ---
    DSRESULT PatternLinear(
       long NumberElementsOnVerticalAxis,
       long NumberElementsOnHorizontalAxis,
       double SpacingOnVerticalAxis,
       double SpacingOnHorizontalAxis,
       double PatternAngle,
       const dsLongArray& EntityTypeLongArray,
       const dsObjectPtrArray& EntitiesArray
    )

#### Parameters

NumberElementsOnVerticalAxis
  Number of elements for the vertical axis
NumberElementsOnHorizontalAxis
  Number of elements for the horizontal axis
SpacingOnVerticalAxis
  Distance between rows
SpacingOnHorizontalAxis
  Distance between columns
PatternAngle
  Angle to control how the copies are arranged in radians
EntityTypeLongArray
  Array of longs of the types of entities to pattern as defined in dsObjectType_e
EntitiesArray
  Array of objects of the entities to pattern

# Example

Create Linear Pattern (C#)
Create Linear Pattern (VB.NET)
Create Linear Pattern (VBA)

# See Also

####

ISketchManager Interface
ISketchManager Members
ISketchManager::Pattern3DLinear Method
ISketchManager::PatternCircular Method
ISketchManager::Pattern3DCircular Method

# Availability

DraftSight V1R1.3