PlantWise Help

Obstacle Definition

All obstacles are rectangular prisms:
(dpar-obstacle-recreate-in-script <tag> <drawing-level>
<description> <hardness> <x-dimension> <y-dimension>
<z-dimension> <origin>)
where:
<tag> ::= <string>
  • A unique name.
<origin> ::= ‘(<real> <real> <real>)
  • X, Y, and Z coordinates of the placement point of the piece of equipment.
<drawing-level> ::= <string>
  • The name of a drawing level in the CAD drawing file.
<description> ::= <string>
  • A textual description.
<hardness> ::= :HARD
  • Originally, Bentley Systems was going to differentiate between hard and soft obstacles, but the functionality of soft obstacles has not yet been implemented.
<x-dimension> ::= <real>
<y-dimension> ::= <real>
<z-dimension> ::= <real>
  • The width, length, and height of the obstacle box.

Example:

(dpar-obstacle-recreate-in-script "control-room" 'BUILDING " " 
:HARD 150.0 120.0 200.0 '(2045.782625 2760.925875 1200.0))