Attribute

From Tygron Preview Support Wiki
Jump to navigation Jump to search

Template:Learned

What is an Attribute?

An attribute is a characteristic of a particular component in the 3D world like an areas or a construction. An attribute is always a number and can have a positive or a negative value.

Attributes in relation to the Tygron Engine

Attributes contain information about a particular component which can be used in Excel calculations. When used in a calculation or as part of an event, the value of the attribute can be changed. The attributes and the value at the starting point of the project are added by default and can be added manually as well. It is also possible that some attributes are imported as a GeoJSON file as part of data about areas. The Engine assets where attributes are applied to are: neighborhoods, areas, constructions and zones.

The attribute is always described as number value. When the attribute is not given as a number the outcome of a calculation will be zero. But it is also possible that the legit outcome of a calculation is zero. Therefor, when the outcome is zero it can be wise to check the spreadsheet for errors.

When you want to make use of an attribute in an Excel indicator you need to specify in the spreadsheet if the attribute is included int the calculation or not. This is done by the ACTIVE attribute. For the ACTIVE attribute the input is always 1 for active and 0 for not active.

How to add and remove attributes

Attributes can be added for neighborhoods, areas, constructions and zones. In order to add an attribute for one of these Engine assets you need to first open the panel of the particular asset.

File:Attribute add.png
This panel allows you to add new attributes
To add new attributes, open the Attributes tab on the right in the selected Engine asset.


How to Add a new attribute:
  1. Enter a new attribute name
  2. Enter a value
  3. Select "Save New Attribute".
How to Add a new attribute with GeoJson:
  1. xx
  2. xx
  3. xx met plaatje?.
How to Remove an attribute:
  1. It is not possible to remove an attribute.


Edit attributes

Normally it is not necessary to adjust the values of attributes.

Active

The "Name" field is where the name of a zone can be changed. The name of a zone can be seen on the zoning overlay. By entering a new name in the "Name" field, the zone can be given a more identifying name.

Color

Rudolf will explain the color

Add new Attribute with Name

Add new Attribute with Value

Reset variables