GenerativeComponents Help

Dot Operator

The DotOperator is a special operator. A node always has a given set of properties. For instance, the line node has the StartPoint, EndPoint and Length properties when being placed by the ByPoints method.

The dot operator " . ", allows you to capture or use a property of a node.

Examples of dot operator uses:

  • point01.X
  • line03.Length
  • polygon07.Area
  • coordinateSystem02.Xdirection
  • line04.StartPoint.XTranslation

You can use these properties to create new nodes. It is an economical way of working, as it will reduce the number of nodes overall. It is one of the most powerful tools in GenerativeComponents.