poIPart GetPropertyName

Gets the ID for the property related to a component.

Syntax

poIPart_handle GetPropertyName

Application

HyperView Tcl Query

Description

This command returns the name of the property related to a component.

Example

To get the property name of a component with id 1:
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 GetPartHandle part_handle "Part 1"
part_handle GetPropertyName
hwi CloseStack

Errors

Returns empty string if no property name is found for the component or an error occurred.