pulIMacro GetCreateTarget

Gets the “create target” value for the current macro.

Syntax

pulIMacro GetCreateTarget

Application

HyperWorks Tcl Query

Description

This command gets the value of the “create target” flag for the current macro. It returns true if the macro will create a target (curve), and false if no target will be created.

Example

hwi GetSessionHandle sess
sess GetClientManagerHandle pm plot
pm GetMacroHandle macro 1
puts [macro GetCreateTarget]

Errors

Returns 3 = HW_InvalidHandle if there is an invalid macro handle.

Keywords

HyperWorks

Macro

Tcl