Hide Table of Contents
SetSymbol Method (ISFSymbol)

Sets the type of symbol for this surface finish symbol.

.NET Syntax

Visual Basic (Declaration) 
Function SetSymbol( _
   ByVal Symbol As System.Integer, _
   ByVal SurfaceTexture As System.Integer, _
   ByVal AllAround As System.Boolean _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As ISFSymbol
Dim Symbol As System.Integer
Dim SurfaceTexture As System.Integer
Dim AllAround As System.Boolean
Dim value As System.Boolean
 
value = instance.SetSymbol(Symbol, SurfaceTexture, AllAround)
C# 
System.bool SetSymbol( 
   System.int Symbol,
   System.int SurfaceTexture,
   System.bool AllAround
)
C++/CLI 
System.bool SetSymbol( 
&   System.int Symbol,
&   System.int SurfaceTexture,
&   System.bool AllAround
) 

Parameters

Symbol
Type of symbol as defined in swSFSymType_e
SurfaceTexture
Symbol surface text type as defined in swSFSymType_e
AllAround
True if symbol is All Around, false if symbol is Local

Return Value

True if symbol is set, false if it is not

Remarks

The Symbol argument must be one of the following values from the swSFSymType_e enumeration: swSFBasic, swSFMachining_Req, swSFDont_Machine, swSFJIS_No_Machining, swSFJIS_Basic, or swSFJIS_Machining_Req.

ISFSymbol::GetSymbol will get this value.

 

If the symbol is...

Then use...

swSFJIS_No_Machining or swSFJIS_Basic

the SurfaceTexture argument must be one of these values from the swSFSymType enumeration:
swSFJIS_Surface_Texture_1, swSFJIS_Surface_Texture_2, swSFJIS_Surface_Texture_3,
or swSFJIS_Surface_Texture_4.


For any other symbol types, this argument is ignored, and 0 should be passed in. The ISFSymbol::GetSymbolSurfaceTexture method will get this value.

swSFBasic, swSFMachining_Req, or swSFDont_Machine

the AllAround argument indicates whether this is an All Around or Local symbol.
Use ISFSymbol::GetSymbolAllAround to get this value.

 

 

 

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:   SetSymbol Method (ISFSymbol)
*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) 2013 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.