Creates a rectangular Polygon, around a centre point.
{ "Operation": "Item.CreateBox", "PropertyMap": { "_angleDeg@": 43.21 "_ox@": "1", "_oy@": "1", "_width@": "1", "_height@": "1" } }
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#'
Back to Processes Construction title page
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).