Get Cables
Get a list of all cables.
Response Body
| Name | Type | Description |
|---|---|---|
ID |
String |
Unique ID of the Cable. |
Name |
String |
Name of the Cable. |
ClassName |
String |
Class Name of the Cable. |
ColorSlot |
Object |
Color/Decoration information about the Actor. |
PrimaryColor |
String |
Hex Code of Primary Color |
SecondaryColor |
String |
Hex Code of Secondary Color |
BoundingBox |
Object |
Bounding Box information about the Actor. |
min |
Object |
The minimum boundary of the bounding box in the corresponding axis. |
x |
Float |
Value along the X-axis. |
y |
Float |
Value along the Y-axis. |
z |
Float |
Value along the Z-axis. |
max |
Object |
The maximum boundary of the bounding box in the corresponding axis. |
x |
Float |
Value along the X-axis. |
y |
Float |
Value along the Y-axis. |
z |
Float |
Value along the Z-axis. |
location0 |
Object |
Start Location of the Cable |
x |
Float |
X Location in the World. |
y |
Float |
Y Location in the World. |
z |
Float |
Z Location in the World. |
Connected0 |
Boolean |
Is Belt Connected at starting point? |
location1 |
Object |
End Location of the Cable |
x |
Float |
X Location in the World. |
y |
Float |
Y Location in the World. |
z |
Float |
Z Location in the World. |
Connected1 |
Boolean |
Is Belt Connected at ending point? |
Length |
Float |
Length of the Cable in centimetre (cm). |
features |
Object |
An object with actor coordinates and name information. |
properties |
Object |
Name information about the actor. |
name |
String |
Display Name of the Actor. |
type |
String |
Type of the Object. |
geometry |
Object |
Geometry information about the Actor. |
coordinates |
Object |
The Actor coordinates. |
x |
Float |
X Location of the Actor. |
y |
Float |
Y Location of the Actor. |
z |
Float |
Z Location of the Actor. |
type |
String |
It’s always "Point". |
Example Response
[
{
"ID": "Build_PowerLine_C_2147471908",
"Name": "Power Line",
"ClassName": "Build_PowerLine_C",
"location0": {
"x": -68843.069974126644,
"y": 253515.77800282693,
"z": -2959.982177734375
},
"location1": {
"x": -70489.995483398438,
"y": 254030,
"z": -2912.8187255859375
},
"Length": 1725.9815673828125,
"features": {
"properties": {
"name": "Power Line",
"type": "Power Line"
},
"geometry": {
"coordinates": [
[
-68843.069974126644,
253515.77800282693,
-2959.982177734375
],
[
-70489.995483398438,
254030,
-2912.8187255859375
]
],
"type": "LineString"
}
}
}
]