pulIMacroParameter SetType

Sets the type of the macro parameter.

Syntax

pulIMacroParameter SetTypetype

Application

HyperWorks Tcl Modify

Description

This command sets the type of the macro parameter to type.

Inputs

type
The macro parameter type. Acceptable values for type are “scalar” and “entity”.

Example

hwi GetSessionHandle sess
sess GetClientManagerHandle pm plot
pm GetMacroHandle macro 1
macro GetParameterHandle param 1
param SetType scalar

Errors

Returns 3 if there is an invalid parameter handle.

Returns 4 if type is invalid (neither “scalar” nor “entity”).

Keywords

  • HyperWorks
  • XY Plot
  • Tcl
  • Modify