pulIMacroParameter GetType

Returns the type of the macro parameter.

Syntax

pulIMacroParameter GetType

Application

HyperWorks Tcl Query

Description

This command returns the type of the macro parameter. The type can be either “scalar” or “entity”.

Example

hwi GetSessionHandle sess
sess GetClientManagerHandle pm plot
pm GetMacroHandle macro 1
macro GetParameterHandle param 1
puts [param GetType]

Errors

Returns 3 if there is an invalid parameter handle.

Returns 4 if the parameter type is neither “scalar” nor “entity” (and therefore, not a valid type).

Keywords

  • HyperWorks
  • XY Plot
  • Tcl
  • Query