Api session event editor netline insert point: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 40: | Line 40: | ||
with content: | with content: | ||
<pre>[ | <pre>[ 33, { | ||
"type" : "Point", | "type" : "Point", | ||
"coordinates" : [ | "coordinates" : [ 658771.5050542852, 6799382.520442228, -0.24 ] | ||
}, 1.0 ] | }, 1.0 ] | ||
</pre> | </pre> | ||
{{article end|seealso=*[[api session event editor netline]] | {{article end|seealso=*[[api session event editor netline]] | ||
*[[api session | *[[api session items netlines]] | ||
}} | }} | ||
[[Category:API]] | [[Category:API]] | ||
Revision as of 12:00, 1 April 2026
API Event to Insert a new Node in an existing Net Line, potentially splitting the Net Line into two parts. Also specify at what distance the new Nodes are merged with existing Nodes.
| Name | Importance | Type | Description | Values |
|---|---|---|---|---|
| 0 | REQUIRED | (NET_LINE Integer ID) | Net Line ID | |
| 1 | REQUIRED | (Point 3D with crs: EPSG:3857) | Inserted Node Point | |
| 2 | OPTIONAL | (Floating point number) | Node merge distance (optional, default: 1.0m) |
Response Codes
| Response Code: | Description |
|---|---|
| 204 | No Content |
| 300-600 | Codes Overview |
Example POST
Example POST: https://engine.tygron.com/api/session/event/editornetline/insert_point/?crs=3857&f=JSON&token=API_TOKEN
with content:
[ 33, {
"type" : "Point",
"coordinates" : [ 658771.5050542852, 6799382.520442228, -0.24 ]
}, 1.0 ]