Вы находитесь на странице: 1из 21

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets
In drawing sheet object is defined the physical dimensions and general
layout of a drawing:
Size of the sheet
Drawing area
Text boxes
When a drawing is generated, these data items are retrieved from the
header file of the document and plotted according to the box definition.

Symbols
Data tables on sheet
Location
Column definitions

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

Drawing sheets
The structure of a drawing sheet object is:
Header
Text boxes
Symbols
Data tables (listings on the sheet)

S O F T W A R E

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / _SheetEditor


Use SheetEditor.mac for creating and modifying Drawing sheets.
Check that Drawing sheet object _SheetEditor exists and it has been
approved to the project.

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Sheet size


Start in Plant Modeller Tools> Run Script SheetEditor.mac located
/pms600/opt/pm/EloTools/macro.
Possibilities to define the size
of the blank sheet
Select from the list
Pick right upper corner point
on the sheet
Write values

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Drawing area


Drawing are is the area on the sheet reserved for drawing views.
Set the drawing area
Write values for lower left and upper right corner points
Or Pick Area on the sheet, first lower left corner then upper right
corner

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Margins


Set margins for applied to all text fields, like text boxes and data
columns

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Symbols


Insert
Add symbols to the sheet
Set the location e.g. with c (coordinates of
the sheet, origin is lower left corner)
Accept location with Space
Finish with Enter
Move
Select the symbol to be moved
Set the base point for move
Accept the new location of base point with
Space
Finish with Enter

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Symbols


Delete
Select the symbol to be deleted
Scale & Rotation
Select the symbol to be scaled and/or rotated
Set rotation
Set scale for X and Y

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Text Boxes


Edit & Create
Create new text boxes or edit existing
Browse
You can browse the drawing sheet
Move Box(es)
Move one or more text boxes
Boxes are selected by mouse left click inside
the box, Enter after boxes have been
selected
Move All Box(es)
Move all text boxes at the same time
Move distance in X and Y direction is written
9

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Text Boxes


Delete Box(es)
Delete one or more text boxes
Copy Box(es)
Copy one or more text boxes

Define text boxes so that all possible information is retrieved


automatically and users dont have to write it manually.

10

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Text Box definitions


Name
Unique name inside the sheet
Max. 3 characters
Editable
If user is allowed to modify the text
box, its set to be editable
Prompt
Prompt is shown when user is filling
the text box

11

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Text Box definitions

Location of text box


Pick corner points on the sheet
Write values to the fields
Justification
Select Left, Center or Right
Text Length
By Maximum is calculated the maximum number of characters
to the field according to the text size
12

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Text Box definitions


Filling options
Direction of text lines
Number of lines
Number of empty lines in case of more
than one lines
Filling direction
Frame options
Are frames plotted or not
Normally frames are included to
symbols -> not plotted
Color
Line width

13

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Text Box definitions

Text properties
Height
If not any values to width and spacing, the default values are used
Slant
Color, select by pressing Select button
Line width, select by pressing Select button
Properties can be picked from some existing text box.

14

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Text Box definitions


Data request
Define tags
Tag name
Tag type
Format, not for string
Define combined format
%s-%s means two tags
with string format
combined with -, e.g.
A123-P101
%s %s-DN%a ->
A123 101-DN100
Check there is as many tags in Combined format as there is data
request tags.
15

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Text Box definitions

Modifying existing text box, select Pick Box and click inside
the text box you want to modify. You can also use arrow
buttons.
After modifying
Apply = save modifications to the existing one
Save As = create a new text box

16

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Data Tables


Data tables definition have to be done to drawing sheets by
editing sheets manually in Library and Project Databases.
After text boxes and symbols have been defined in SheetEditor,
start to edit the Drawing sheet manually in Library and Project
Databases.
In the beginning is the definitions for data table:
bom;
390;290; 574; 380;
20; 0; 0;
1; 2; 2; 1; 0;

/* Extension of the data file associated with this table*/


/* Location of table on the sheet */
/* 20 rows, fill all the rows, skip none*/
/* udir, frame, frame pen, fill from bottom, no continue*/

17

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Data Table Header


bom;

/* Extension of the data file associated with this table*/

390;290; 574; 380; /* Location of table on the sheet: u min, v min, u max, v max */
20; 0; 0;

/* Max number of rows, number of rows filled before leaving


empty rows, number of rows to be left empty between filled rows */

1; 2; 2; 1; 0;

/* direction of rows in the table: 1= u-axis; 0= v-axis, frame plotting:


0= no frames; 1= frame all rows; 2= frame fills rows only and the
position of the table starting from v-min or u-max, frame pen id or
color + line width, fill direction 0= from the bottom; 1= from the top,
allowing text to be continued to the next row: 0 = not allowed,
1=allowed */

Frame pen:
if a single integer is present then it defines the id number of pen used to plot the
frame. Instead of a single integer the field can look like this: <int color_id> : <float
line_width>. In the latter case color_id (int) is an index to the Colors and line_width
is the line thickness in mm (Line Widths).
18

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Data Table Columns


c1;

/* column for partnumber */


0; 10;

/* column position */

0; 3; 2; 0; ;
/* no sub rows, max char, right justification, no
query, prompt*/
2.0 mm; ;;;2;
%s;
ptn; -1; ;
;

/* text hght, width, spacing, slant, pen number */


/* format string */
/* data request for the partnumber */
/* End of data requests*/

19

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Data Table Columns


c1;

/* column name */

0; 10;

/* lower row position of the column (length quantity) relative to


the origin of the table, upper row position of the column*/

0; 3; 2; 0; ;

/* number of sub rows, maximum number of chararcters,


horizontal justification: 1= left; 2= centered; 3= right,
queried from the user; 0= no query, prompt leave empty*/

2.0 mm; ;;;2;

/* text height, text width (0 default value = 0.77 * height of text),


spacing of text (0 default value = 0.22 * height of text), slant of
text (between -90 and 90 degrees), pen id or color + line */

%s;

ptn; -1; ;
;

/* format string controlling how strings result from the data


requests are combined to form the output. Must contain as
many occurences of %s as there are data request for this
column */
/* data request */
/* End of data requests*/
20

3 D

P L A N T

D E S I G N

A N D

E N G I N E E R I N G

S O F T W A R E

Drawing sheets / Data Request


r1; r2; r3;
r1, the target of the data request. This must be a reference to one of the data fields found
in records of the data file associated with this table, or a reference to the header file, or a
system parameter. An empty string indicates the end of requests. In this case the rest of
the fields must be omitted.
r2, a number specifying the quantity type of the data (NS, LENGTH ...) identified by r1. If
-1 then the data is in string format.
r3, a format string(11) specifying how the numeric data is to be output. If empty then
conversion takes place according to the format specified in the quantity definition table
for this quantity.

21

Вам также может понравиться