SysMLUtil#
- class ansys.sam.sysml2.builder.classes.sysml_util.SysMLUtil#
Provides utility methods for SysML element name resolution and class lookup.
Overview#
Check and return the name of the element. |
|
Check and return the name of the element. |
|
Get the class constructor from type. |
Import detail#
from ansys.sam.sysml2.builder.classes.sysml_util import SysMLUtil
Method detail#
- static SysMLUtil.check_inherited_name(element: ansys.sam.sysml2.classes.sysml_element.SysMLElement) str#
Check and return the name of the element.
- static SysMLUtil.check_sysml_inherited_name(element: ansys.sam.sysml2.meta_model.element.Element) str#
Check and return the name of the element.
- static SysMLUtil.get_sysml_constructor(element_type: str) ansys.sam.sysml2.meta_model.e_object.EObject#
Get the class constructor from type.