PlantWise Help

Language Specification

<equipment description> ::=
(The <equipment class> is composed of {<element description>}* )

<element description> ::=
element <element name> with <element type descriptor>
	[display = < on | off >];;
		default = on for solid and service element types
	[layer = <layer-name>];;
		default = equipment | obstacle depending on element type
	[supporting = < yes | no >];; default = no
	[local-x-origin = <expression>];; default = 0.0
	[local-y-origin = <expression>];; default = 0.0
	[local-z-origin = <expression>];; default = 0.0
	[local-x-rotation = <expression>];; default = 0.0
	[local-y-rotation = <expression>];; default = 0.0
	[local-z-rotation = <expression>];; default = 0.0

<layer-name> ::= <symbol> | <number>
Elements that are defined as supporting will be used to calculate what structure or pipeway section is supporting the piece of equipment when running a report on supporting sections. If no elements are defined as supporting, all non-obstacle and non-service space elements will be used to calculate the supporting structure.
<element type descriptor> ::=
	<basic element description> |
	<obstacle element description> |
	<service element description> |
	<text element description>

<basic element description> ::=
	<cylinder description> |
	<box description> |
	<transition description> |
	<cylindrical transition description> |
	<elliptical head description> |
	<ring section description> |
	<torus section description> |
	<symbol description> |
	<mass description>

<cylinder description> ::=
	geometry = cylinder
	diameter = <expression>
	length = <expression>

<box description> ::=
	geometry = box
	x-dimension = <expression> 
	y-dimension = <expression>
	z-dimension = <expression>

<transition description> ::=
	geometry = transition
	length = <expression>
	width1 = <expression>
	height1 = <expression>
	width2 = <expression>
	height2 = <expression>
	woffset = <expression> ;; width offset
	hoffset = <expression> ;; height offset

<cylindrical transition description> ::=
	geometry = cylindrical-transition
	length = <expression>
	diameter1 = <expression>
	diameter2 = <expression>
	xoffset = <expression> ;; center x-offset
	yoffset = <expression> ;; center y-offset

<elliptical head description> ::=
	geometry = elliptical-head
	radius = <expression>
	length = <expression>

<ring section description> ::=
	geometry = ring
	inner-radius = <expression>
	outer-radius = <expression>
	thickness = <expression>
	angle = <expression>

<torus section description> ::=
	geometry = torus
	bending radius = <expression>
	thickness = <expression>
	angle = <expression>

<symbol description> ::=
	geometry = symbol
	library = “<name of MicroStation cell library>”
	cell-name = “<name of MicroStation cell>”
	[x-scale = <expression>]
	[y-scale = <expression>]
	[z-scale = <expression>]

<text element description> ::=
	geometry = text
	width = <expression>
	string = <string expression>
	rotation = <string rotation>

	<string rotation> ::=
		parallel | ;; parallel to equipment axis
		perpendicular | ;; perpendicular to equipment axis
		east-west | ;; parallel to x-axis
		north-south | ;; parallel to y-axis

	<expression> ::=
		<arbitrary numeric or boolean infix expression>

	<string-expression> ::=
		<arbitrary string expression>

<obstacle element description> ::=
	type = obstacle
	<basic element description>

<service element description> ::=
	type = service
	<basic element description>
	
<mass description> ::=
 geometry = mass 
	case = < empty | fluid >
	weight = <expression>
	Mx = <expression>
	My = <expression>
	Mz = <expression>