Click or drag to resize

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

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: ManagedPattern
The pattern.
See Also