start

Syntax

start id --> operations

Parameters

Description

The start keyword marks a rule as the start rule of the current ruleset (i.e. the cga file).

This rule can be used not only by its id but also conveniently via the generic start, see example below.

Start rules can be used in rule redefinitions of extension rules inside import statements. See the import page for detailed information (syntax 6) and examples.

Start rules cannot be defined in styles other than the Default style.

Related

Example

Reference a start rule

// rule.cga

start Init --> start(20) // same as Init(20)
start Init(height) --> extrude(height)
// main.cga

import rule : "rule.cga"

Lot --> rule.start(10) // same as rule.Init(10)

Copyright ©2008-2023 Esri R&D Center Zurich. All rights reserved.