Elipse Plant Manager — EPM Web API

Version 5.0.45

epmwebapi.epmmodelobject

class EpmModelObject(epmwebapi.epmobject.EpmObject):

Class representing an EPM Model Object.

EpmModelObject(epmConnection, itemPath, path, name, type='')
def enumObjects(self) -> collections.OrderedDict:
Returns

An Ordered Dictionary with all child objects from this object.

def addInstances( self, names: List[str], objTypes: List[str]) -> OrderedDict[str, epmwebapi.epmobject.EpmObject]:

Adds new instances to the current object.

Parameters
  • names: A List with new instance names.
  • objTypes: A List with object types.
Returns

An Ordered Dictionary with all objects created.

def removeInstance(self, name: str):

Removes a child object from this object.

Parameters
  • name: Name of an object to remove.
def setBindedVariables(self, aliasProperties: List[str], variablesNames: List[str]):

Sets the bind variable from a list of Alias Properties.

Parameters
  • aliasProperties: List with Alias Properties.
  • variablesNames: List of Data Objects to bind.
class ObjectDependenciesException(builtins.Exception):

Common base class for all non-exit exceptions.

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
add_note
args
class InstanceNameDuplicatedException(builtins.Exception):

Common base class for all non-exit exceptions.

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
add_note
args
class InvalidObjectNameException(builtins.Exception):

Common base class for all non-exit exceptions.

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
add_note
args
class InvalidSourceVariableException(builtins.Exception):

Common base class for all non-exit exceptions.

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
add_note
args
class InvalidObjectTypeException(builtins.Exception):

Common base class for all non-exit exceptions.

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
add_note
args
class InvalidObjectPropertyException(builtins.Exception):

Common base class for all non-exit exceptions.

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
add_note
args