Api session event editor netline remove repeated: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API Event to Remove the Net Lines, and optionally continue removing for Net Nodes that are connected the removed Net Line and that are only connected to one other Net Line of the same Net Type of the specified Net Line. {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(NET_LINE Integer ID or multiple values in array [1, 2, 3]) |Net Line IDs | |- |1 |REQUIRED |(true, false) |Is repeated removal |true or false |} ===Response Cod..."
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
API Event to Remove the [[Net Line]]s, and optionally continue removing for [[Net Node]]s that are connected the removed Net Line and that are only connected to one other Net Line of the same Net Type of the specified Net Line.
API Event to Remove the [[Net Line]], and optionally continue removing for [[Net Node]] that are connected the removed [[Net Line]] and that are only connected to one other [[Net Line]] of the same Net Type of the specified [[Net Line]].
{|class=wikitable
{|class=wikitable
!Name
!Name
Line 31: Line 31:
|}
|}
===Example POST===
===Example POST===
Example POST: https://engine.tygron.com/api/session/event/editornetline/remove_repeated/?f=HTML&token=API_TOKEN
Example POST: https://engine.tygron.com/api/session/event/editornetline/remove_repeated/?f=JSON&token=API_TOKEN


with content:  
with content:  
<pre>[ [ 1, 2, 3 ], true ]
<pre>[ [ 1, 2, 3 ], true ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor netline]]}}
{{article end|seealso=*[[Api session event editor netline]]
*[[Api session items netlines]]
}}


[[Category:API]]
[[Category:API]]

Latest revision as of 12:09, 1 April 2026

API Event to Remove the Net Line, and optionally continue removing for Net Node that are connected the removed Net Line and that are only connected to one other Net Line of the same Net Type of the specified Net Line.

Name Importance Type Description Values
0 REQUIRED (NET_LINE Integer ID or multiple values in array [1, 2, 3]) Net Line IDs
1 REQUIRED (true, false) Is repeated removal true or false

Response Codes

Response Code: Description
204 No Content
300-600 Codes Overview

Example POST

Example POST: https://engine.tygron.com/api/session/event/editornetline/remove_repeated/?f=JSON&token=API_TOKEN

with content:

[ [ 1, 2, 3 ], true ]