Hide Table of Contents
SetAllAroundThisSide Method (IGtol)

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

This property is valid only for bent, perpendicular, and multi-jog leaders. To create bent, perpendicular, and multi-jog leaders, use IAnnotation::SetLeader3.

Use:

 

See Also

Availability

SOLIDWORKS 2018 FCS, Revision Number 26.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   SetAllAroundThisSide Method (IGtol)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2018 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.