IManagedPatternsAddCircular Method |
Adds or modifies a circular pattern in an assembly.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 23.0
Syntax Function AddCircular (
patternName As String,
parentComponents As ComponentOrPattern,
count As Integer,
angleOffset As Double,
axisComponent As ComponentArgument,
axisEntityName As String,
Optional axisNaturalDirection As Boolean = true,
Optional lockRotation As Boolean = false
) As ManagedPattern
ManagedPattern AddCircular(
string patternName,
ComponentOrPattern parentComponents,
int count,
double angleOffset,
ComponentArgument axisComponent,
string axisEntityName,
bool axisNaturalDirection = true,
bool lockRotation = false
)
Parameters
- patternName
- Type: SystemString
The pattern name. - parentComponents
- Type: Autodesk.iLogic.TypesComponentOrPattern
The component (or components) to pattern. - count
- Type: SystemInt32
Number of pattern elements wanted. - angleOffset
- Type: SystemDouble
Angular spread between the elements. - axisComponent
- Type: Autodesk.iLogic.TypesComponentArgument
The part or assembly which owns the axis. - axisEntityName
- Type: SystemString
Name of a work-axis or named linear edge. - axisNaturalDirection (Optional)
- Type: SystemBoolean
True by default. Specify False to reverse the axis direction. - lockRotation (Optional)
- Type: SystemBoolean
False by default. True means the patterned elements keep the same rotation as their parent occurrences.
Return Value
Type:
ManagedPatternThe pattern.
See Also