This class defines an object that defines one or more points in a
given space. This object can be associated with anything that subclasses
Identified Object in IEC 61970-301This class defines an object that
defines one or more points in a given space. This object can be
associated with anything that subclasses Identified Object in IEC
61970-301
|
|
__init__(self,
offsetY=0.0,
offsetX=0.0,
isPolygon=False,
rotation=0.0,
drawingOrder=0,
VisibilityLayers=None,
IdentifiedObject=None,
DiagramObjectStyle=None,
DiagramObjectPoints=None,
Diagram=None,
*args,
**kw_args)
Initialises a new 'DiagramObject' instance. |
|
|
|
|
| addDiagramObjectPoints(self,
*DiagramObjectPoints) |
|
|
|
|
| addVisibilityLayers(self,
*VisibilityLayers) |
|
|
|
|
getDiagram(self)
A diagram object is part of a Diagram |
|
|
|
|
getDiagramObjectPoints(self)
A diagram object can have 0 or more points to reflect its layout
position, routing (for polylines) or boundary (for polygons) |
|
|
|
|
getDiagramObjectStyle(self)
A diagram object has a style associated that provides a reference for
the style used in the originating system |
|
|
|
|
getIdentifiedObject(self)
The domain object that this diagram object is associated with |
|
|
|
|
getVisibilityLayers(self)
A diagram object can be part of multiple visibility layers |
|
|
|
|
| removeDiagramObjectPoints(self,
*DiagramObjectPoints) |
|
|
|
|
| removeVisibilityLayers(self,
*VisibilityLayers) |
|
|
|
|
|
|
|
| setDiagramObjectPoints(self,
value) |
|
|
|
|
| setDiagramObjectStyle(self,
value) |
|
|
|
|
| setIdentifiedObject(self,
value) |
|
|
|
|
| setVisibilityLayers(self,
value) |
|
|
|
Inherited from Core.IdentifiedObject'.IdentifiedObject:
addDiagramObjects,
addNames,
getDiagramObjects,
getModelingAuthoritySet,
getNames,
removeDiagramObjects,
removeNames,
setDiagramObjects,
setModelingAuthoritySet,
setNames
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
_attr_types = {'drawingOrder': <type 'int'>, 'isPolygon': <typ...
|
|
|
_attrs = ['offsetY', 'offsetX', 'isPolygon', 'rotation', 'draw...
|
|
|
_defaults = {'drawingOrder': 0, 'isPolygon': False, 'offsetX':...
|
|
|
_many_refs = ['VisibilityLayers', 'DiagramObjectPoints']
|
|
|
_refs = ['VisibilityLayers', 'IdentifiedObject', 'DiagramObjec...
|
|
|