Automatically inserts the specified center marks in this view.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IView
Dim InsertType As Integer
Dim InsertOption As Integer
Dim LinearSlotCenter As Boolean
Dim ArcSlotCenter As Boolean
Dim UseDocumentDefaults As Boolean
Dim Size As Double
Dim ExtendedLines As Boolean
Dim CenterLineFont As Boolean
Dim Angle As Double
Dim value As 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