poIPartAssembly GetType

Gets the part assembly type ("PLMXML" or "User").

Syntax

poIPartAssembly_handle GetType

Application

HyperView Tcl Query

Description

This command retrieves the type a part assembly. This will either be "PLMXML" or "User" depending on if the part assembly was user defined or defined via a PLMXML file.

Example

To get the part assembly type:
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetModelHandle model_handle [client_handle GetActiveModel]
model_handle GetPartAssemblyHandle part_assembly_handle 4
part_assembly_handle GetType
hwi CloseStack

Errors

Returns an empty string if an error occurs and sets the error condition on the session handle. See session_handle GetError.