AutoDRAFT User Guide PDF
AutoDRAFT User Guide PDF
AutoDRAFT User Guide PDF
User Guide
AVEVA Solutions Ltd
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.
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.
AutoDRAFT User Guide
Contents Page
AutoDRAFT
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1:1
About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1:1
Manual Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1:2
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1:2
i 12.0
AutoDRAFT User Guide
ii 12.0
AutoDRAFT User Guide
iii 12.0
AutoDRAFT User Guide
iv 12.0
AutoDRAFT User Guide
Introduction
1 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 12.0
AutoDRAFT User Guide
Introduction
This manual does not describe how to use the main AutoCAD facilities. Refer to your
AutoCAD user documentation for this.
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 User Guide
AutoDRAFT Facilities
2 AutoDRAFT Facilities
2:1 12.0
AutoDRAFT User Guide
AutoDRAFT Facilities
2:2 12.0
AutoDRAFT User Guide
Drawing Editor - Introduction
Note: DRAFT Layers referred to in this manual should not be confused with LAYE (layer)
database elements in DRAFT. DRAFT layers are AutoCAD layers that have been
allocated to drawing data generated by DRAFT. AutoCAD layers are described in the
AutoCAD Reference Manual.
3:1 12.0
AutoDRAFT User Guide
Drawing Editor - Introduction
See Figure 3:1.: Layers in AutoDRAFT/AutoCAD for an illustration of the use of AutoDRAFT
layers.
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.
Important: All DRAFT drawing elements are on layers named GT_ followed by a number.
You should not create layers whose names beginning with GT_, otherwise any
items on those layers will be deleted by a DRAFT drawing update operation.
3:2 12.0
AutoDRAFT User Guide
Drawing Editor - Introduction
3:3 12.0
AutoDRAFT User Guide
Drawing Editor - Introduction
3:4 12.0
AutoDRAFT User Guide
Drawing Editor - Getting Started
This is done automatically when the Drawing Editor is activated from the DRAFT
forms-and-menus interface.
Note: See Drawing Units for details of an important restriction regarding drawing units
when using the PLOT command.
See the DRAFT User Guide for full details of the PLOT command. This section describes
the optional keywords that can be added to the command.
4:1 12.0
AutoDRAFT User Guide
Drawing Editor - Getting Started
Similarly, the transfer files .dxf extension must not be included in the specified
transfer_filename.
Starting the Drawing Editor is done by running the adraftde script which is supplied as part
of the AutoDRAFT package. The script can be used in three ways:
Creating a New Drawing Editor Drawing
adraftde -new dwg_filename -trfile transfer_filename [-model | -paper]
where dwg_filename is the required AutoCAD drawing database name, and
transfer_filename is the name of the file transferred from DRAFT or ISODRAFT. -
model sets up the drawing in model space, -paper in paper space. If the argument is
omitted, -paper is assumed.
The steps carried out by this form of the script are:
1. Starts AutoCAD.
2. Creates a drawing file (.dwg) (unless you quit from the AutoDRAFT session).
3. Loads the AutoDRAFT Drawing Editor program.
4. Loads the picture from the transfer file into the drawing layers.
5. Leaves you in a Drawing Editor session. The DRAFT or ISODRAFT drawing is
displayed. The current drawing layer is Layer 0.
Updating an Existing Drawing Editor Drawing with a New Picture
adraftde -update dwg_filename -trfile transfer_filename [-model | -paper]
where dwg_filename is the name of the required (existing) AutoCAD drawing database,
and transfer_filename is the name of the updated version of the drawing file transferred
from DRAFT.
The steps carried out by this form of the script are:
1. Starts AutoCAD.
2. Opens the specified AutoCAD drawing file.
3. Loads the AutoDRAFT Drawing Editor program.
4. Empties all picture layers, without altering any items on user-defined (AutoCAD)
layers.
5. Loads the picture from the transfer file into the drawing layers, including any extra
fonts and linestyles required.
4:2 12.0
AutoDRAFT User Guide
Drawing Editor - Getting Started
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.
Displaying an Existing Drawing Editor Drawing (without updating it)
adraftde -open dwg_filename [-model | -paper]
where dwg_filename is the name of the required (existing) AutoCAD drawing file.
The steps carried out by this form of the script are:
1. Starts AutoCAD.
2. Opens the specified AutoCAD drawing file.
3. Loads the AutoDRAFT Drawing Editor program.
4. Leaves you in a Drawing Editor session. The current layer and the status of user-
defined layers are left as they were when you last saved the drawing.
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:3 12.0
AutoDRAFT User Guide
Drawing Editor - Getting Started
4:4 12.0
AutoDRAFT User Guide
Drawing Editor - Autoblanking
The Drawing Editor enables you to blank out selected parts of a drawing. This could be
used, for example, to blank out the graphics behind a label. There are three principal
options:
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).
Edit a blank (various options).
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.
Figure 5:1. Use of Blanking (entities blank) to hide graphics behind a Label
Command: pdms_blank_create
5:1 12.0
AutoDRAFT User Guide
Drawing Editor - Autoblanking
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.
5:2 12.0
AutoDRAFT User Guide
Drawing Editor - Autoblanking
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
AutoDRAFT User Guide
Drawing Editor - Autoblanking
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.
Shapes Ignored.
Dimensions Ignored.
Viewports Ignored.
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
5:4 12.0
AutoDRAFT User Guide
Drawing Editor - Autoblanking
Command: pdms_blank_edit
Note: Only blanks created by AutoDRAFT can be edited using this facility. You cannot
edit blanks applied automatically by DRAFT.
5:5 12.0
AutoDRAFT User Guide
Drawing Editor - Autoblanking
Cover Uncover
Blank>Uncover (or U at the command prompt).
(Use following a Blank>Create operation but before a Blank>Blank
operation.) The prompt changes to:
Select objects to uncover:
Select objects:
Click on the entities that you require not to be hidden by the covering
blank. The hit entity will be highlighted. When the last entity has been
selected press Enter.
When the next Blank>Blank operation is carried out, the hit entities
will not be hidden by the blank.
Blank>Cover (or C at the command prompt) can be used to mark as
covered entities which had previously been marked as uncovered.
The prompt changes to:
Select objects to cover:
Select objects:
Click on the entities that you require to change from being marked as
uncovered to covered. The hit entity will be highlighted. When the
last entity has been selected press Enter.
When the next Blank>Blank operation is carried out, the hit entities
will be hidden by the blank.
Erase
The prompt changes to
Select blanks to erase:
Select objects:
Click on the boundaries of the blanks you wish to erase. The hit blank
will be highlighted. When the last blank has been selected press
Enter.
5:6 12.0
AutoDRAFT User Guide
Drawing Editor - Autoblanking
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
AutoDRAFT User Guide
Drawing Editor - Autoblanking
5:8 12.0
AutoDRAFT User Guide
Drawing Editor - Miscellaneous Facilities
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
AutoDRAFT User Guide
Drawing Editor - Miscellaneous Facilities
Command: pdms_layer_mapping
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: Suppose pdmslaymap.txt contains the following text, and that layer
LAY1 does not currently exist on the drawing, but that LAY2 does:
$*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.
Command: pdms_layers
6:2 12.0
AutoDRAFT User Guide
Drawing Editor - Miscellaneous Facilities
Use: (Whether User or DRAFT is selected, the resulting options are the
same.)
ON
(Type ON or make On selection from pull-down menu.)
Appropriate layers are turned on.
OFF
(Type OFF or make Off selection from pull-down menu.)
Appropriate layers are turned off.
Freeze
(Press F or make Freeze selection from pull-down menu.)
Appropriate layers are frozen, i.e. they will not be regenerated by an
AutoCAD regen command.
Thaw
(Press T or make Thaw selection from pull-down menu.)
Unfreezes the appropriate frozen layers.
Use: (Simply type the command or make the menu selection; there are no
arguments or options)
6:3 12.0
AutoDRAFT User Guide
Drawing Editor - Miscellaneous Facilities
General points: If colours have already been set for the DRAFT layers they will
be changed by pdms_colour.
If individual entities have been assigned specific colours they
will be unaffected by the pdms_colour command.
If entities have been coloured individually, and you want them to
appear in the layer colour, then you should use the AutoCAD
chprop command to change their colours to BYLAYER.
Command: pdms_textfile
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.
6:4 12.0
AutoDRAFT User Guide
Drawing Editor - Miscellaneous Facilities
Note: Text is loaded from a file onto the current layer on the
drawing. The start point is always located at the top of the
input text. Text height and rotation are specified in the same
way as the AutoCAD text command.
If LSF=-0.2 then the lines of text will overlap. Note that text
fonts allow for spacing above and below characters in the
font. This means that the text body itself may not overlap with
adjacent lines of text for small negative LSF (e.g. -0.1).
Command: pdms_copy
6:5 12.0
AutoDRAFT User Guide
Drawing Editor - Miscellaneous Facilities
Use: Click on the objects you wish to copy/magnify. Press Enter to finish
selecting.
Base point or displacement:
Click on the base point, i.e. the from point for the copy operation.
This would usually be on or within one of the selected objects, but it
may be displaced. See Figure 6:1.: Definition of Base Point for Copy
Operation (point 1).
<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
AutoDRAFT User Guide
Drawing Editor - Miscellaneous Facilities
Command: pdms_view_create
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
AutoDRAFT User Guide
Drawing Editor - Miscellaneous Facilities
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.)
Command: pdms_view_sel
Use: Click on the boundary of the viewport you wish to make current.
Command: pdms_quitacad
Use: Press Y (or type YES or YE) to quit; anything else will not quit.
6:8 12.0
AutoDRAFT User Guide
Drawing Editor - Miscellaneous Facilities
Command: pdms_endacad
Use: (No prompt; simply type in the command or make the menu
selection.)
Note: The drawing will be saved over any existing drawing of the
same name.
6:9 12.0
AutoDRAFT User Guide
Drawing Editor - Miscellaneous Facilities
6:10 12.0
AutoDRAFT User Guide
Symbol Editor - Introduction
7:1 12.0
AutoDRAFT User Guide
Symbol Editor - Introduction
Circle
Arc
Text (with Generation Normal)
Inserts which contain 2D primitives as specified above, including any Attributes.
7:2 12.0
AutoDRAFT User Guide
Symbol Editor - Getting Started
Starting the Symbol Editor is done by running the adraftse script which is supplied as part of
the AutoDRAFT package. The script can be used in two ways:
Creating a New Symbol Editor Drawing
adraftse -new dwg_filename
where dwg_filename is the required AutoCAD drawing database name.
The steps carried out by this form of the script are:
1. Starts AutoCAD.
2. Creates a drawing file (.dwg) (unless you quit from the AutoDRAFT session).
3. Loads the AutoDRAFT Symbol Editor program.
4. Leaves you in an AutoDRAFT Symbol Editor session with an empty drawing.
Opening an Existing Symbol Editor Drawing
adraftse -open dwg_filename
where dwg_filename is the name of the required (existing) AutoCAD drawing database.
The steps carried out by this form of the script are:
1. Starts AutoCAD.
2. Opens the specified AutoCAD drawing file.
3. Loads the AutoDRAFT Symbol Editor program.
4. Leaves you in a Symbol Editor session with an existing drawing displayed.
8:1 12.0
AutoDRAFT User Guide
Symbol Editor - Getting Started
Command: limits
8:2 12.0
AutoDRAFT User Guide
Symbol Editor - Creating Symbol Templates
The Symbol Editor allows you to create symbol templates in AutoCAD as AutoCAD blocks.
A block, and an insert of the block, are created. (Blocks may, of course, be created using
standard AutoCAD commands, but the AutoDRAFT Symbol Editor provides a method which
is optimised for the creation of blocks to be used as symbol templates in DRAFT.)
The procedure for creating a symbol template is:
1. Create the symbol graphics using lines, points, circles, arcs and text.
2. Create an AutoCAD attribute called PDMS_NAME for the symbol name.
3. Create a block and an insert of the block.
Command: attdef
Command: pdms_make_symbol
9:1 12.0
AutoDRAFT User Guide
Symbol Editor - Creating Symbol Templates
Use: enter the desired block name in response to the initial prompt. The
remaining prompts and required responses are:
9:2 12.0
AutoDRAFT User Guide
Symbol Editor - Deriving DRAFT Command Files
Command: pdms_symbols
Use: select the required block inserts. The remaining prompts and required
responses are:
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 Application User
Guide.
Note: The ways in which AutoCAD entities and attributes are mapped
to DRAFT elements and attributes are described in Appendix B.
10:1 12.0
AutoDRAFT User Guide
Symbol Editor - Deriving DRAFT Command Files
Command: pdms_symbols
Command: pdms_quitacad
Use: Press Y (or type YES ) to quit; anything else will not quit.
Command: pdms_endacad
Use: (No prompt; simply type in the command or make the menu
selection.)
Note: DRAFT will read in the macro created to produce the required
Symbol Templates (SYTM elements) in the current Symbol
Library.
10:2 12.0
AutoDRAFT User Guide
Symbol Editor - Deriving DRAFT Command Files
10:3 12.0
AutoDRAFT User Guide
Symbol Editor - Deriving DRAFT Command Files
10:4 12.0
AutoDRAFT User Guide
Frame Editor - Introduction
11:1 12.0
AutoDRAFT User Guide
Frame Editor - Introduction
11:2 12.0
AutoDRAFT User Guide
Frame Editor - Getting Started
Starting the Frame Editor is done by running the adraftbe script which is supplied as part of
the AutoDRAFT package. The script can be used in two ways:
Creating a New Frame Editor Drawing
adraftbe -new dwg_filename
where dwg_filename is the required AutoCAD drawing database name.
The steps carried out by this form of the script are:
1. Starts AutoCAD.
2. Creates a drawing file (.dwg) (unless you quit from the AutoDRAFT session).
3. Loads the AutoDRAFT Frame Editor program.
4. Leaves you in an AutoDRAFT Frame Editor session with an empty drawing.
Opening an Existing Frame Editor Drawing
adraftbe -open dwg_filename
where dwg_filename is the name of the required (existing) AutoCAD drawing database.
The steps carried out by this form of the script are:
1. Starts AutoCAD.
2. Opens the specified AutoCAD drawing file.
3. Loads the AutoDRAFT Frame Editor program.
4. Leaves you in a Frame Editor session with an existing drawing displayed.
12:1 12.0
AutoDRAFT User Guide
Frame Editor - Getting Started
Command: limits
ON/OFF/<Lower left corner><current value>: 0,0 Upper right
corner<current value>: 1189,841
12:2 12.0
AutoDRAFT User Guide
Frame Editor - Deriving DRAFT Command Files
Having drawn the required Sheet graphics in AutoCAD, the procedure for creating the
command macro for import into DRAFT depends on whether:
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
Use: select the required entities. The remaining prompts and required
responses are:
13:1 12.0
AutoDRAFT User Guide
Frame Editor - Deriving DRAFT Command Files
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.
Command: pdms_sheet
Command: pdms_quitacad
Use: Press Y (or type YES ) to quit; anything else will not quit.
13:2 12.0
AutoDRAFT User Guide
Frame Editor - Deriving DRAFT Command Files
Command: pdms_endacad
Use: (No prompt; simply type in the command or make the menu
selection.)
Note: DRAFT will read in the macro created to produce the required
BACK/OVER elements in the current Sheet Library.
13:3 12.0
AutoDRAFT User Guide
Frame Editor - Deriving DRAFT Command Files
13:4 12.0
AutoDRAFT User Guide
AutoDRAFT Working Practices
A:1 12.0
AutoDRAFT User Guide
AutoDRAFT Working Practices
A:2 12.0
AutoDRAFT User Guide
AutoCAD to DRAFT Entity and Attribute Mapping
B:1 12.0
AutoDRAFT User Guide
AutoCAD to DRAFT Entity and Attribute Mapping
B:2 12.0
AutoDRAFT User Guide
AutoCAD to DRAFT Entity and Attribute Mapping
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
AutoDRAFT User Guide
AutoCAD to DRAFT Entity and Attribute Mapping
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:4 12.0
AutoDRAFT User Guide
AutoCAD to DRAFT Entity and Attribute Mapping
The next three digits of the old file name (which represent the character set) become:
Note: The re-use of character set L is not important, as the fonts concerned are made
distinct by the alphabet letter.
B:5 12.0
AutoDRAFT User Guide
AutoCAD to DRAFT Entity and Attribute Mapping
The prefix of one to three initial letters becomes a single letter, as described above:
Letter Meaning
F Filled Font }
S Shift-JIS Encoding }
TrueType fonts can be used in addition to the native PDMS ones. See TrueType Texts for
details.
B:6 12.0
AutoDRAFT User Guide
AutoDRAFT Menus
C 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 12.0
AutoDRAFT User Guide
AutoDRAFT Menus
Load Text Load text from a text file onto the drawing (pdms_textfile)
PDMS EndAcad Ends an AutoCAD session, saving the current drawing and
automatically exiting from the main menu screen.
PDMS QuitAcad Quits an AutoCAD session without saving the current drawing, also
automatically exiting from the main menu screen.
Layers Submenu
The layers submenu is used to control both the PDMS layers and the non-PDMS layers
through the pdms_layers command
On Switch layers on
PDMS EndAcad Ends an AutoCAD session, saving the current drawing and
automatically exiting from the main menu screen.
PDMS QuitAcad Quits an AutoCAD session without saving the current drawing, also
automatically exiting from the main menu screen.
C:2 12.0
AutoDRAFT User Guide
AutoDRAFT Menus
PDMS EndAcad Ends an AutoCAD session, saving the current drawing and
automatically exiting from the main menu screen.
PDMS QuitAcad Quits an AutoCAD session without saving the current drawing, also
automatically exiting from the main menu screen.
C:3 12.0
AutoDRAFT User Guide
AutoDRAFT Menus
C:4 12.0
AutoDRAFT User Guide
Index
A D
AutoCAD DRAFT
leaving saving changes . 6:9, 10:2, 13:3 using with AutoDRAFT . . . . . . . . . . A:1
leaving without saving changes 10:2, 13:2 DRAFT Attributes . . . . . . . . . . . . . . . . . . B:1
working practices . . . . . . . . . . . . . . . 7:1 DRAFT Elements . . . . . . . . . . . . . . . . . . B:1
AutoCAD Attributes . . . . . . . . . . . . . . . . . B:1 DRAFT/AutoDRAFT Interface . . . . . . . . 2:1
AutoCAD Bigfont Text Support . . . . . . . . B:6 DRAFT/ISODRAFT to Drawing Editor Interface
AutoCAD Entities . . . . . . . . . . . . . . . . . . B:1 3:1
AutoCAD to DRAFT Entity Mapping . . . . B:1 Drawing
AutoDRAFT copying part . . . . . . . . . . . . . . . . . . . 6:5
facilities . . . . . . . . . . . . . . . . . . . . . . . 2:1 resizing part . . . . . . . . . . . . . . . . . . . 6:5
functions . . . . . . . . . . . . . . . . . . . . . . 2:1 Drawing Editor
working practices . . . . . . . . . . . . . . . A:1 autoblanking . . . . . . . . . . . . . . . . . . 5:1
AutoDRAFT Menus . . . . . . . . . . . . . . . . .C:1 facilities . . . . . . . . . . . . . . . . . . . . . . 6:1
AVEVA Colours functions . . . . . . . . . . . . . . . . . . . . . 3:1
applying . . . . . . . . . . . . . . . . . . . . . . 6:3 introduction . . . . . . . . . . . . . . . . . . . 3:1
pull-down menus . . . . . . . . . . . . . . . C:1
B starting directly . . . . . . . . . . . . . . . . . 4:1
starting from DRAFT . . . . . . . . . . . . 4:3
Backing Sheet Name . . . . . . . . . . . . . . 13:3 starting from ISODRAFT . . . . . . . . . 4:3
Blank Pull-Down Menu . . . . . . . . . . . . . .C:1 starting on the Host AutoCAD Platform 4:2
Blanked Drawing Drawing Editor Database . . . . . . . . . . . . 3:2
plotting . . . . . . . . . . . . . . . . . . . . . . . 5:5 Drawing Scale . . . . . . . . . . . . . . . . . . . . 3:3
Blanking . . . . . . . . . . . . . . . . . . . . . . . . . 5:4 Drawing Size
Blanking Shape setting in AutoCAD . . . . . . . . . 8:2, 12:2
creating . . . . . . . . . . . . . . . . . . . . . . . 5:1 Drawing Units . . . . . . . . . . . . . . . . . . 3:3, 4:3
Blanks DXF File Transfer
editing . . . . . . . . . . . . . . . . . . . . . . . . 5:5 limitations . . . . . . . . . . . . . . . . . . . . . 4:3
Block DXF Plotfile
creating . . . . . . . . . . . . . . . . . . . . . . . 9:1 transferring to the Host AutoCAD Platform
Block Insert 4:2
creating . . . . . . . . . . . . . . . . . . . . . . . 9:1 DXF-Format Transfer File
creating from DRAFT . . . . . . . . . . . . 4:1
creating from ISODRAFT . . . . . . . . . 4: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