pulIDataGroup SetMetaData

Sets the specified metadata key to the specified value.

Syntax

curve_handle SetMetaData key, value

Application

HyperWorks Tcl Modify

Description

This command assigns the specified value to the specified key.

Inputs

key
Any string as specified by the user.
value
Any string or number as specified by the user.

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle page 1;
page GetWindowHandle win 1;
win GetClientHandle plot;
plot GetCurveHandle curve 1;
curve SetMetaData curve_name “Velocity (m/s)”;

Errors

Returns 3 = HW_InvalidHandle if there is an invalid handle.

Keywords

HyperWorks

XY plot

Tcl

Query

Data Group

Metadata