Adds or modifies a rectangular pattern in an assembly.
Namespace: Autodesk.iLogic.Interfaces
Assembly: Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 29.0
Syntax
VB
Function AddRectangular ( patternName As String, parentComponents As ComponentOrPattern, columnCount As Integer, columnOffset As Double, columnComponent As ComponentArgument, columnEntityName As String, Optional columnNaturalDirection As Boolean = true, Optional rowCount As Nullable(Of Integer) = Nothing, Optional rowOffset As Nullable(Of Double) = Nothing, Optional rowComponent As ComponentArgument = Nothing, Optional rowEntityName As String = Nothing, Optional rowNaturalDirection As Boolean = true ) As ManagedPattern
C#
ManagedPattern AddRectangular( string patternName, ComponentOrPattern parentComponents, int columnCount, double columnOffset, ComponentArgument columnComponent, string columnEntityName, bool columnNaturalDirection = true, Nullable<int> rowCount = null, Nullable<double> rowOffset = null, ComponentArgument rowComponent = null, string rowEntityName = null, bool rowNaturalDirection = true )
Parameters
- patternName
- Type: System.String
The pattern name. - parentComponents
- Type: Autodesk.iLogic.Types.ComponentOrPattern
The component (or components) to pattern. - columnCount
- Type: System.Int32
Number of columns wanted. - columnOffset
- Type: System.Double
Distance between the columns. - columnComponent
- Type: Autodesk.iLogic.Types.ComponentArgument
The part or assembly which owns the entity that defines the column (x) direction. - columnEntityName
- Type: System.String
Name of a work axis or named linear edge that defines the column (x) direction. - columnNaturalDirection (Optional)
- Type: System.Boolean
True by default. Specify False to make the column run in the opposite direction to the column entity. - rowCount (Optional)
- Type: System.Nullable(Int32)
Number of rows wanted. - rowOffset (Optional)
- Type: System.Nullable(Double)
Distance between the rows. - rowComponent (Optional)
- Type: Autodesk.iLogic.Types.ComponentArgument
The part or assembly which owns the entity that defines the row (y) direction. - rowEntityName (Optional)
- Type: System.String
Name of a work axis or named linear edge that defines the row (y) direction. - rowNaturalDirection (Optional)
- Type: System.Boolean
True by default. Specify False to make the row run in the opposite direction to the row entity.
Return Value
Type: ManagedPatternThe pattern.
