Solid Edge Framework Type Library
IsItemTypeSmartCodesConfigured Method
Item type.
Boolean argument to tell given item type smart code configured or not.
Description
Tells given item type is Smart Codes configured or not
Syntax
Visual Basic
Public Sub IsItemTypeSmartCodesConfigured( _
   ByVal bstrItemType As String, _
   ByRef pvbIsSmartCodesConfigured As Boolean _
) 
Parameters
bstrItemType
Item type.
pvbIsSmartCodesConfigured
Boolean argument to tell given item type smart code configured or not.
Example
Option Explicit

Sub Example()
    Dim objApplication As SolidEdgeFramework.Application
    Dim objTCE As SolidEdgeFramework.SolidEdgeTCE
    Dim sItemType As String
    Dim bSmartCodesConfigured As Boolean

    Set objApplication = GetObject(, "SolidEdge.Application")
    Set objTCE = objApplication.SolidEdgeTCE

    sItemType = "Item"
    bSmartCodesConfigured = False

    Call objTCE.IsItemTypeSmartCodesConfigured(sItemType, bSmartCodesConfigured)

    If Not objApplication Is Nothing Then
        Call objApplication.Quit
    End If
    
    Set objTCE = Nothing
    Set objApplication = Nothing
End Sub
See Also

SolidEdgeTCE Object  | SolidEdgeTCE Members  | Solid Edge ST2 - What's New