NEW RELEASE! The 2022x Refresh2 Hot Fix 3 was released on February 28, 2025. For more information, see 2022x Refresh2 Hot Fix 3 Version News.

You can use the following API to get a tag value:

public Object getTagValue(Object_ object, String tagName) throws Exception {
...
}


If the RuntimeObject is omitted, $context$ or self will be used as an object. The context object in the parametric is the constraint block object that owns the constraint, not the actual context of the diagram. The following example shows how to get a tag value without specifying a RuntimeObject in ALH API:

public Object getTagValue(String tagName) throws Exception {
...
}


The following code fragment shows how to get tag values, e.g., max, through ALH API. See also Value access and references by tags.

ALH.getTagValue(d, “uniform.max”);	// 10

Activity

All
Personal filters
All
No activities found