getmetatag#

ENS_MAT.getmetatag(tag: str) Any#

Get the value of a tag in the METADATA attribute

Parameters:
tagstr
The string name of the METADATA tag to get
Returns:
Any

The value assigned to the tag in the METADATA attribute.

Examples

>>> session.ensight.objs.core.PARTS[0].setmetatag("FOO", "HELLO")
>>> print(session.ensight.objs.core.PARTS[0].getmetatag("FOO"))