How to add an Area to a Measure: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:
| Configure this new event also as "AREA_SET_ACTIVE", set the "Area ID" to the desired Area, and ensure "Activated" is unchecked.
| Configure this new event also as "AREA_SET_ACTIVE", set the "Area ID" to the desired Area, and ensure "Activated" is unchecked.
| Click on "Commit".
| Click on "Commit".
}}
{{article end
|notes=
* It is not possible to dynamically create [[Area]]s, so activating and deactivating [[Area]]s is the only effective way to effectively change their state.
* The described steps include both an instruction to activate an [[Area]] upon activation of the [[Measure]], as well as an instruction to deactivate the same [[Area]] when the [[Measure]] is cancelled. This ensures that deactivating a [[Measure]]s does not leave any remaining [[Area]] erroneously active.
|seealso=
* [[Measure]]
* [[Area]]
* [[Event]]
}}
}}

Revision as of 09:57, 23 March 2023

For some calculations, it may be neccesary or prudent to include data in a Project in the form of Areas, such as as a basis for the Travel Distance Overlay. However, making Area's dynamic for Future Designs, such as having a specific Area only exist when a certain Measure has been activated, will require some specific setup.

Editor → Future Design (Ribbon tab) → Measures (Ribbon bar)
How to activate and deactivate an Area together with a Measure:
  1. Ensure the Area which should be (de)activated exists as data in the Project.
  2. Ensure the Area is not set to Active.
  3. In Future Design, open the list of Measures.
  4. Select the Measure which should (de)activate the Area.
  5. In the right panel, select the tab "Events".
  6. Ensure the dropdown is set to "On construction planned".
  7. At the bottom of the right panel, opt to add a "Server" event. This adds a "NO_DEF" event to the list of events.
  8. Select the "NO_DEF" event.
  9. In the bottom panel, select the "AREA_SET_ACTIVE" event.
  10. For "Area ID", select the desired Area. Ensure "Activated" is checked.
  11. Click on "Commit" to save the configured event.
  12. Switch the dropdown in the right panel to "On construction cancelled".
  13. Add another "Server" event, and select the newly added "NO_DEF" event.
  14. Configure this new event also as "AREA_SET_ACTIVE", set the "Area ID" to the desired Area, and ensure "Activated" is unchecked.
  15. Click on "Commit".

Notes

  • It is not possible to dynamically create Areas, so activating and deactivating Areas is the only effective way to effectively change their state.
  • The described steps include both an instruction to activate an Area upon activation of the Measure, as well as an instruction to deactivate the same Area when the Measure is cancelled. This ensures that deactivating a Measures does not leave any remaining Area erroneously active.

See also