::hwat::utils::GetComponentSystem

Finds the system for the component.

Syntax

::hwat::utils::GetComponentSystem compid

Arguments

compid
The ID of the component.

Returns

Success
The system ID.
Failure
{}

Example

::hwat::utils::GetComponentSystem 102

Comments

This function assumes that all nodes of the component have the same system. The function returns 0 if the component does not have a system.