AssignSchemeZone¶
Type ISIAPIAssignSchemeZone · Interface
Namespace SIDRASolutions.SI.API
Assembly SIDRASolutions.SI.API.dll
COM CLSID DEB34AEB-ABD7-4ED5-AF64-5E11CE200231
AssignSchemeZone wrapper interface
Declaration¶
Members¶
Properties
| Property | Type | Summary |
|---|---|---|
| AssignZoneID | string |
|
| LayoutX | float |
The X-coordinate of the top-left corner of an Assign Scheme Zone Image in the Network Configuration Layout. |
| LayoutY | float |
The Y-coordinate of the top-left corner of an Assign Scheme Zone Image in the Network Configuration Layout. |
| ZIndex | int |
|
| IsInAssignNetwork | bool |
|
| AssignScheme | ISIAPIAssignScheme |
|
| AssignSchemeZoneConnections | ISIAPIAssignSchemeZoneConnections |
Methods
| Method | Returns | Summary |
|---|---|---|
| AddAssignSchemeZoneConnection(ISIAPINetworkSite, int, float) | ISIAPIAssignSchemeZoneConnection |
Connect this Assign Scheme Zone to a Site's Leg in this Network. |
| RemoveAssignSchemeZoneConnection(ISIAPIAssignSchemeZoneConnection) | bool |
Properties¶
AssignZoneID¶
Type string
Code samples
LayoutX¶
The X-coordinate of the top-left corner of an Assign Scheme Zone Image in the Network Configuration Layout.
Type float
Remarks
The Network Configuration Layout is used in the Assign Network Configuration Dialog in the SIDRA INTERSECTION program. An Assign Scheme Zone is shown as a circle. The dimension of an Assign Scheme Zone Image in the Network Configuration Layout is 60 x 60 pixels. In the Assign Network Configuration Dialog, the start point of view is (5000, 5000). So the Zones are added in through this dialog are usually located around the point (5000, 5000). For example, Zone1 (5200, 5100), Zone2 (5700, 5100). The Zones' locations in the detailed Assign Network Layout Display are based on the relative ratio of the Zones' locations in the Network Configuration Layout.
We suggest the layoutX and layoutY values to be around 5000, and between 0 and 10000.
Code samples
LayoutY¶
The Y-coordinate of the top-left corner of an Assign Scheme Zone Image in the Network Configuration Layout.
Type float
Remarks
The Network Configuration Layout is used in the Assign Network Configuration Dialog in the SIDRA INTERSECTION program. An Assign Scheme Zone is shown as a circle. The dimension of an Assign Scheme Zone Image in the Network Configuration Layout is 60 x 60 pixels. In the Assign Network Configuration Dialog, the start point of view is (5000, 5000). So the Zones are added in through this dialog are usually located around the point (5000, 5000). For example, Zone1 (5200, 5100), Zone2 (5700, 5100). The Zones' locations in the detailed Assign Network Layout Display are based on the relative ratio of the Zones' locations in the Network Configuration Layout.
We suggest the layoutX and layoutY values to be around 5000, and between 0 and 10000.
Code samples
ZIndex¶
Type int
Code samples
IsInAssignNetwork¶
Type bool
Code samples
AssignScheme¶
Type ISIAPIAssignScheme
Code samples
AssignSchemeZoneConnections¶
Type ISIAPIAssignSchemeZoneConnections
Code samples
Methods¶
AddAssignSchemeZoneConnection(ISIAPINetworkSite, int, float)¶
Connect this Assign Scheme Zone to a Site's Leg in this Network.
ISIAPIAssignSchemeZoneConnection AddAssignSchemeZoneConnection(ISIAPINetworkSite nwSite, int legOrientation, float zoneAzimuthAngle)
Parameters
| Name | Type | Description |
|---|---|---|
nwSite |
ISIAPINetworkSite |
the NetworkSite to be connected |
legOrientation |
int |
the Orientation of the Leg in the NetworkSite |
zoneAzimuthAngle |
float |
Azimuth Angle on the Zone for the connection point. An Assign Scheme Zone is shown as a circle in a Display. Use zoneAzimuthAngle to specify the connection point on the circle. Angle Guide: 0: North, 45: Northeast, 90: East, 135: Southeast, 180: South, 225: Southwest, 270: West, 315: Northwest. |
Returns ISIAPIAssignSchemeZoneConnection - the new added Assign Scheme Zone Connection
Remarks
zoneAzimuthAngle is a transformed version of the AssignSchemeZoneConnection's Angle stored in the project file, where angles are measured counter-clockwise from East, i.e. 0: East, 90: North, 180: West, etc.
Code samples
RemoveAssignSchemeZoneConnection(ISIAPIAssignSchemeZoneConnection)¶
Parameters
| Name | Type | Description |
|---|---|---|
assignSchemeZoneConnection |
ISIAPIAssignSchemeZoneConnection |
Returns bool