Net Function: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:




{{article end
|seealso=
* [[Net Function]]
* [[Net Type]]
}}
{{editor current situation nav}}


[[Category:Items]]
[[Category:Items]]

Revision as of 15:17, 28 February 2023

Net Function is an item that stores properties that are shared among a group of Net Lines. First and foremost, the Net Type is stored in this Net Function. Furthermore, attributes stored in this item include its color or visualization diameter, are inherited by their net lines.

Each Net Line references to a Net Function. Changes made to a Net Function are stored in a Net Function Override.

Attributes

Net lines can have any number of arbitrary attributes. A few attribute names are reserved and have a special function. Generally these are defined in their Net Function, but can be overridden by the Net Line.

COLOR: The color of the net line used in the visualization of the network.

DIAMETER_M: The diameter of the net line. This can be used in calculations and also affects the width of the net line as visible in the 3D Visualization.

PRICE_M: The price per meter. Can be used to calculate the costs of the net lines.

VISUALIZATION_DIAMETER_M: The diameter of the net line. Similar to DEF_DIAMETER_M, this attribute affects the visualized width of the net line in the 3D Visualization, but is not intended to be used in calculations.