HTTP API Process name: Create line (bearing/distance)

Creates a line from a bearing and distance.

Process JSON

 {
  "Operation": "Item.CreateLineBD",
  "PropertyMap": {
    "_ox@": "1",
    "_oy@": "1",
    "_bearingDeg@": "1",
    "_distance@": "1"
   }
 }	

Property Descriptions

Note:

Properties shown in RED are mandatory.

Bearing

The bearing, in degrees clockwise from north, of the line, as a simple value, or as an expression, eg '43.21' or 'Acos(0.728849)*180/3.14'

Distance

The length of the line, as a simple value, or as an expression, eg '12.34' or 'Max(123.4,broadcast_range#))'

Origin X

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

Origin Y

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


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).