How to add an Attribute to a Function: 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 4: Line 4:


{{Editor steps|title=add an Attribute to a Function
{{Editor steps|title=add an Attribute to a Function
|Set the group filter to "Attributes".
|Set the group filter to "Custom".
|At the bottom of the window, enter the name for the [[Attribute]] in the Attribute input field
|At the bottom of the window, enter the name for the [[Attribute]] in the Attribute input field
|Click on "Add" next to the Attribute input field.
|Click on "Add" next to the Attribute input field.
Line 10: Line 10:


<gallery widths=300px>
<gallery widths=300px>
File:Function_group_custom.jpg|Set the group filter to ''Attributes''.
File:Function_group_custom.jpg|Set the group filter to ''Custom''.
File:Function_attribute_add.jpg|Type the name of the new attribute and click on the ''Add'' button.
File:Function_attribute_add.jpg|Type the name of the new attribute and click on the ''Add'' button.
File:Function_attribute_custom.jpg|Attribute column has been added and several functions have been given a value for the custom attribute.
</gallery>
</gallery>


{{article end
{{article end
|notes=
|notes=
* Selecting the group filter ''Custom'' hides the default function and category values of a function. The group filter ''Attributes'' shows both.
* The [[Function]] selected in the [[Function Value]]s window will have the added [[Attribute]] set to 1. Other [[Function]]s will have their value for that [[Attribute]] listed as 0.
* The [[Function]] selected in the [[Function Value]]s window will have the added [[Attribute]] set to 1. Other [[Function]]s will have their value for that [[Attribute]] listed as 0.
|seealso=
|seealso=* [[Function]]
|howtos=
* [[How to create Functions]]
* [[How to create Functions]]
* [[How to add Functions for editing]]
* [[How to add Functions for editing]]

Latest revision as of 14:18, 1 February 2024

While each Function in the Tygron Platform already has a large amount of Function Values, the values available by default do not neccesarily define all aspects of buildings you may be interested for your own calculations. It is possible to add user-defined Attributes to any Function, which behave very similarly to built in Function Values.

Editor → Current Situation (Ribbon tab) → Buildings (Ribbon bar) → Edit Function Values (Dropdown)
How to add an Attribute to a Function:
  1. Set the group filter to "Custom".
  2. At the bottom of the window, enter the name for the Attribute in the Attribute input field
  3. Click on "Add" next to the Attribute input field.
  4. The Attribute is now added to all Functions, and can be edited.

Notes

  • Selecting the group filter Custom hides the default function and category values of a function. The group filter Attributes shows both.
  • The Function selected in the Function Values window will have the added Attribute set to 1. Other Functions will have their value for that Attribute listed as 0.

How-to's

See also