Elipse Plant Manager — EPM Web API
Version 5.0.45
epmwebapi.customtypedefinition
A Class representing a custom type configuration.
Returns
A list of Simple Properties of this Custom Type, containing name and initial value.
Returns
A list of Object Properties of this Custom Type, containing name and type.
Returns
A list of placeholders of this Custom Type, containing the type name.
Changes the icon for this Custom Type.
Parameters
- pathName: A path to a new image file.
Adds a new AliasProperty
to this Custom Type.
Parameters
- aliasName: Name of a new
AliasProperty
.
Raises
- Exception: Name already exists.
Removes an AliasProperty
from this Custom Type.
Parameters
- aliasName: Name of an
AliasProperty
to remove.
Raises
- Exception:
AliasProperty
not found.
Adds a new SimpleProperty
to this Custom Type.
Parameters
- name: Name of a new
SimpleProperty
. - initialValue: Optional parameter indicating an initial value for this
SimpleProperty
. Default is None.
Raises
- Exception: Name already exists.
Removes a SimpleProperty
from this Custom Type.
Parameters
- name: Name of a
SimpleProperty
to remove.
Raises
- Exception:
SimpleProperty
not found.
Adds a new ObjectProperty
to this Custom Type.
Parameters
- name: Name of a new
ObjectProperty
. - customType: Type of this new
ObjectProperty
.
Raises
- Exception:
ObjectProperty
does not exist. - Exception: Name already exists.
Removes an ObjectProperty
from this Custom Type.
Parameters
- name: Name of an
ObjectProperty
to remove.
Raises
- Exception:
ObjectProperty
not found.
Adds a new placeholder to this Custom Type.
Parameters
- customTypeName: Type of a placeholder.
Raises
- Exception: Type already is a placeholder.
- Exception: Type of placeholder does not exist.
Removes a placeholder from this Custom Type.
Parameters
- customTypeName: Name of a placeholder to remove.
Raises
- Exception: Placeholder not found.
Exports this Custom Type configuration to a file in JSON format.
Parameters
- fileName: Optional parameter with the name of a configuration file. Default is None.
- pathName: Optional parameter with a path to save the configuration file. Default is None.
Returns
A
dict
containing a Custom Type configuration saved on the indicated file.
Common base class for all non-exit exceptions.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- add_note
- args
Common base class for all non-exit exceptions.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- add_note
- args
Common base class for all non-exit exceptions.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- add_note
- args
Common base class for all non-exit exceptions.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- add_note
- args
Common base class for all non-exit exceptions.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- add_note
- args
Common base class for all non-exit exceptions.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- add_note
- args
Common base class for all non-exit exceptions.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- add_note
- args
Common base class for all non-exit exceptions.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- add_note
- args
Common base class for all non-exit exceptions.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- add_note
- args