Api session event editor netline: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
API api session event editor netline Events.
Api session event editor netline Events.


NetLine editing.
[[Net Line]] editing.
{|class=wikitable
{|class=wikitable
!Name
!Name
!Description
!Description
|-
|-
|[[api session event editor netline add|ADD]]
|[[Api session event editor netline add|ADD]]
|Add a [[Net Line]] with the provided [[Net Function]]
|Add a [[Net Line]] with the provided [[Net Function]]
|-
|-
|[[api session event editor netline append attribute|APPEND_ATTRIBUTE]]
|[[Api session event editor netline append attribute|APPEND_ATTRIBUTE]]
|Appended to existing [[Net Line]] attribute value
|Appended to existing [[Net Line]] attribute value
|-
|-
|[[api session event editor netline remove|REMOVE]]
|[[Api session event editor netline remove|REMOVE]]
|Remove [[Net Line]]s
|Remove [[Net Line]]
|-
|-
|[[api session event editor netline remove attribute|REMOVE_ATTRIBUTE]]
|[[Api session event editor netline remove attribute|REMOVE_ATTRIBUTE]]
|Remove the specified attributes for each specified [[Net Line]]
|Remove the specified attributes for each specified [[Net Line]]
|-
|-
|[[api session event editor netline set attribute|SET_ATTRIBUTE]]
|[[Api session event editor netline set attribute|SET_ATTRIBUTE]]
|For each [[Net Line]], set a particular Attribute to a specified array of values, optionally providing its [[Source]].
|For each [[Net Line]], set a particular Attribute to a specified array of values, optionally providing its [[Source]].
|-
|-
|[[api session event editor netline set attributes|SET_ATTRIBUTES]]
|[[Api session event editor netline set attributes|SET_ATTRIBUTES]]
|Set multiple [[Net Line]] attribute values
|Set multiple [[Net Line]] attribute values
|}
|}
Line 30: Line 30:
!Description
!Description
|-
|-
|[[api session event editor netline add for points|ADD_FOR_POINTS]]
|[[Api session event editor netline add for points|ADD_FOR_POINTS]]
|Connect start and end point with one (or more) [[Net Line]](s) of a specified [[Net Function]]. Nodes are created for start and end point. Optionally connection the two points using the road system. Also specify at what distance the new Nodes are merged with existing Nodes.
|Connect start and end point with one (or more) [[Net Line]](s) of a specified [[Net Function]]. Nodes are created for start and end point. Optionally connection the two points using the road system. Also specify at what distance the new Nodes are merged with existing Nodes.
|-
|-
|[[api session event editor netline insert and add for points|INSERT_AND_ADD_FOR_POINTS]]
|[[Api session event editor netline insert and add for points|INSERT_AND_ADD_FOR_POINTS]]
|Insert one point into the first [[Net Line]] and a second point into the Second Net Line and potentially connect these two points with a new Net Line with a specified [[Net Function]]. Nodes are created for start and end point. Optionally connection the two points using the road system. Also specify at what distance the new Nodes are merged with existing Nodes.
|Insert one point into the first [[Net Line]] and a second point into the Second [[Net Line]] and potentially connect these two points with a new [[Net Line]] with a specified [[Net Function]]. Nodes are created for start and end point. Optionally connection the two points using the road system. Also specify at what distance the new Nodes are merged with existing Nodes.
|-
|-
|[[api session event editor netline insert point|INSERT_POINT]]
|[[Api session event editor netline insert point|INSERT_POINT]]
|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.
|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.
|-
|-
|[[api session event editor netline move and insert|MOVE_AND_INSERT]]
|[[Api session event editor netline move and insert|MOVE_AND_INSERT]]
|Place an existing Node at a new location and insert it 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.
|Place an existing Node at a new location and insert it 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.
|-
|-
|[[api session event editor netline remove all attributes|REMOVE_ALL_ATTRIBUTES]]
|[[Api session event editor netline remove all attributes|REMOVE_ALL_ATTRIBUTES]]
|Remove all attributes for each specified [[Net Line]]
|Remove all attributes for each specified [[Net Line]]
|-
|-
|[[api session event editor netline remove repeated|REMOVE_REPEATED]]
|[[Api session event editor netline remove repeated|REMOVE_REPEATED]]
|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.
|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]].
|-
|-
|[[api session event editor netline set net function|SET_NET_FUNCTION]]
|[[Api session event editor netline set net function|SET_NET_FUNCTION]]
|Set the [[Net Function]] for a [[Net Line]]
|Set the [[Net Function]] for a [[Net Line]]
|}
|}
{{article end|seealso=*[[Api Events]]}}
{{article end|seealso=*[[Api Events]]
*[[Api session items netlines]]
}}


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

Latest revision as of 12:09, 1 April 2026

Api session event editor netline Events.

Net Line editing.

Name Description
ADD Add a Net Line with the provided Net Function
APPEND_ATTRIBUTE Appended to existing Net Line attribute value
REMOVE Remove Net Line
REMOVE_ATTRIBUTE Remove the specified attributes for each specified Net Line
SET_ATTRIBUTE For each Net Line, set a particular Attribute to a specified array of values, optionally providing its Source.
SET_ATTRIBUTES Set multiple Net Line attribute values

Specific Events:

Name Description
ADD_FOR_POINTS Connect start and end point with one (or more) Net Line(s) of a specified Net Function. Nodes are created for start and end point. Optionally connection the two points using the road system. Also specify at what distance the new Nodes are merged with existing Nodes.
INSERT_AND_ADD_FOR_POINTS Insert one point into the first Net Line and a second point into the Second Net Line and potentially connect these two points with a new Net Line with a specified Net Function. Nodes are created for start and end point. Optionally connection the two points using the road system. Also specify at what distance the new Nodes are merged with existing Nodes.
INSERT_POINT 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.
MOVE_AND_INSERT Place an existing Node at a new location and insert it 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.
REMOVE_ALL_ATTRIBUTES Remove all attributes for each specified Net Line
REMOVE_REPEATED 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.
SET_NET_FUNCTION Set the Net Function for a Net Line