HTTP API Process name: Create box

Creates a rectangular Polygon, around a centre point.

Process JSON

 {
  "Operation": "Item.CreateBox",
  "PropertyMap": {
    "_angleDeg@": 43.21
    "_ox@": "1",
    "_oy@": "1",
    "_width@": "1",
    "_height@": "1"
   }
 }	

Property Descriptions

Note: Properties shown in RED are mandatory.

Angle

The rotation angle of the rectangle, in degrees anti-clockwise from east/the X axis, as a simple value, or as an expression, eg '43.21' or 'Acos(0.728849)*180/3.14'

Height

The height of the rectangle, as a simple value, or as an expression, eg '12.34' or '_sy#'

Origin X

The X coordinate of the centre of the rectangle, as a simple value, or as an expression, eg '12.34' or '_ox#'

Origin Y

The Y coordinate of the centre of the rectangle, as a simple value, or as an expression, eg '43.21' or '_oy#'

Width

The width of the rectangle, as a simple value, or as an expression, eg '43.21' or '_sx#'