IManagedPatternsAddRectangular Method |
Adds or modifies a rectangular pattern in an assembly.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 23.0
Syntax 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
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: SystemString
The pattern name. - parentComponents
- Type: Autodesk.iLogic.TypesComponentOrPattern
The component (or components) to pattern. - columnCount
- Type: SystemInt32
Number of columns wanted. - columnOffset
- Type: SystemDouble
Distance between the columns. - columnComponent
- Type: Autodesk.iLogic.TypesComponentArgument
The part or assembly which owns the entity that defines the column (x) direction. - columnEntityName
- Type: SystemString
Name of a work axis or named linear edge that defines the column (x) direction. - columnNaturalDirection (Optional)
- Type: SystemBoolean
True by default. Specify False to make the column run in the opposite direction to the column entity. - rowCount (Optional)
- Type: SystemNullableInt32
Number of rows wanted. - rowOffset (Optional)
- Type: SystemNullableDouble
Distance between the rows. - rowComponent (Optional)
- Type: Autodesk.iLogic.TypesComponentArgument
The part or assembly which owns the entity that defines the row (y) direction. - rowEntityName (Optional)
- Type: SystemString
Name of a work axis or named linear edge that defines the row (y) direction. - rowNaturalDirection (Optional)
- Type: SystemBoolean
True by default. Specify False to make the row run in the opposite direction to the row entity.
Return Value
Type:
ManagedPatternThe pattern.
See Also