Automatically inserts the specified center marks in this view.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IView
Dim InsertType As System.Integer
Dim InsertOption As System.Integer
Dim LinearSlotCenter As System.Boolean
Dim ArcSlotCenter As System.Boolean
Dim UseDocumentDefaults As System.Boolean
Dim Size As System.Double
Dim ExtendedLines As System.Boolean
Dim CenterLineFont As System.Boolean
Dim Angle As System.Double
Dim value As System.Boolean
value = instance.AutoInsertCenterMarks(InsertType, InsertOption, LinearSlotCenter, ArcSlotCenter, UseDocumentDefaults, Size, ExtendedLines, CenterLineFont, Angle) |
Parameters
- InsertType
- Features for which to insert center marks as defined in swAutoInsertCenterMarkTypes_e
- InsertOption
- Center mark options as defined in swCenterMarkConnectionLine_e
- LinearSlotCenter
- True to add center marks to slot centers, false to add them to slot ends
- ArcSlotCenter
- True to add center marks to arc centers, false to add them to arc ends
- UseDocumentDefaults
- True to use the display attribute defaults specified in Document Properties > Centerlines/Center Marks, false to use the display attributes set by this method
- Size
- Size of center mark; valid only if UseDocumentDefaults is false
- ExtendedLines
- True to extend lines from center mark points, false to not; valid only if UseDocumentDefaults is false
- CenterLineFont
- True to use the centerline font, false to not; valid only if UseDocumentDefaults is false
- Angle
- Rotation angle for the center mark; a positive angle rotates the center mark counterclockwise
Return Value
True if successful, false if not
Example
Remarks
See Also
Availability
SolidWorks 2012 FCS, Revision Number 20.0