Method that creates a new centerline pattern. The centerline created with this method is kCenteredPatternCenterline type.
Namespace: Autodesk.iLogic.Interfaces
Assembly: Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 29.0
Syntax
VB
Function AddCenteredPattern ( name As String, patternCenter As GeometryIntent, centerEntities As IEnumerable(Of Object), Optional centermarkStyle As CentermarkStyle = Nothing, Optional layer As Layer = Nothing, Optional closed As Boolean = false ) As IManagedCenterline
C#
IManagedCenterline AddCenteredPattern( string name, GeometryIntent patternCenter, IEnumerable<Object> centerEntities, CentermarkStyle centermarkStyle = null, Layer layer = null, bool closed = false )
Parameters
- name
- Type: System.String
The name of the managed centerline. - patternCenter
- Type: GeometryIntent
Input GeometryIntent that defines the a circular or elliptical drawing curve that defines the center of the pattern. - centerEntities
- Type: System.Collections.Generic.IEnumerable(Object)
Input ObjectCollection object that contains the set of entities that define the points the centerline passes through. Valid objects for input are GeometryIntent objects that reference circular or elliptical drawing curves, and center marks. - centermarkStyle (Optional)
- Type: CentermarkStyle
Object that specifies the center mark style to use for the centerline. If not specified, the style defined by the active standard is used. - layer (Optional)
- Type: Layer
Object that specifies the layer to use for the centerline. If not specified, the layer defined by the active standard is used. - closed (Optional)
- Type: System.Boolean
Input Boolean that indicates if the centerline should be closed or not.
Return Value
Type: IManagedCenterlineThe managed centerline.