pltIVector SetMetaData
Sets the metadata for the particular entity.
Syntax
pltIVector_handle SetMetaData key, value
Application
HyperWorks Tcl Query
Description
This command sets a metadata value for a particular key for that datasource (vector).
Inputs
- key
- The name of the MetaData.
- value
- The value of the MetaData.
Example
#Precondition : A curve must be available on the plot client window.
hwi GetActiveClientHandle cl;#Must be a plot client.
cl GetCurveHandle crv 1;#Get the handle of the curve at index 1.
crv GetVectorHandle yvec y;#Possible options are x or y or u or v
yvec SetMetaData HWUnit s
Errors
0 is returned on success or an error code is returned on failure.
Keywords
HyperWorks
Tcl
MetaData
Data Attribute
Query