tblITableEditor GetRuleIdsActingOnCell

Returns a string containing a list of all the rule IDs acting on the queried cell.

Syntax

tblITableEditor_handle GetRuleIdsActingOnCellcellName

Application

HyperWorks Tcl Query

Description

Returns the list of all the rule IDs acting on the queried cell. For example, 1 2.

Example

set t [hw::GetT]
set activetableHandle [hwi GetActiveClientHandle ch$t]
set ruleid [$activetableHandle AddRule]
set ruleHandle [$activetableHandle GetRuleHandle rh$ruleid $ruleid]
$ruleHandle SetCellList "A1 A2 B1 B2"
$ruleHandle SetBackgroundColor 3
$ruleHandle SetTextColor 0
$ruleHandle SetValue 10
$ruleHandle SetOperator ">"
$ruleHandle ReleaseHandle
set ruleids [$activetableHandle GetRuleIdsActingOnCell "A2"]
puts "Rule ids: $ruleids act on cell A2"
$activetableHandle ReleaseHandle

Errors

None.