Sets whether this GTol uses an All Around This Side leader.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub SetAllAroundThisSide( _
ByVal AllAroundTS As System.Boolean _
) |
Visual Basic (Usage) | |
---|
Dim instance As IGtol
Dim AllAroundTS As System.Boolean
instance.SetAllAroundThisSide(AllAroundTS) |
C# | |
---|
void SetAllAroundThisSide(
System.bool AllAroundTS
) |
C++/CLI | |
---|
void SetAllAroundThisSide(
& System.bool AllAroundTS
) |
Parameters
- AllAroundTS
- True to use an All Around This Side leader, false to not
Example
'VBA Preconditions:
'Open a drawing.
Dim swApp As SldWorks
Dim Part As ModelDoc2
Dim myGtol As Gtol
Dim myAnno As Annotation
Dim boolstatus As Boolean
Dim longstatus As Long
Option Explicit
Sub main()
Set swApp = Application.SldWorks
Set Part = swApp.ActiveDoc
Set myGtol = Part.InsertGtol()
If Not myGtol Is Nothing Then
myGtol.SetFrameSymbols2 1, "<IGTOL-SPROF>", False, "", False, "", "", "", ""
myGtol.SetFrameValues 1, ".031265", "", "", "", ""
myGtol.SetFrameSymbols2 2, "", False, "", False, "", "", "", ""
myGtol.SetFrameValues 2, "", "", "", "", ""
myGtol.SetPTZHeight "", False
myGtol.SetCompositeFrame False
myGtol.SetText 4, ""
myGtol.SetBetweenTwoPoints False, "", ""
myGtol.SetAllAroundThisSide True
Set myAnno = myGtol.GetAnnotation()
If Not myAnno Is Nothing Then
boolstatus = myAnno.SetPosition(0.801796955941255, 0.800162656875834, 0)
longstatus = myAnno.SetLeader3(swLeaderStyle_e.swBENT, 0, True, False, False, False)
End If
End If
Part.WindowRedraw
End Sub
Remarks
See Also
Availability
SOLIDWORKS 2018 FCS, Revision Number 26.0