GenerativeComponents Help

Naming and Numbers

As you create objects in GenerativeComponents you give them a unique name. GenerativeComponents will do this automatically for you by giving the object the name of its type along with a number. For instance:

  • point03
  • line12
  • coordinateSystem04

You can, and should, give objects meaningful names of your own, following a few simple rules:

  1. The name must begin with a letter
  2. It may not contain spaces or special characters
  3. Names are case-sensitive

A common practice is to use join words together without spaces, called camel case:

  • assembly0001
  • height
  • numberOfBeams
  • treeFootPrint
  • Height is not same as height.

You can also name your own functions, generated node types and more.

Remember, case matters, that is GenerativeComponents is case-sensitive.

Numbers

You can use several different types of numbers in GenerativeComponents. You will use numbers to specify the locations of features and for any expressions you need.

Integer

A whole number:

  • 12
  • 378
  • -14
  • 1000

Double

Doubles are real numbers. Double is short for a double-precision floating point. For instance:

  • 43.0
  • 12.345
  • -34.667
  • 1.222E3
  • 0.347E-2