The Diagram represents the diagram being exchanged. The initialView
attributes can be used to specify an initial view with the x,y
coordinates of the diagonal points. The coordinate system is a standard
Cartesian coordinate system and the orientation attribute defines a
positive or negative orientation. A positive orientation gives standard
‘right-hand’ orientation, with negative orientation
indicating a ‘left-hand’ orientation. For 2D
diagrams, a positive orientation will result in X values increasing from
left to right and Y values increasing from bottom to top. A negative
orientation gives the ‘left-hand’ orientation
(favoured by computer graphics displays) with X values increasing from
left to right and Y values increasing from top to bottom.The Diagram
represents the diagram being exchanged. The initialView attributes can be
used to specify an initial view with the x,y coordinates of the diagonal
points. The coordinate system is a standard Cartesian coordinate system
and the orientation attribute defines a positive or negative orientation.
A positive orientation gives standard ‘right-hand’
orientation, with negative orientation indicating a
‘left-hand’ orientation. For 2D diagrams, a positive
orientation will result in X values increasing from left to right and Y
values increasing from bottom to top. A negative orientation gives the
‘left-hand’ orientation (favoured by computer
graphics displays) with X values increasing from left to right and Y
values increasing from top to bottom.
|
|
__init__(self,
y1InitialView=0.0,
kind='other',
x2InitialView=0.0,
x1InitialView=0.0,
orientation='negative',
y2InitialView=0.0,
DiagramObjects=None,
CoordinateSystem=None,
GmlDiagramObjects=None,
DesignLocations=None,
*args,
**kw_args)
Initialises a new 'Diagram' instance. |
|
|
|
|
| addDesignLocations(self,
*DesignLocations) |
|
|
|
|
|
|
|
| addGmlDiagramObjects(self,
*GmlDiagramObjects) |
|
|
|
|
| getCoordinateSystem(self) |
|
|
|
|
|
|
|
|
|
|
| getGmlDiagramObjects(self) |
|
|
|
|
| removeDesignLocations(self,
*DesignLocations) |
|
|
|
|
|
|
|
| removeGmlDiagramObjects(self,
*GmlDiagramObjects) |
|
|
|
|
| setCoordinateSystem(self,
value) |
|
|
|
|
| setDesignLocations(self,
value) |
|
|
|
|
|
|
|
| setGmlDiagramObjects(self,
value) |
|
|
|
Inherited from IEC61968.Common.Document'.Document:
addActivityRecords,
addAssetRoles,
addChangeItems,
addChangeSets,
addErpOrganisationRoles,
addErpPersonRoles,
addFromDocumentRoles,
addMeasurements,
addNetworkDataSets,
addPowerSystemResourceRoles,
addScheduleParameterInfos,
addScheduledEvents,
addToDocumentRoles,
getActivityRecords,
getAssetRoles,
getChangeItems,
getChangeSets,
getErpOrganisationRoles,
getErpPersonRoles,
getFromDocumentRoles,
getMeasurements,
getNetworkDataSets,
getPowerSystemResourceRoles,
getScheduleParameterInfos,
getScheduledEvents,
getToDocumentRoles,
removeActivityRecords,
removeAssetRoles,
removeChangeItems,
removeChangeSets,
removeErpOrganisationRoles,
removeErpPersonRoles,
removeFromDocumentRoles,
removeMeasurements,
removeNetworkDataSets,
removePowerSystemResourceRoles,
removeScheduleParameterInfos,
removeScheduledEvents,
removeToDocumentRoles,
setActivityRecords,
setAssetRoles,
setChangeItems,
setChangeSets,
setErpOrganisationRoles,
setErpPersonRoles,
setFromDocumentRoles,
setMeasurements,
setNetworkDataSets,
setPowerSystemResourceRoles,
setScheduleParameterInfos,
setScheduledEvents,
setToDocumentRoles
Inherited from Core.IdentifiedObject'.IdentifiedObject:
addNames,
getModelingAuthoritySet,
getNames,
removeNames,
setModelingAuthoritySet,
setNames
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
_attr_types = {'kind': <type 'str'>, 'orientation': <type 'str...
|
|
|
_attrs = ['y1InitialView', 'kind', 'x2InitialView', 'x1Initial...
|
|
|
_defaults = {'kind': 'other', 'orientation': 'negative', 'x1In...
|
|
|
_enums = {'kind': 'DiagramKind', 'orientation': 'OrientationKi...
|
|
|
_many_refs = ['DiagramObjects', 'GmlDiagramObjects', 'DesignLo...
|
|
|
_refs = ['DiagramObjects', 'CoordinateSystem', 'GmlDiagramObje...
|
|
Inherited from IEC61968.Common.Document'.Document:
docStatus,
electronicAddress,
status
|