hwIDataFile IsChannelMarked

Gets the marked state of the given data channel.

Syntax

hwIDataFile_handle IsChannelMarkeddatatype, request, component

Application

HyperWorks Tcl Query

Description

This command verifies if the given data channel is marked, and returns true if it is. The channel is identified by the datatype, request, and component parameters. These strings are specific to the particular file.

If the given data channel is not marked, it returns false.

Example

hwi GetSessionHandle sess1
sess1 GetDataFileHandle datafile "[sess1 GetSystemVariable ALTAIR_HOME]/demos/mv_hv_hg/plotting/adams/indy.req"
datafile MarkChannel Displacement “REQ/997000 Global CG movement” X
datafile IsChannelMarked Displacement "REQ/997000 Global CG movement" X
datafile UnmarkAllChannels
datafile IsChannelMarked Displacement "REQ/997000 Global CG movement" X

Error

false is returned if the hwIDataFile handle and/or any of the arguments are invalid.

Keywords

HyperWorks

XY plot

Tcl

import

query