Hide Table of Contents
SetFrameSymbols2 Method (IGtol)

Sets the symbols for the specified frame.

.NET Syntax

Visual Basic (Declaration) 
Sub SetFrameSymbols2( _
   ByVal FrameNumber As System.Short, _
   ByVal GCS As System.String, _
   ByVal TolDia1 As System.Boolean, _
   ByVal TolMC1 As System.String, _
   ByVal TolDia2 As System.Boolean, _
   ByVal TolMC2 As System.String, _
   ByVal DatumMC1 As System.String, _
   ByVal DatumMC2 As System.String, _
   ByVal DatumMC3 As System.String _
) 
Visual Basic (Usage) 
Dim instance As IGtol
Dim FrameNumber As System.Short
Dim GCS As System.String
Dim TolDia1 As System.Boolean
Dim TolMC1 As System.String
Dim TolDia2 As System.Boolean
Dim TolMC2 As System.String
Dim DatumMC1 As System.String
Dim DatumMC2 As System.String
Dim DatumMC3 As System.String
 
instance.SetFrameSymbols2(FrameNumber, GCS, TolDia1, TolMC1, TolDia2, TolMC2, DatumMC1, DatumMC2, DatumMC3)
C# 
void SetFrameSymbols2( 
   System.short FrameNumber,
   System.string GCS,
   System.bool TolDia1,
   System.string TolMC1,
   System.bool TolDia2,
   System.string TolMC2,
   System.string DatumMC1,
   System.string DatumMC2,
   System.string DatumMC3
)
C++/CLI 
void SetFrameSymbols2( 
&   System.short FrameNumber,
&   System.String^ GCS,
&   System.bool TolDia1,
&   System.String^ TolMC1,
&   System.bool TolDia2,
&   System.String^ TolMC2,
&   System.String^ DatumMC1,
&   System.String^ DatumMC2,
&   System.String^ DatumMC3
) 

Parameters

FrameNumber
Feature control frame 1 for first
GCS
Geometric tolerance symbol (see Remarks)
TolDia1
Diameter symbol exists for tolerance 1 (True or false)
TolMC1
Material condition symbol for tolerance 1 (see Remarks)
TolDia2
Diameter symbol exists for tolerance 2 (True or false)
TolMC2
Material condition symbol for tolerance 2 (see Remarks)
DatumMC1
Material condition symbols for primary datum (see Remarks)
DatumMC2
Material condition symbols for secondary datum (see Remarks)
DatumMC3
Material condition symbols for tertiary datum (see Remarks)

Example

Remarks

GTol symbols are defined in C:\ProgramData\SolidWorks\SolidWorks 20nn\lang\english\gtol.sym. Reference this file to specify GCS, TolMC1, TolMC2, DatumMC1, DatumMC2, and DatumMC3 in <LibraryName-SymbolName> format.

Examples:

  • GCS = "<IGTOL-POSI>" (Position symbol in the ISO Geometric Tolerancing Symbols library)
  • TolMC1 = "<MOD-LMC>" (Least Material Condition symbol in the Modifying Symbols library)

After calling this method, call IGtol::SetFrameValues2 to specify tolerance and datum values.

 

See Also



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:   SetFrameSymbols2 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.