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 InsightXT 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
Private Sub Command1_Click()
    On Error Resume Next
    Dim objApplication As SolidEdgeFramework.Application
    Dim objSolidEdgeInsightXT  As SolidEdgeFramework.SolidEdgeInsightXT
    
    Set objApplication = GetObject(, "SolidEdge.Application")
    Set objSolidEdgeInsightXT = objApplication.SolidEdgeInsightXT

    Dim strxml As String
    Dim strDefaultItemType As String
    
    strxml = Nothing
    strDefaultItemType = Nothing
    
    Call objSolidEdgeInsightXT.GetItemTypesInfo(strxml, strDefaultItemType)

    Set objSolidEdgeInsightXT = Nothing
    Set objApplication = Nothing
End Sub
See Also

SolidEdgeInsightXT Object  | SolidEdgeInsightXT Members  | Solid Edge ST4 - What's New