Description

A table containing a list of XYZ positions specifying point locations.

Keys

The overall structure of a point list is a table with the following keys defined:


  • CmdName – The name that will be displayed in the Undo/Redo list – This can be excluded if using the Bcc.StartUndo() and Bcc.EndUndo()
  • Type = "Points" - defines the type of chain to a PointList
  • List - a table containing multiple points formatted as {x,y,z}
  • Color – the entity color can be specified using either the color name or the hexadecimal color value
    • Color = “Red”
    • Color = “#E400FF”
  • Layer – The name of the layer to create the entity on
    • Can be an existing layer or if does not exist the layer will be created 
    • if this is omitted the entity is created on the currently active layer in BobCAD
  • PointStyle - the attribute of the entity to be solid, dashed, etc (or various point styles for the point entity).  Please see the specific entity type for further information.


NOTE: The color, layer, linestyle, pointstyle defined in the individual entity will overwrite any attributes that are defined for the chain in this command

  • TransformMatrix - A 4x4 matrix can be specified to transform the given entities coordinates
    • TransformMatrix = {{1,0,0,0},{0,1,0,0},{0,0,1,0},{10,10,0,0}}

Example


myPointList = { CmdName="PointList", Type="Points", List={{10,10,0},{10,20,0},{10,30,0},{-10,10,0},{-10,20,0},{-10,30,0}}}