Solid Edge Framework Type Library
GetItemTypesInfo Method
XML string containing item types.
Default Item Type.
Description
Returns item types in xml and default item type
Syntax
Visual Basic
Public Sub GetItemTypesInfo( _
   ByRef pbstrXML As String, _
   ByRef pbstrDefaultItemType As String _
) 
Parameters
pbstrXML
XML string containing item types.
pbstrDefaultItemType
Default Item Type.
Remarks
This API will return available item types in Teamcenter in the form of xml string. This xml contains item types per dataset type. The caller should parse xml string to get item types. This API also returns default item type.
Example
Option Explicit

Sub Example()
    Dim objApplication As SolidEdgeFramework.Application
    Dim objTCE As SolidEdgeFramework.SolidEdgeTCE
    Dim strxml As String
    Dim strDefaultItemType As String

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

    Call objTCE.GetItemTypesInfo(strxml, strDefaultItemType)

    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 ST - What's New