Method that creates a center mark relative to drawing geometry. This can result in a center mark at the origin of a punch center if the specified geometry is the edge of a punch and the AtPunchCenter argument is true.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 25.0
Syntax
VB
Function Add (
name As String,
intent As GeometryIntent,
Optional extensionLinesVisible As Boolean = true,
Optional atPunchCenter As Boolean = true,
Optional centermarkStyle As CentermarkStyle = Nothing,
Optional layer As Layer = Nothing
) As IManagedCentermark
C#
IManagedCentermark Add(
string name,
GeometryIntent intent,
bool extensionLinesVisible = true,
bool atPunchCenter = true,
CentermarkStyle centermarkStyle = null,
Layer layer = null
)
Parameters
- name
- Type: System.String
The name of the managed centermark. - intent
- Type: GeometryIntent
Specifies the entity to create the center mark relative to. This is typically a circular or elliptical drawing curve but can be any drawing curve when it's the edge of a punch feature and you're creating the center point at the origin of the punch. The GeometryIntent object can be created using the CreateGeometryIntent method on the Sheet object. - extensionLinesVisible (Optional)
- Type: System.Boolean
Optional input Boolean that specifies if the extension lines should be visible in the created center mark. - atPunchCenter (Optional)
- Type: System.Boolean
Optional input Boolean that specifies if the input geometry is the edge of the punch feature the center mark should be created at the origin of the punch feature instead of the center of the input geometry. - centermarkStyle (Optional)
- Type: CentermarkStyle
Object that specifies the center mark style to use for the center mark. 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 center mark. If not specified, the layer defined by the active standard is used.
Return Value
Type:
IManagedCentermarkThe managed centermark.
See Also
Reference