Professional Documents
Culture Documents
User Guide
Disclaimer
Information of a technical nature, and particulars of the product and its use, is given by AVEVA
Solutions Ltd and its subsidiaries without warranty. AVEVA Solutions Ltd and its subsidiaries disclaim
any and all warranties and conditions, expressed or implied, to the fullest extent permitted by law.
Neither the author nor AVEVA Solutions Ltd, or any of its subsidiaries, shall be liable to any person or
entity for any actions, claims, loss or damage arising from the use or possession of any information,
particulars, or errors in this publication, or any incorrect use of the product, whatsoever.
Copyright
Copyright and all other intellectual property rights in this manual and the associated software, and every
part of it (including source code, object code, any data contained in it, the manual and any other
documentation supplied with it) belongs to AVEVA Solutions Ltd or its subsidiaries.
All other rights are reserved to AVEVA Solutions Ltd and its subsidiaries. The information contained in
this document is commercially sensitive, and shall not be copied, reproduced, stored in a retrieval
system, or transmitted without the prior written permission of AVEVA Solutions Ltd Where such
permission is granted, it expressly requires that this Disclaimer and Copyright notice is prominently
displayed at the beginning of every copy that is made.
The manual and associated documentation may not be adapted, reproduced, or copied, in any material
or electronic form, without the prior written permission of AVEVA Solutions Ltd. The user may also not
reverse engineer, decompile, copy, or adapt the associated software. Neither the whole, nor part of the
product described in this publication may be incorporated into any third-party software, product,
machine, or system without the prior written permission of AVEVA Solutions Ltd, save as permitted by
law. Any such unauthorised action is strictly prohibited, and may give rise to civil liabilities and criminal
prosecution.
The AVEVA products described in this guide are to be installed and operated strictly in accordance with
the terms and conditions of the respective licence agreements, and in accordance with the relevant
User Documentation. Unauthorised or unlicensed use of the product is strictly prohibited.
First published September 2007
AVEVA Solutions Ltd, and its subsidiaries
AVEVA Solutions Ltd, High Cross, Madingley Road, Cambridge, CB3 0HB, United Kingdom
Trademarks
AVEVA and Tribon are registered trademarks of AVEVA Solutions Ltd or its subsidiaries. Unauthorised
use of the AVEVA or Tribon trademarks is strictly forbidden.
AVEVA product names are trademarks or registered trademarks of AVEVA Solutions Ltd or its
subsidiaries, registered in the UK, Europe and other countries (worldwide).
The copyright, trade mark rights, or other intellectual property rights in any other product, its name or
logo belongs to its respective owner.
Contents
Page
AutoDRAFT
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1:1
About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1:1
Manual Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1:2
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1:2
3:2
3:2
3:3
3:3
12.0
ii
12.0
iii
12.0
iv
12.0
Introduction
AutoDRAFT is an AutoCAD application which gives you an easy way of using AutoCAD to
perform 2D drafting on engineering drawings imported from DRAFT, and on isometric
drawings imported from ISODRAFT. It can also create 2D entities for export to DRAFT.
As well as providing access to the full range of AutoCADs 2D drafting facilities, AutoDRAFT
allows you to transfer drawings from DRAFT and ISODRAFT to enhance them. You can
also use it to create symbols and drawing frames, and then generate macros for their
subsequent recreation in DRAFT.
You can activate AutoDRAFT directly from a DRAFT or ISODRAFT menu. Alternatively, if
AutoCAD and AVEVA Plant/Marine are running on different machines, you can generate a
DXF format file for transfer to AutoDRAFT and AutoCAD by DRAFT and ISODRAFT.
This release of AutoDRAFT has been developed to support AutoCAD Releases 2006 and
2007.
AutoDRAFT consists of three sub-systems:
The Drawing Editor, which allows you to add further details to drawings from within
AutoCAD.
The Symbol Editor, which generates DRAFT macros from AutoCAD inserts to create
equivalent symbol template elements in DRAFT.
The Frame Editor, which generates DRAFT macros from drawing frames in AutoCAD
to create equivalent DRAFT backing or overlay sheet elements.
A range of new AutoCAD fonts, developed at AVEVA, is also provided for your use. These
fonts are supplied in both binary and source formats. These fonts are compatible with all
new and existing AVEVA supplied drafting fonts, and can be transferred to PC-based
systems. Additionally, AutoDRAFT supports the TrueType fonts registered in the particular
PDMS project.
1.1
How to use the DRAFT and ISODRAFT forms-and-menus user interface to activate
AutoDRAFT directly.
How to use the AutoDRAFT facilities within AutoCAD, using typed-in commands or
menu selections.
1:1
12.0
This manual does not describe how to use the main AutoCAD facilities. Refer to your
AutoCAD user documentation for this.
1.2
Manual Audience
It is assumed that those users who are involved with creating drawings in DRAFT and
transferring them to AutoCAD have attended the appropriate DRAFT and/or ISODRAFT
training courses.
It is further assumed that users who are working on a drawing transferred from DRAFT are
(at least) familiar with AutoCAD.
Best use of this manual will be made by those trained in the use both of DRAFT/ISODRAFT
and of AutoCAD.
1.3
References
Useful sources of reference are: The DRAFT User Guide.
AutoDesks AutoCAD 2006/2007 Reference Manuals.
The ISODRAFT Reference Manual.
1:2
12.0
AutoDRAFT Facilities
2.1
AutoDRAFT Functions
AutoDRAFT has three sub-systems:
The Symbol Editor. This enables symbols created in AutoCAD to be converted into a
DRAFT command macro which can then be used to create the equivalent symbols as
DRAFT database Symbol Template elements.
The Frame Editor. This enables drawing frames created in AutoCAD to be converted
into a DRAFT command macro which can then be used to create the equivalent frames
as DRAFT database Backing Sheet or Overlay Sheet elements.
Each of the above sub-systems is described in detail in the following chapters of this
manual.
2.2
DRAFT/AutoDRAFT Interface
With the Drawing Editor, a DRAFT drawing Sheet is transferred from DRAFT to AutoDRAFT
via a DXF-format file.
With the Symbol Editor and Frame Editor, the DRAFT command macros are created as
ASCII files. If AutoCAD and the AVEVA software are on the same hardware platform the
macro files will be transferred back to DRAFT automatically. See Figure 2:1.: DRAFT/
AutoDRAFT Interface for an illustration of the DRAFT/AutoDRAFT interface.
2:1
12.0
2.2.1
AutoDRAFT Facilities
Figure 2:1.
2.3
DRAFT/AutoDRAFT Interface
ISODRAFT/AutoDRAFT Interface
With the Drawing Editor, you can transfer an ISODRAFT isometric to AutoDRAFT via a DXF
format file.
You cannot transfer an ISODRAFT isometric with the Symbol or Frame Editor.
Figure 2:2.
ISODRAFT/AutoDRAFT Interface
2:2
12.0
3.1
3.2
Blank out part of the drawing behind specified drawing items. For example, blank out
the graphics behind a label.
3:1
12.0
See Figure 3:1.: Layers in AutoDRAFT/AutoCAD for an illustration of the use of AutoDRAFT
layers.
Figure 3:1.
Layers in AutoDRAFT/AutoCAD
Note: It is possible, within the Drawing Editor, to map the DRAFT layers onto user-defined
AutoCAD layers. See Layer Mapping.
3.3
Concepts
Before using the Drawing Editor, you should be familiar with the following concepts and
terminology.
3.3.1
3.3.2
3:2
12.0
3.3.3
Drawing Scale
A drawing in AutoDRAFT is a model of a drawing sheet from DRAFT/ISODRAFT. All entities
are created in AutoCAD model space.
Hidden line views of a design model are drawn as scaled views in DRAFT. The drawing
displayed in AutoCAD is a model of the drawing sheet defined in DRAFT, so the scaled
views drawn in DRAFT are effectively drawn at the same scale in AutoCAD. Thus, if an
AutoCAD linear dimension were placed on a line in a DRAFT view it would show the length
of the line on the paper, not the length of the line on the model. It is recommended that all
dimensions are created in DRAFT where the true size of dimensioned items is shown.
3.3.4
Drawing Units
DRAFT always stores its measurements in millimetres, regardless of the units used for
drawing definition. Consequently, drawings created in DRAFT using INCH or FINCH units
are transferred from DRAFT to the Drawing Editor with measurements in millimetres.
A special code in the transfer file will specify whether the original DRAFT drawing sheet was
specified in MM, INCH or FINCH units. INCH/FINCH drawings are scaled from one drawing
unit = 1 millimetre to one drawing unit = 1 inch when loaded into the Drawing Editor.
A similar system is employed for ISODRAFT drawings.
3:3
12.0
3:4
12.0
Directly. This method is used when AutoCAD and the AVEVA software are on separate
hardware platforms. The (DXF-format) drawing file to be used must be created in
PDMS DRAFT/ISODRAFT and manually transferred to the AutoCAD platform.
From within DRAFT/ISODRAFT. This method is used when AutoCAD and the AVEVA
software are on the same hardware platform.
The (DXF-format) drawing file to be used is automatically created and transferred to
the Drawing Editor when AutoDRAFT/Drawing Editor is activated from DRAFT/
ISODRAFT.
4.1
4.1.1
4:1
12.0
4.1.2
4.1.3
4.1.4
4:2
12.0
6. Leaves you in a Drawing Editor session. The DRAFT drawing is displayed. The
current layer and the status of user-defined layers are left as they were when you
last saved the drawing.
4.2
4.3
4.4
4.4.1
Drawing Units
Entities in transfer files are always measured in millimetres. The units active in DRAFT or
ISODRAFT when the drawing is sent to AutoDRAFT are added to the transfer file as a DXF
comment. The AutoDRAFT start-up mechanism automatically queries the units and scales
the DRAFT/ISODRAFT drawing data if INCH units are specified.
Note: If you create a DXF transfer file in DRAFT using the PLOT command (see Creating
the DXF-Format Transfer File from DRAFT) then the comment inserted into the DXF
transfer file to automate the setting up of AutoCAD units will not be added.
If you then want to read such a DXF transfer file into AutoDRAFT, using INCHES as units
type, then the transfer file needs to be altered manually by appending the following to the
end of the file:
999 P
DMS_UNITS INCH
These should be the last two lines of the transfer file. There should be no white space to the
left of this text.
4.4.2
4:3
12.0
4.4.3
4:4
12.0
Create a blank (in the form of a shape (usually a rectangle) defining the outline of a
blank).
Hide items covered by a blank (and make the blank itself invisible).
These operations, and the different ways of performing them, are described below.
Note: Blanks are automatically placed on a special layer called PDMS_BLANKS, even if
this is not your current layer.
When a drawing is updated, any drawing items other than text which were not covered by
blanks return to the default state, which is covered. Editing Blanks describes how to uncover
selected drawing items.
Note: DRAFT can perform the blanking as well, and the blanked out parts would be then
transferred to AutoDRAFT unchanged. This chapter discusses the blanking, that can
be done in AutoDRAFT on parts that have not been blanked out by DRAFT.
5.1
Figure 5:1.
Command:
pdms_blank_create
Menu Selection:
Blank>Create
5:1
12.0
Initial Prompt:
Entities/Irregular/<First corner>:
Use:
<First corner>
This is the default option, which creates a rectangular blanking area.
1. Move the mouse pointer and click (left-hand button) on the first
corner of the rectangle. The prompt changes to:
Angle/<Other corner>
2. Move the mouse pointer and drag the dotted rectangle that
appears out to the desired size/position. Click again. The prompt
changes to:
Select objects not to blank:
Select objects:
At this point you can select objects which you do not wish to be
covered by the blank. For example, if blanking a label by using a
blanking rectangle, you would usually still wish to see the label
border, the label text and the leader line. Because text cannot be
hidden by a blank, it will remain shown when the blanking
operation is carried out.
3. Move the small square over an object you do not wish to blank
and click. Repeat as necessary, finally pressing Enter at the
Select objects prompt.(If you do not wish to select any objects
not to be blanked then simply press Enter straight away.)
The Angle option above enables you to create a rectangular blank at
an angle to the principal axes. A possible use of this option could be
to blank out graphics behind angular dimension text.
Selecting this option (by pressing A after the > character) gives
another prompt which allows you to specify the angle either by typing
in a value or by pointer hit. When specifying the second corner of the
rectangle, a line will follow the pointer which represents a diagonal of
the blanking rectangle.
At this point the blanking rectangle will appear, but the objects within
it will not be blanked. See Blanking for how to carry out the blanking
operation.
An example of rectangle blanking is shown in Figure 5:2.: Use of
Blanking (rectangular blank) to hide graphics behind a Label. Note
the gaps in the entities behind the blank. Entity blanking can be
used to give a blank which does not leave such gaps. See Figure
5:1.: Use of Blanking (entities blank) to hide graphics behind a Label.
This method of blank creation also works if you are using the
AutoCAD UCS (User Coordinate System) facility.
5:2
12.0
Figure 5:2.
Irregular
This option (selected by pressing I after the > character) creates an
irregular three- or four-sided shape.
1. Move the mouse pointer and click (left-hand button) on the first
corner of the shape. The prompt changes to:
First point:
2. Move the mouse pointer and drag the small square that appears
out to the desired position. Click again.
3. Repeat step 2 twice more. At the prompt:
Last Point:
define the last point as before, or press Enter to produce a
triangle.
At this point the blanking shape will appear, but the objects within it
will not be blanked. See Blanking for how to carry out the blanking
operation.
Entities
This option (selected by pressing E after the > character) allows you
to define a blanking rectangle which surrounds the selected entities.
Selecting this option changes the prompt to:
Select objects:
Click on the required entities. When the last entity has been selected
press Enter.
You will then be given the option to enter a value for the Angle of the
rectangular blank. If you press Enter at this prompt, the rectangular
blank calculated will be unrotated.
At this point the blanking rectangle will appear, but the objects within
it will not be blanked. See Blanking for how to carry out the blanking
operation.
Note: When the blanking operation is carried out, all entities except
those selected will be hidden.
5:3
12.0
The entities option is useful for blanking out graphics behind labels.
The picture on the right-hand side of Figure 5:1.: Use of Blanking
(entities blank) to hide graphics behind a Label has been produced
by defining the label border as the (sole) blanking entity.
Note: When using the Entities option, the extent of a blank is
calculated from the entities chosen. The entities that may be
selected are Points, Lines, Traces, Solids, Circles, Arcs,
Polylines, Inserts, Text, Attribute Definitions, Inserts with
Attributes (invisible attributes are ignored) and combinations
of the above. User coordinate systems are taken into account
when these blanks are created.
.
The following entities will not blank correctly:
Outsized Text
Oblique Text
Vertical Text
Other Thick
Entities
Complex Inserts
Shapes
Ignored.
Dimensions
Ignored.
Viewports
Ignored.
3D Entities
5.2
Blanking
The blank creation operations described in the previous section produce outlines of blanks
which can be used to preview the blanks that you have defined. Hiding the graphics behind
the blanks is carried out as described below.
Command:
pdms_blank
Menu Selection:
Blank>Blank
5:4
12.0
Use:
5.3
Editing Blanks
The blank editing operations allow you to:
erase blanks
Command:
pdms_blank_edit
Note: Only blanks created by AutoDRAFT can be edited using this facility. You cannot
edit blanks applied automatically by DRAFT.
Menu Selection:
Initial Prompt:
Visible/Invisible/Cover/Uncover/Erase:
Use:
Visible Invisible
Blank>Invisible (or I at the command prompt) will make all visible
blank boundaries invisible.
Blank>Visible (or V at the command prompt) will make all invisible
blank boundaries visible.
5:5
12.0
5:6
12.0
The picture will be redrawn with the outlines of the hit blanks no
longer shown.
Items hidden by erased blanks will still be hidden. Use the AutoCAD
regen command to redisplay the unblanked items.
Note: If blanks are not visible they will be made visible by this option
so they can be selected at the Select objects: prompt. If any
objects other than blanks are selected they will not be erased.
Blanks can also be deleted with the AutoCAD erase
command.
5:7
12.0
5:8
12.0
These operations, and the different ways of performing them, are described below.
The available options allow you to turn DRAFT and user-defined layers on and off, and to
freeze and thaw them, enabling you to distinguish easily the DRAFT and non-DRAFT
parts of the AutoCAD drawing.
6.1
Layer Mapping
This facility allows you to automatically move entities from DRAFT layers to AutoCAD layers
by mapping the DRAFT layers onto user-defined AutoCAD layers. (These user-defined
layers will be created automatically if they do not already exist.)
The operation of this facility depends upon the contents of a user-defined text file named
pdmslaymap.txt, which must exist in the users local directory and which must have read
access. Each line of the file may contain the following four fields:
1. The name of the DRAFT layer.
2. The name of the corresponding user-defined AutoCAD layer.
3. The colour number for the AutoCAD layer (in the range 1-255).
4. The linestyle for the AutoCAD layer (in the range 1-255).
Note: Not all of the above need be included. Fields 1. and 2. are compulsory. The allowable
optional fields are 3. or 3. and 4. (i.e. having fields 1., 2., and 4. only would be
illegal).
Each field should be separated by a single space or a <tab> character only. Comment text
may be inserted, denoted by having $* as the first two characters of the line.
If the AutoCAD layer does not exist it will be created with the supplied colour and linestyle. If
it does exist then the supplied colour and linestyle will be ignored. If the colour number is not
supplied, and if the AutoCAD layer is to be created, then it will be created using colour 7
(white). Similarly, if the linestyle is not supplied, and if the AutoCAD layer is to be created,
then it will be created with linestyle GTSOLID.
6:1
12.0
Command:
pdms_layer_mapping
Menu Selection:
Initial Prompt:
Use:
Press Enter to abort, or enter yes (or YES) and press Enter to
proceed.
Assuming the pdmslaymap.txt file exists and is correctly structured,
the appropriate actions (see above) will be carried out.
Example:
$*First layer
GT_1 LAY1 5 GTSOLID
$*Second layer
GT_2 LAY2 6 GTDASH
On applying the layer mapping utility, AutoDRAFT will move all
entities from DRAFT layer GT_1 to AutoCAD layer LAY1. Layer LAY1
will be created in colour 5 (blue), and linetype GTSOLID. All entities
on DRAFT layer GT_2 will be moved to AutoCAD layer LAY2. Since
layer LAY2 already exists the supplied colour number (6, magenta)
and linestyle (GTDASH) will be ignored. Note that empty DRAFT
layers will not be deleted. (It is suggested that these empty layers are
removed by using the AutoCAD PURGE command.)
An entity whose linestyle is set to BYLAYER on its DRAFT layer will
also have its linestyle set to BYLAYER when it is moved to the
AutoCAD layer. However, if the linestyle setting for an entity differs
from that of the owning DRAFT layer, then the entity-level setting will
be preserved when it is moved to the AutoCAD layer. This rule also
applies to the colour attribute.
If an update operation is applied (i.e. if the Update existing
Drawing button is pressed on the AutoDRAFT Drawing Editor
form; see the DRAFT User Guide) to a drawing which has already
had the pdms_layer_mapping command applied to it, then it is likely
that multiple copies of some or all of the DRAFT entities will appear
on the drawing. It is therefore not advisable to apply the
pdms_layer_mapping command to a drawing which requires further
DRAFT updates.
6.2
Controlling Layers
Command:
pdms_layers
Menu Selection:
6:2
12.0
Initial Prompt:
User/<Pdms>:
Use:
6.3
Menu Selection:
Initial Prompt:
User/<Pdms>:
Use:
(Simply type the command or make the menu selection; there are no
arguments or options)
Note: Each DRAFT (GT_) layer on a Drawing Editor drawing
corresponds to a colour used in the drawing, so all entities in
a given colour appear on the same AutoDRAFT layer. Each
entity on the DRAFT layers has the default AutoCAD colour
attribute BYLAYER. The DXF output does not specify layer
colours, so all entities appear in the default AutoCAD colour 7
(white).
This facility gives you the ability to colour entities to match the
colours used by DRAFT. If you want to see the DRAFT
colours reproduced in AutoCAD the pdms_colour function will
apply colours close to the full range of standard PDMS
colours (1 - 272) to layers GT_1 through GT_272.
6:3
12.0
General points:
6.4
If colours have already been set for the DRAFT layers they will
be changed by pdms_colour.
pdms_textfile
Menu Selection:
Initial Prompt:
Use:
Enter the name of the text file, with extension (if present).
Left/Centre/Right/<start point>:
Click where you wish the text to start, or select one of the justification
options (by pressing L, C or R as appropriate). The justification
options will give:
Start point:
Centre point:
or End point:
prompts. Click at the required justification point. The default is left
justified.
The remaining prompts are:
Height <default>:
where default is the AutoCAD default text height. This will be the last
text height used, or the starting default (0.2). A height of at least 10
times the AutoCAD starting default (for metric drawings) is
recommended.
Press Enter to accept the default value, input a new value, or define
the text height by clicking on a point above the text start point.
Rotation angle <default>:
where default is the AutoCAD default rotation angle. This will be the
last angle used, or the starting default (0).
Press Enter to accept the default value, input a new value, or define
the angle by clicking on a suitable point.
6:4
12.0
6.5
pdms_copy
Menu Selection:
Initial Prompt:
Select objects:
6:5
12.0
Use:
Figure 6:1.
Figure 6:2.
<Magnification factor>/Reference:
The default input for this prompt is simply a value, for example 2 will
give a copy twice as large as the original. (If you wish to produce a
copy smaller than the original, input a value less than 1.)
6:6
12.0
6.6
pdms_view_create
Menu Selection:
Initial Prompt:
Use:
Click on one corner of the part of the drawing that you wish to be
contained within the viewport.
Other corner:
Drag out the rectangle which appears, and click on the other corner.
Position new viewport:
A rectangle representing the new viewport moves with the
crosshairs. Click on the required position.
Magnify - base point/<None>:
Pressing Enter at this point will give a same-size copy of the
windowed group of objects, and the viewport creation operation will
be complete.
To produce a resized copy, click on the point that you wish to be the
base point for the resize operation. (Should this point be outside the
viewport, the viewport will be displaced as illustrated in Figure 6:2.:
Definition of Base Point for Magnify Operation.)
<Magnification factor>/Reference:
The default input for this prompt is simply a value, for example 2 will
give a copy twice as large as the original. (If you wish to produce a
copy smaller than the original, input a value less than 1.)Pressing R
(for Reference) gives two further prompts:
6:7
12.0
Reference length:
New length:
This option enables the copy to be magnified in an absolute sense
rather than a relative sense. It works in exactly the same way as the
Reference option of the AutoCAD scale command; see the AutoCAD
Reference Manual.
Note: The drawing should be zoomed out to the edge of the drawing
sheet in order that the new views are seen in their correct
position with respect to the sheet. (See also Paper Space/
Model Space Viewports.)
6.7
pdms_view_sel
Menu Selection:
Initial Prompt:
Select a viewport
Use:
6.8
pdms_quitacad
Menu Selection:
Initial Prompt:
Use:
Press Y (or type YES or YE) to quit; anything else will not quit.
6:8
12.0
6.9
pdms_endacad
Menu Selection:
Use:
6:9
12.0
6:10
12.0
7.1
7.2
Each symbol block must have an AutoCAD attribute (ATTRIB) called PDMS_NAME.
The DRAFT symbol name is given in response to the PDMS_NAME attdef command
prompt when the symbol Block is inserted on a drawing. (See Creating a Block and an
Insert of the Block.)
Symbol template inserts should be on a separate layer from any annotation for the
symbol templates. Annotation may be sent to DRAFT by using the AutoDRAFT Frame
Editor - see Chapters 11-13.
The drawing limits must match the size of the Symbol Library sheet in DRAFT (see
Symbol Library Annotation).
Note that 3D AutoCAD entities in symbol inserts cannot be sent back to DRAFT. Attributes
entities on the top-level Insert are ignored (other than the PDMS_NAME attribute). Entities
smaller than 0.01mm may be ignored or simplified. Symbol inserts can contain the following
AutoCAD entities:
Line
Point
7:1
12.0
7.3
Circle
Arc
7:2
12.0
Directly. This method is used when AutoCAD and the AVEVA software are on separate
hardware platforms.
From within DRAFT. This method is used when AutoCAD and the AVEVA software are
on the same hardware platform.
8.1
8.1.1
8:1
12.0
8.2
8.3
limits
ON/OFF/<Lower left corner><current value>: 0,0 Upper
right corner<current value>: 1189,841
An E size sheet (44x34) would be specified by:
ON/OFF/<Lower left corner><current value>: 0,0 Upper
right corner<current value>: 44,34
8:2
12.0
9.1
9.2
Command:
attdef
Initial Prompt:
Use:
enter PDMS_NAME
Attribute Prompt:
Justify/Style/<Start point>:
Height<default>:
Rotation angle<default>:
pdms_make_symbol
Menu Selection:
9:1
12.0
Initial Prompt:
Use:
enter the desired block name in response to the initial prompt. The
remaining prompts and required responses are:
Insert base point:
Select Objects:
Scale factor<1>:
Rotation angle<0>:
9.3
Redefining a Symbol
1. Create the new symbol graphics and DRAFT attribute.
2. Create a block containing the new symbol definition. If the specified block name
already exists the following prompt is given:
Block name already exists
Redefine it? <N>
If the reply is N or if Enter is pressed, the block command exits without changing anything.
If the reply is Y, any inserts of that block are redefined.
select point (= origin of DRAFT symbol template) select symbol graphics and attribute enter
required factor or press Enter enter required angle or press Enter
9:2
12.0
10
10.1
you have entered the Symbol Editor directly (AutoCAD and DRAFT not linked together
on same hardware platform);
you have entered the Symbol Editor from DRAFT (AutoCAD and DRAFT on same
hardware platform).
pdms_symbols
Menu Selection:
Initial Prompt:
Select Objects:
Use:
select the required block inserts. The remaining prompts and required
responses are:
Inch/<MM>:
enter
required
millimetres)
units
(default
10:1
12.0
10.2
Command:
pdms_symbols
Menu Selection:
Initial Prompt:
Select Objects:
Use:
10.3
10.4
Command:
pdms_quitacad
Menu Selection:
Initial Prompt:
Use:
Press Y (or type YES ) to quit; anything else will not quit.
pdms_endacad
Menu Selection:
Use:
10:2
12.0
10.5
10.6
TrueType Texts
The TEXT entities rendered using TrueType fonts must be follow certain rules:
only the TrueType fonts that have been registered in the given PDMS project may be
used;
in AutoCAD the user must create first the appropriate Text Style, referring the given
TrueType font. The name of the style must start with 'TTFN' followed by the font ID
assigned to the given font in the PDMS project.
MTEXT entities are not supported - use the TEXT entities instead
Example: If the PDMS project assigns the font Arial to the font ID 6 and the font Times New
Roman to the font ID 18, then:
the style name for the Arial font should be 'TTFN6', and for Times New Roman 'TTFN18'.
10:3
12.0
10:4
12.0
11
11.1
11.2
Line
Point
Circle
Arc
11:1
12.0
11:2
12.0
12
Directly. This method is used when AutoCAD and PDMS are on separate hardware
platforms.
From within DRAFT. This method is used when AutoCAD and PDMS are on the same
hardware platform.
12.1
12.1.1
12:1
12.0
12.2
12.3
limits
ON/OFF/<Lower left corner><current value>: 0,0 Upper right
corner<current value>: 1189,841
An E size sheet (44x34) would be specified by:
ON/OFF/<Lower left corner><current value>: 0,0 Upper right
corner<current value>: 44,34
12:2
12.0
13
13.1
you have entered the Frame Editor directly (AutoCAD and DRAFT not linked together
on same hardware platform).
you have entered the Frame Editor from DRAFT (AutoCAD and DRAFT on same
hardware platform).
Command:
pdms_sheet
Menu Selection:
Initial Prompt:
Select Objects:
Use:
enter
required
millimetres)
Over/<Back>:
choose to create
Backing Sheet
13:1
units
(default
Overlay
or
12.0
The above procedure will create the macro file and save it in the current
directory. This can then be run from the command line using the $M/
command (having first navigated to the correct database position if the
CE option was selected), or the relevant DRAFT menu option may be
used - see the DRAFT Administrator Guide.
Note: The ways in which AutoCAD entities and attributes are mapped
to DRAFT elements and attributes are described in AutoCAD to
DRAFT Entity and Attribute Mapping.
13.2
pdms_sheet
Menu Selection:
Initial Prompt:
Select Objects:
Use:
13.3
pdms_quitacad
Menu Selection:
Initial Prompt:
Use:
Press Y (or type YES ) to quit; anything else will not quit.
13:2
12.0
13.4
pdms_endacad
Menu Selection:
Use:
13.5
13.5.1
13.5.2
13.6
TrueType Texts
When using the TrueType fonts in the TEXT entities, the same rules apply, as in the Symbol
Editor (see TrueType Texts for details).
13:3
12.0
13:4
12.0
A.1
A.1.1
Add intelligent labels in DRAFT (i.e. those containing information extracted from the
database using the intelligent text system).
Add drawing frame, symbols, text notes, detail views etc. using AutoCAD functions.
To update a drawing:
A.1.2
The Drawing Editor removes the original DRAFT layers from the AutoCAD drawing
file and replaces them with the updated DRAFT picture. Original AutoCAD additions
(on AutoCAD layers) remain unchanged, but AutoCAD additions on DRAFT layers will
be lost.
A:1
12.0
Add symbols from the symbol template library, along with other annotation.
Use the Frame Editor to send drawing items added in AutoCAD back to an Overlay/
Backing Sheet in the DRAFT database
To update a drawing:
A.2
If it is necessary to send the drawing to the Drawing Editor, delete from the AutoCADgenerated Backing/Overlay Sheet any drawing items to be replaced in AutoCAD.
Send the Sheet to the Drawing Editor, creating a new (temporary) AutoCAD drawing.
Add new drawing items and send to a new Overlay/Backing Sheet in DRAFT.
A.2.1
Add drawing frame, symbols, text notes, detail views etc using AutoCAD functions.
Note: With ISODRAFT, AutoDRAFT can only be used to create new drawings or open
existing ones.
A:2
12.0
B.1
B.2
AutoCAD Entity
DRAFT Element
Line
Line (STRA)
Point
Point (MRKP)
Circle
Circle (CIRC)
Arc
Arc (ARC)
Text
Text (TEXP)
Attribute
Text (TEXP)
Insert
DRAFT Attribute
Linetype
DRAFT preconfigured GT
linestyles
GTSOLID
NLSTYLE SOLID
GTDASH
NLSTYLE DASHED
B:1
12.0
AutoCAD Attribute
DRAFT Attribute
GTDOT
NLSTYLE DOTTED
GTCHAIN
NLSTYLE CHAINED
GTLDASH
NLSTYLE LDASHED
NLSTYLE CHAINED
Dashed, Hidden
NLSTYLE DASHED
Dashedx2, Hiddenx2
NLSTYLE LDASHED
Dot
NLSTYLE DOTTED
Border
NLSTYLE DDASHED
(colour 1 only)
Divide
NLSTYLE DDOTTED
(colour 1 only)
Phantom
NLSTYLE DCHAINED
(colour 1 only)
others
NLSTYLE SOLID
NLSTYLE DDASHED
GTDDOT
NLSTYLE DDOTTED
GTFDOT
NLSTYLE FDOTTED
GTDCHAIN
NLSTYLE DCHAINED
GTTCHAIN
NLSTYLE TCHAINED
Width
=0
Line Colour
1 - 255
Text
Height
CHEI
No mapping
Angle
ADEG
Font
PDMS HORTXT font
FONT 1
HTX63 font
B:2
12.0
AutoCAD Attribute
DRAFT Attribute
Roman
FONT 3
Italic
FONT 4
FONT nn
other
FONT 1
Vertical alignment
Top
ALIG TB
Middle
ALIG HB
Bottom
ALIG BB
Baseline
ALIG BASE
Horizontal alignment
Left, fit and aligned
JUST L
Centre
JUST C
Right
JUST R
Oblique forwards
Oblique backwards
Generation flags
Always normal
Text Colour
1 - 272
B.3
Line Widths
There are eleven line widths in DRAFT, 0mm to 2mm. Please note that the original DRAFT
settings for linewidths (thin and thick) are still supported. These are equivalent to linewidths
of 0mm and 0.4mm.
In AutoCAD all lines, circles and arcs are thin.
The mapping from AutoCAD to DRAFT is:
B.4
Linestyles
Linestyles are scaled differently in DRAFT and AutoCAD. The AutoCAD linetype scale is
ignored, so dash and gap lengths may not match between the two systems. However, the
linestyles listed in the table will have a similar pattern of gaps and dashes.
B:3
12.0
Note: User defined linestyles are now available in DRAFT. AutoDRAFT will export (and
maintain) these linestyles correctly in AutoCAD.
In order to export any user defined linestyles, AutoDRAFT creates a file called
pdmsuser.lin in the local directory. This file is only used by AutoDRAFT during the
current session, after which it is deleted. You should note that AutoDRAFT will not
work if a file called pdmsuser.lin already exists in the local directory.
If you are pre-loading any user defined linestyles into AutoCAD (for example, via the
acad.lsp file) which use the same names as any of your DRAFT user-defined
linestyles exported via AutoDRAFT, the pre-loaded linestyles will be used in
preference to DRAFT ones.
B.5
Text Fonts
If a non-AVEVA text font is used in AutoCAD the height of the text will be the same in both
systems, but the length of the text will differ. The mapping of non-AVEVA fonts on to font
numbers in DRAFT assumes that the default Font family definition is in use for the project.
AutoCAD width factor and vertical text path are ignored. AutoCAD underlining will be
interpreted as DRAFT underlining. AutoCAD overscore codes are ignored. Positive oblique
angle is interpreted as forward shear. Negative oblique angle is interpreted as backward
shear. Non-standard text-generation flags are ignored.
AutoCAD special symbols degree, plus/minus and diameter symbol will be converted to the
appropriate DRAFT special symbol.
AutoCAD special character numbers are ignored. AutoCAD Bigfont text cannot be generally
transferred - but see below. However special characters in the AutoCAD fonts, that have
been defined to work with AVEVA, will be reinterpreted back into the equivalent special
characters in DRAFT.
Text in styles HTX-nn will be assumed to be AVEVA extension font characters (e.g. Latin-1
or Latin-2) and will be sent back to the AVEVA application as ESC-X sequences.
To simplify the transfer of files between systems which have restrictions on filename
lengths, a convention for file naming has been adopted that never produces filenames with
a prefix greater than eight characters long. The system does this by:
The first five digits of the old font file names have been condensed to two alphanumeric
characters.
The prefixes f, ef, of and sf have been shortened to their first letter.
As DOS is case-insensitive, UPPER CASE is used for prefixes (TESTFILE etc.) with
lower case letters for the suffix (.txt for example).
New Code
Meaning
01
Latin
02
Greek
03
Cyrillic
04
Arabic
B:4
12.0
Initial code
New Code
Meaning
05
Hebrew
11
Chinese
12
Japanese
13
Korean
09
Oddments (1 byte)
The next three digits of the old file name (which represent the character set) become:
Initial Code
New Code
Meaning
004
British
006
American
100
101
109
110
148
018
Greek
537
Russian
521
German (Deutsch)
998
999
PDMS symbols
058
Chinese basic
087
Japanese basic
126
144
127
138
Note: The re-use of character set L is not important, as the fonts concerned are made
distinct by the alphabet letter.
The current range of alphabets and character-sets supported is represented as:
Old Code
New Code
Meaning
01004
LB
Latin, British
01006
LA
Latin, American
01100
L1
B:5
12.0
Old Code
New Code
Meaning
01101
L2
01109
L3
01110
L4
01148
L5
01521
LD
Latin, German
02018
GG
Greek
02126
GL
03537
CR
Cyrillic, Russian
03144
CL
04127
AL
05138
HL
09998
OR
Latin-Cyrillic (obsolete)
11058
XX
12087
JJ
The prefix of one to three initial letters becomes a single letter, as described above:
Letter Meaning
F
Filled Font
Outline Font
} 1-byte fonts
EUC Encoding
} 2-byte fonts
Shift-JIS Encoding
TrueType fonts can be used in addition to the native PDMS ones. See TrueType Texts for
details.
B.6
B:6
12.0
AutoDRAFT Menus
The AutoCAD Reference Manual describes command input to AutoCAD from the command
line and from standard screen menus.
The functions described in this document are defined as commands entered via the
keyboard at the AutoCAD Command: prompt.
AutoDRAFT customises the standard AutoCAD menus by the addition of the AutoDRAFT
options.
Note that the appropriate Autodesk, Inc. copyright notices apply to the AutoDRAFT menu
files which are derived from an original AutoCAD menu file.
C.1
C.1.1
C.1.2
Visible
Invisible
Blank
Create
Erase
Cover
Uncover
PDMS Colours
C:1
12.0
Load Text
Copy Magnify
Select Viewport
Create Viewport
PDMS EndAcad
PDMS QuitAcad
Layers Submenu
The layers submenu is used to control both the PDMS layers and the non-PDMS layers
through the pdms_layers command
C.2
On
Switch layers on
Off
Freeze
Freeze layers
Thaw
Thaw layers
C.2.1
C.3
Write sheet
Write PDMS
(pdms_sheet)
Backing
or
Overlay
sheet
command
file
PDMS EndAcad
PDMS QuitAcad
C:2
12.0
C.3.1
Make symbol
Write symbol
PDMS EndAcad
PDMS QuitAcad
C:3
12.0
C:4
12.0
Index
AutoCAD
leaving saving changes . 6:9, 10:2, 13:3
leaving without saving changes 10:2, 13:2
working practices . . . . . . . . . . . . . . . 7:1
AutoCAD Attributes . . . . . . . . . . . . . . . . . B:1
AutoCAD Bigfont Text Support . . . . . . . . B:6
AutoCAD Entities . . . . . . . . . . . . . . . . . . B:1
AutoCAD to DRAFT Entity Mapping . . . . B:1
AutoDRAFT
facilities . . . . . . . . . . . . . . . . . . . . . . . 2:1
functions . . . . . . . . . . . . . . . . . . . . . . 2:1
working practices . . . . . . . . . . . . . . . A:1
AutoDRAFT Menus . . . . . . . . . . . . . . . . .C:1
AVEVA Colours
applying . . . . . . . . . . . . . . . . . . . . . . 6:3
DRAFT
using with AutoDRAFT . . . . . . . . . . A:1
DRAFT Attributes . . . . . . . . . . . . . . . . . . B:1
DRAFT Elements . . . . . . . . . . . . . . . . . . B:1
DRAFT/AutoDRAFT Interface . . . . . . . . 2:1
DRAFT/ISODRAFT to Drawing Editor Interface
3:1
Drawing
copying part . . . . . . . . . . . . . . . . . . . 6:5
resizing part . . . . . . . . . . . . . . . . . . . 6:5
Drawing Editor
autoblanking . . . . . . . . . . . . . . . . . . 5:1
facilities . . . . . . . . . . . . . . . . . . . . . . 6:1
functions . . . . . . . . . . . . . . . . . . . . . 3:1
introduction . . . . . . . . . . . . . . . . . . . 3:1
pull-down menus . . . . . . . . . . . . . . . C:1
starting directly . . . . . . . . . . . . . . . . . 4:1
starting from DRAFT . . . . . . . . . . . . 4:3
starting from ISODRAFT . . . . . . . . . 4:3
starting on the Host AutoCAD Platform 4:2
Drawing Editor Database . . . . . . . . . . . . 3:2
Drawing Scale . . . . . . . . . . . . . . . . . . . . 3:3
Drawing Size
setting in AutoCAD . . . . . . . . . 8:2, 12:2
Drawing Units . . . . . . . . . . . . . . . . . . 3:3, 4:3
DXF File Transfer
limitations . . . . . . . . . . . . . . . . . . . . . 4:3
DXF Plotfile
transferring to the Host AutoCAD Platform
4:2
DXF-Format Transfer File
creating from DRAFT . . . . . . . . . . . . 4:1
creating from ISODRAFT . . . . . . . . . 4:2
B
Backing Sheet Name . . . . . . . . . . . . . . 13:3
Blank Pull-Down Menu . . . . . . . . . . . . . .C:1
Blanked Drawing
plotting . . . . . . . . . . . . . . . . . . . . . . . 5:5
Blanking . . . . . . . . . . . . . . . . . . . . . . . . . 5:4
Blanking Shape
creating . . . . . . . . . . . . . . . . . . . . . . . 5:1
Blanks
editing . . . . . . . . . . . . . . . . . . . . . . . . 5:5
Block
creating . . . . . . . . . . . . . . . . . . . . . . . 9:1
Block Insert
creating . . . . . . . . . . . . . . . . . . . . . . . 9:1
Index page 1
12.0
F
FECs Support in DXF Output . . . . . . . . . 4:4
Frame Editor
deriving DRAFT command files . . . 13:1
direct entry using adraftbe command 13:1
entry from DRAFT . . . . . . . . . . . . . 13:2
functions . . . . . . . . . . . . . . . . . . . . . 11:1
introduction . . . . . . . . . . . . . . . . . . . 11:1
pull-down menu . . . . . . . . . . . . . . . .C:2
starting directly . . . . . . . . . . . . . . . . 12:1
starting from DRAFT . . . . . . . . . . . 12:2
starting on the Host AutoCAD Platform 12:1
T
Text
loading from a file onto a drawing . . 6:4
Text Fonts . . . . . . . . . . . . . . . . . . . . . . . B:4
Transfer File . . . . . . . . . . . . . . . . . . . . . . 4:3
True Type Fonts . . . . . . . . . . . . . . . . . . 10:3
I
ISODRAFT
using with AutoDRAFT . . . . . . . . . . . A:2
ISODRAFT/AutoDRAFT Interface . . . . . 2:2
L
Layer Mapping . . . . . . . . . . . . . . . . . . . . 6:1
Layers
controlling . . . . . . . . . . . . . . . . . . . . . 6:2
Line Widths . . . . . . . . . . . . . . . . . . . . . . . B:3
Linestyles . . . . . . . . . . . . . . . . . . . . . . . . B:3
O
Overlay Sheet Name . . . . . . . . . . . . . . . 13:3
P
Paper Space Viewport
creating on a drawing . . . . . . . . . . . . 6:7
Paper Space/Model Space Viewports . . 3:2
PDMS Frame Pull-Down Menu . . . . . . . .C:2
PDMS Symbol Pull-Down Menu . . . . . . .C:3
S
Sheet Naming Conventions . . . . . . . . . 13:3
Symbol
redefining . . . . . . . . . . . . . . . . . . . . . 9:2
Symbol Editor
creating symbol templates . . . . . . . . 9:1
deriving DRAFT command files . . . 10:1
direct entry using adraftse command 10:1
entry from DRAFT . . . . . . . . . . . . . 10:2
functions . . . . . . . . . . . . . . . . . . . . . . 7:1
introduction . . . . . . . . . . . . . . . . . . . . 7:1
pull-down menu . . . . . . . . . . . . . . . .C:2
starting directly . . . . . . . . . . . . . . . . . 8:1
Index page 2
12.0