poIPartAssembly GetTransformationMatrix

Gets the transformation matrix information.

Syntax

poIPartAssembly_handle GetTransformationMatrixcomp

Application

HyperView Tcl Query

Description

This command retrieves the transformation matrix information for a part assembly.

Inputs

comp
Indicates which component of the matrix to get:
-1
Get entire transformation matrix.
0
Get x0,y0,z0 component.
1
Get dx1,dy1,dz1 component
2
Get dx2,dy2,dz2 component
3
Get dx3,dy3,dz3 component

Example

To get the dx2,dy2,dz2 component of the transformation matrix for part assembly 4:
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 GetTransformationMatrix 2
hwi CloseStack

Errors

Returns an empty string if the part assembly handle is invalid or the comp argument is invalid. On error sets the error condition on the session handle. See session_handle GetError.