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 1 Drawing sheets In drawing sheet object is defined the physical dimensions and general layout of a drawing: Size of the sheet Drawing area Tet boes !hen a drawing is generated" these data items are retrie#ed from the header file of the document and plotted according to the bo definition$ Symbols Data tables on sheet %ocation &olumn definitions

13a V60 Drawing Sheets

Embed Size (px)

DESCRIPTION

13a V60 Drawing sheets.pptx

Citation preview

Ei dian otsikkoa

1Drawing sheetsIn drawing sheet object is defined the physical dimensions and general layout of a drawing:

Size of the sheetDrawing areaText 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. SymbolsData tables on sheetLocationColumn 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 S O F T W A R E12Drawing sheetsThe structure of a drawing sheet object is: HeaderText boxes Symbols Data tables (listings on the sheet)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 E23Drawing sheets / _SheetEditorUse 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 E34Drawing sheets / Sheet sizeStart in Plant Modeller Tools> Run Script SheetEditor.mac located /pms600/opt/pm/EloTools/macro.

Possibilities to define the size of the blank sheetSelect from the listPick right upper corner point on the sheetWrite 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 E4

5Drawing sheets / Drawing areaDrawing are is the area on the sheet reserved for drawing views.

Set the drawing areaWrite values for lower left and upper right corner pointsOr 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 E5

6Drawing sheets / MarginsSet 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 E67Drawing sheets / SymbolsInsertAdd symbols to the sheetSet the location e.g. with c (coordinates of the sheet, origin is lower left corner)Accept location with SpaceFinish with Enter

MoveSelect the symbol to be movedSet the base point for moveAccept the new location of base point with SpaceFinish 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 E78Drawing sheets / SymbolsDeleteSelect the symbol to be deleted

Scale & RotationSelect the symbol to be scaled and/or rotatedSet rotationSet 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 E89Drawing sheets / Text BoxesEdit & CreateCreate new text boxes or edit existing

BrowseYou can browse the drawing sheet

Move Box(es)Move one or more text boxesBoxes 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 timeMove distance in X and Y direction is written

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 E910Drawing sheets / Text BoxesDelete 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.

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 E1011Drawing sheets / Text Box definitionsNameUnique name inside the sheetMax. 3 characters

EditableIf user is allowed to modify the text box, its set to be editable

PromptPrompt is shown when user is filling the text box

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 E1112Drawing sheets / Text Box definitionsLocation of text boxPick corner points on the sheetWrite values to the fields

JustificationSelect Left, Center or Right

Text LengthBy Maximum is calculated the maximum number of characters to the field according to the text size

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 E1213Drawing sheets / Text Box definitionsFilling optionsDirection of text linesNumber of linesNumber of empty lines in case of more than one linesFilling direction

Frame optionsAre frames plotted or notNormally frames are included to symbols -> not plottedColor Line width

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 E1314Drawing sheets / Text Box definitionsText propertiesHeightIf not any values to width and spacing, the default values are usedSlantColor, select by pressing Select buttonLine width, select by pressing Select button

Properties can be picked from some existing text box.

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 E1415Drawing sheets / Text Box definitionsData requestDefine tagsTag nameTag typeFormat, not for stringDefine 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.

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 E1516Drawing sheets / Text Box definitionsModifying existing text box, select Pick Box and click inside the text box you want to modify. You can also use arrow buttons.

After modifyingApply = save modifications to the existing oneSave As = create a new text box

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 E1617Drawing sheets / Data TablesData 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; /* Extension of the data file associated with this table*/390;290; 574; 380; /* Location of table on the sheet */20; 0; 0; /* 20 rows, fill all the rows, skip none*/1; 2; 2; 1; 0; /* udir, frame, frame pen, fill from bottom, no continue*/

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 E1718Drawing sheets / Data Table Headerbom; /* 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: : . In the latter case color_id (int) is an index to the Colors and line_width is the line thickness in mm (Line Widths). 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 E1819Drawing sheets / Data Table Columnsc1; /* 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; /* text hght, width, spacing, slant, pen number */ %s; /* format string */ ptn; -1; ; /* data request for the partnumber */ ; /* End of data requests*/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 E1920Drawing sheets / Data Table Columnsc1; /* 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; /* 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 */ ptn; -1; ; /* data request */ ; /* End of data requests*/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 E2021Drawing sheets / Data Requestr1; 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.

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 E21