GenerativeComponents Help

Script-based Transactions

Script-based transactions contain a GenerativeComponents script inside a transaction step. "New script transaction" is the default name of the transaction.  The GCScript expression is between the brackets of the transaction.

For example, Point is the node type that is defined by pt01, the internal variable name for the point variable, and point01, the top-level node name that is passed to GenerativeComponents and appears in the Graph. Once the Point is created, you can create a point object by using one of the techniques. The use of the . operator to refer to an technique to specify the point01 coordinates and reference coordinate system.

transaction script "New script transaction"
{
	Point pt01 = new Point("point01");
	pt01.ByCartesianCoordinates (baseCS, 4, 3, 5);
}

For a more in-depth discussion of GCScript, refer to the GCScript programming section.