get_oo_property_value#

Maxwell2d.get_oo_property_value(aedt_object: object, object_name: str, prop_name: str) str | float | bool#

Return the Object-Oriented AEDT Object Properties.

Parameters:
aedt_objectobject

AEDT Object on which search for property. It can be any oProperty (ex. oDesign).

object_namestr

Path to the object list.

prop_namestr

Property name.

Returns:
str, float, bool

True when successful, False when failed.

Examples

>>> from ansys.aedt.core import Hfss
>>> app = Hfss()
>>> app.get_oo_property_value(app.odesign, "Design Settings", "ModelDepth")