poIModel GetEntityInfo
Returns the property information for a given entity.
Syntax
model_handle GetEntityInfo entity property entityid
Application
HyperView Tcl Query
Description
This command returns information regarding the requested property. The possible values for the "property" argument depend upon the "entity" argument.
Inputs
- entity
- The possible values for this argument are "node" or "element".
- property
- For a "node" entity type, the property argument may have a value of "coord".
- entityid
- The entity id for which the property is requested.
Example
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]
# Get Information about the node coordinates, element centroid, element normals
model_handle GetEntityInfo node coord “Node 500”
model_handle GetEntityInfo element centroid “Shell 156”
model_handle GetEntityInfo element normal “Shell 100”
hwi CloseStack
Errors
Returns "error" if an invalid entity type/property combination is passed.