IManagedPatterns.AddCircular Method

Adds or modifies a circular pattern in an assembly.

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 25.0

Syntax

VB

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

C#

ManagedPattern AddCircular(
	string patternName,
	ComponentOrPattern parentComponents,
	int count,
	double angleOffset,
	ComponentArgument axisComponent,
	string axisEntityName,
	bool axisNaturalDirection = true,
	bool lockRotation = false
)

Parameters

patternName
Type: System.String
The pattern name.
parentComponents
Type: Autodesk.iLogic.Types.ComponentOrPattern
The component (or components) to pattern.
count
Type: System.Int32
Number of pattern elements wanted.
angleOffset
Type: System.Double
Angular spread between the elements.
axisComponent
Type: Autodesk.iLogic.Types.ComponentArgument
The part or assembly which owns the axis.
axisEntityName
Type: System.String
Name of a work-axis or named linear edge.
axisNaturalDirection (Optional)
Type: System.Boolean
True by default. Specify False to reverse the axis direction.
lockRotation (Optional)
Type: System.Boolean
False by default. True means the patterned elements keep the same rotation as their parent occurrences.

Return Value

Type: ManagedPattern
The pattern.

See Also

Reference

IManagedPatterns Interface
Autodesk.iLogic.Interfaces Namespace