Design Manual
Design Manual
5
Reference Manual
Copyright 2006
KNOWLEDGE BASE
Conditions of Sale
The purchaser (further referred to as the Licensee) hereby accepts a
non-exclusive, non-transferable license to use the software, AllyCAD,
on the following conditions.
1. The license fee shall be payable in advance and this agreement
commences on said date of purchase.
2. A separate license fee is payable for each CPU upon which the
Licensee wishes to use the software.
3. The Licensee undertakes not to copy, except for backup
purposes, reproduce, translate, adapt, vary or modify the
software, nor to communicate the software to any third party
other than the Licensee’s employees, without the Licensor’s prior
written consent.
4. The Licensee agrees that it shall not itself or through any
subsidiary, agent or third party, sell, lease, license, sub-license
or otherwise deal with the software.
5. The Licensee acknowledges that any and all of the intellectual
property rights including trademark, trade name, copyright and
other rights used or embodied in or in connection with the
software shall be and remain the sole property of the Licensor
and it’s principals.
6. The Licensee shall not question or dispute the ownership of any
such rights at any time.
7. It is up to the Licensee to insure the program for the full
replacement value. In the event of theft or loss of the program,
security disk, or security module the license must be re-
purchased in full.
8. No warranty of any kind is made with regard to the use or
application of the software or it’s fitness for any particular
purpose. The verification of all results and output is entirely the
responsibility of the purchaser.
9. While every care has been taken in the preparation of the
AllyCAD program and it’s manual, Knowledge Base cc, it’s
employees and agents shall not be liable for any loss or damage
(including in particular, consequential losses, loss of profits and
penalties) suffered by the Licensee arising from any cause
whatsoever in connection with the AllyCAD program or the use
thereof whether such loss or damage results from breach of
contract (including a fundamental breach), negligence or any
other cause and whether or not this contract is at any time
cancelled by the Licensee arising from any cause whatsoever in
connection with the AllyCAD program or the use thereof whether
or not this contract is at any time cancelled.
Table of Contents
INTRODUCTION
Typefaces in this manual i
How to get support ii
Online Help ii
FILE MENU
Clear All 1-2
New 1-2
Open 1-3
If the New Bitmap Path dialog box is displayed 1-4
Notes about loading DXF and DWG drawings 1-4
Load 1-9
Load Drawing 1-9
Load Layers 1-10
Load Geom 1-12
Load Bitmap 1-12
Batch Load Bitmaps 1-17
Load Menu 1-18
Load Title Block 1-19
Save 1-20
Save As 1-21
Saving an AutoCAD DWG file or a DXF file 1-21
Saving an AllyCAD DRG file 1-24
Drawing Office Manager 1-26
Save AllyCAD DOS 1-29
Save Options 1-30
Save Settings 1-30
Edit Description 1-32
Save Selected 1-33
Save Layer 1-33
Save Visible 1-34
Save Geometry 1-34
Load Symbol File 1-35
Import/Export 1-38
Import HPGL 1-38
Import ASCII 1-39
Import ShapeFile 1-40
Export Macro 1-40
Export Text 1-41
Export ShapeFile 1-42
Print 1-43
Printer Defaults 1-44
i
Printing to a pen plotter 1-46
Creating an HPGL file 1-46
Zoom Print 1-47
Print Setup 1-49
Exec Macro 1-50
Encode Macro 1-50
Edit Macro 1-50
Repair DRG File 1-51
Purge Redundant Elements 1-52
Security 1-53
Hasp Dongle Overview 1-56
NetHasp 1-56
Exit 1-58
EDIT MENU
Undo 2-2
Redo 2-2
Cut 2-3
Copy 2-3
Paste 2-4
Delete 2-5
Select 2-6
Selecting 2-7
Handles 2-8
Stretching and Scaling 2-9
Rotating 2-11
Dragging 2-12
Copying 2-12
Double Click Editing 2-12
Select Nodes 2-14
Select by Polygon 2-16
Selection Filters 2-17
Objects 2-18
Properties 2-21
Text 2-21
Clear Selection 2-22
Move to Front 2-23
Move to Back 2-23
VIEW MENU
Zoom Window 3-2
Zoom Last 3-4
Zoom Next 3-5
Zoom All 3-5
Zoom Paper 3-6
ii
Zoom Scaled 3-6
Zoom Selected 3-7
Zoom View 3-7
Define Zoom View 3-8
Toolbars 3-11
Magnify 3-12
Demagnify 3-12
Pan 3-13
Long Pan 3-14
Refresh 3-15
DRAW MENU
Line (Chained) 4-2
Lines (Pt to Pt) 4-3
Point 4-4
Rectangle 4-5
Arc 3 Point 4-6
Arc Radius 4-7
Circle 4-9
Circle Diameter 4-10
Circle 2 Point 4-11
Line Arc Line 4-12
Parallel Line 4-15
1 Parallel Element 4-17
Geometry Trace-Over 4-21
Fill Geom 4-21
Fill Geometry Cir 4-22
Fill Geom Arc 4-23
Ellipses 4-25
Ellipse 4-25
Part Ellipse 4-26
Splines 4-28
Circular Spline 4-28
Cubic Spline 4-29
Polyline 4-31
Bulged Polyline 4-33
Polygon 4-36
Symbol 4-38
Options on the control bar 4-39
Entering Symbols without AutoR checked 4-41
Entering Symbols when AutoR is Checked 4-42
Sketch 4-44
MODIFY MENU
Stretch 5-2
iii
Move 5-4
Move Point 5-5
Mirror Image 5-6
Mirror Axis 5-7
Keep Original 5-8
Scale 5-9
Scaling by cursor 5-10
Scaling from the keyboard 5-12
Repeat 5-13
Rectangular Repeat 5-14
Polar Repeat 5-15
Drop 5-17
Rotate 5-18
Rotating by angle 5-18
Rotating by cursor 5-19
Trim 5-20
Update 5-20
Use 5-21
Trim Length 5-22
Multi Line Trim 5-23
Fillet 5-23
Update 5-24
Use 5-24
Radius 5-26
Chamfer 5-27
Chamfer by angle and one length 5-28
Chamfer by two lengths 5-28
Divide/Extend 5-29
Splitting a line or arc 5-29
Extending a line or arc 5-29
Divide/Edit 5-30
Join Lines 5-31
Cut and Rub 5-33
Cutting in one place 5-34
Cutting in two places 5-35
Snip 5-36
Snipping inside or outside a box. 5-37
Snipping inside or outside a circle 5-38
Polysnip 5-39
Move Selected->New Layer 5-40
Copy Selected->New Layer 5-41
Ellipse2Arcs 5-42
Transform 5-42
Indicate transformation points 5-43
Type in transformation points 5-44
Clarke->WGS84 (SA Only) 5-44
iv
GEOMETRY MENU
Cross 6-2
Slope Line 6-3
Point-Point Line 6-4
Parallel Line 6-5
Parallel line by distance 6-6
Parallel line through point 6-6
Circle 6-7
Circle Diameter 6-8
Circle Tan LL 6-9
Circle Tan LC 6-11
Circle Tan CC 6-14
Circle Tan 3L 6-19
Circle Tan LPtRad 6-21
Circle Tan CPtRad 6-23
Circle 3 Pt 6-27
Line Tan C 6-28
Tangent line at a fixed angle 6-29
Tangent line through point 6-29
Line Tan CC 6-30
Perp Bisector 6-32
Perpendicular Bisector between two points 6-33
Perpendicular to a line which passes through a point 6-33
Divide Line Equally 6-34
Divide Arc-Circle Equally 6-34
Make Geometry 6-36
Switch Geometry On/Off 6-37
Delete Geometry El 6-38
Delete All Geometry 6-39
ANNOTATE MENU
Add Text 7-2
Adding text around an arc 7-4
Edit Text 7-5
Edit Text 7-5
Move Text 7-5
Scale Text 7-6
Change Text Parameters 7-6
Set Alignment 7-7
Align To Each Other 7-7
Align To Grid 7-9
Alignment 7-9
Distribution 7-15
Align 7-18
Horizontal Dimension 7-20
Mechanical Style 7-21
v
Architectural Style 7-27
Vertical Dimension 7-29
Slope Dimension 7-30
Parallel sloping dimensions 7-31
Dimensions at fixed angles 7-32
Isometric dimensions 7-34
Angular Dimension 7-36
Dimensioning angles between 2 existing lines 7-37
Dimensioning angles between three points 7-39
Dimensioning an existing arc length 7-41
Dimension an arc between three points 7-42
Radial Dimension 7-45
Ordinate Dimension 7-48
Survey Dimension 7-50
Edit Dimension 7-52
Edit Dimension Properties 7-52
Cut Dimension Line 7-54
Alter Dimension 7-55
Add Arrow 7-61
Add Balloon 7-63
Add/Rem Text Bubble 7-65
Enter Hatch/Solid Fill 7-66
Pattern hatching 7-66
Solid Fill 7-68
Tips for creating interesting hatched effects 7-70
Quick Hatch Polylines 7-72
Alter Existing Hatch 7-72
Draw All Hatch 7-73
Draw Selected Hatch 7-73
Pick Index from Hatch 7-75
Hatch -> Lines 7-76
Label Coord 7-77
TOOLS MENU
Lock Cursor 8-2
Lock to Line 8-3
Lock Geom Line 8-3
Lock Keyboard 8-3
Perpendicular 8-3
120 deg 8-4
Hold 8-4
Unlock 8-6
Jumps 8-7
Grab All 8-7
Geometry Intersection 8-8
Grid 8-8
vi
Any Intersection 8-9
Point 8-9
Circle Centre 8-10
Near Element 8-10
Last Fixed 8-11
Mid Point 8-11
Ratio 8-12
Move to Coordinates 8-14
Polar Move 8-15
Show Nodes 8-16
Dump Data 8-17
Object Header 8-19
Object Details 8-20
Grid 8-26
Measure 8-28
Polygon Area 8-29
Add Data Item 8-31
Edit Data Item 8-33
Query Entity 8-34
Bill of Materials (BOM) 8-35
Creating a Template for the Bill of Materials 8-35
Creating a Bill of Materials 8-39
Creating objects with attributes (Symbols) 8-40
Tidy Polygons 8-45
Add Nodes 8-46
Tidy Up Boundaries 8-47
Drawingsnaptidy 8-49
DrawingCliptidy 8-51
Line to Polyline 8-52
Arc to Points 8-53
Expand 8-53
Detailed view in a box 8-54
Detailed view in a circle 8-57
General 8-58
Bitmap List 8-60
Locate Text 8-60
OBJECTS MENU
An introduction to objects and symbols 9-2
Properties of objects 9-2
Using an object as a symbol 9-5
Begin New Object 9-6
Group Into Object 9-7
Explode Object 9-8
Show Objects 9-9
List Objects 9-13
vii
Make Symbol 9-15
Edit Object 9-19
Change Name 9-19
Change Parent 9-21
Change Hook Point 9-21
Update Objects 9-23
Count Named Objects 9-24
Select Current Object 9-25
Blink Current Object 9-25
Create Block 9-27
Insert Block 9-28
SETTINGS MENU
Drawing Settings 10-2
Paper Size 10-2
Scale 10-3
Coordinate System 10-9
Angular Format 10-12
View Settings 10-14
Re-Centre Paper 10-20
Sheet Size and Scale 10-21
Change Magnify Factor 10-22
Line Defaults 10-23
Polyline Defaults 10-25
Parallel Defaults 10-28
New Geometry Colour 10-34
Set Text Defaults 10-35
Set Dim Defaults 10-41
Witness Line and Arrow Style. 10-41
Number Decimals 10-44
Dimension Text 10-44
Set Survey Defaults 10-46
Set Arrow Defaults 10-49
Set Balloon Defaults 10-51
DXF/DWG Conversion Settings 10-54
From DXF/DWG Conversion Settings 10-54
To DXF/DWG Conversion Settings 10-55
AllyCAD DOS Conversion Settings 10-56
Virtual Memory Settings 10-57
Digitizer Settings 10-58
System Settings 10-63
System Settings 10-63
Tiled Bitmaps 10-66
Set Current Layer 10-68
Set Visible Layers 10-69
Layer Settings 10-70
viii
To Edit a Layer 10-71
To Add a Layer 10-71
To Delete a Layer 10-71
To Set the Current Layer 10-72
Setting Visible Layers 10-72
Layer Highlight 10-72
Operate on 10-73
Pen and Line Type By Layer 10-73
TOOLKIT MENU
General Toolkit 11-2
Calculator 11-3
Batch Print 11-4
File Converter 11-5
Read Excel Table 11-6
Layer Info on Plot 11-7
Divide an Angle 11-8
Divide a Line 11-9
Total Line Length 11-12
Hide Layer 11-14
Line/Pen by Layer 11-15
Draw Centrelines 11-16
Draw Chamfered Rect 11-17
Draw Filleted Rect 11-18
Set Layer from Element 11-19
Architectural Toolkit 11-20
Architectural Toolkit Functions: 11-20
Architectural Setup Dialog 11-21
Draw Walls 11-22
Add Roof Line to Plan 11-28
Place Symbols 11-30
Draw Elevations 11-32
Add Roof to Elevation 11-34
Drawing Cross Sections 11-36
Drawing Stairs 11-44
Civils Toolkit 11-51
Cut and Fill Lines 11-52
Sewer Capture Toolkit 11-54
Mechanical Toolkit 11-57
Setup 11-58
Hex Head Bolts 11-60
Hex Nuts 11-62
Socket Screws 11-64
Rivets 11-67
Drilled Holes 11-70
Draw Slots 11-73
ix
Concentric Circles with Centre Lines 11-74
Add CL to Circle 11-75
Shafts 11-76
Gears 11-78
Links 11-80
Flanges 11-82
Rect to Round Duct 11-84
Rect to Round Duct 11-84
Coordinate Table 11-86
Parts List Table 11-88
User Table 11-90
Annotate Welds 11-92
Annotate Tolerances 11-94
Annotate Surface Finishes 11-95
Structural Toolkit 11-97
Building Grid 11-98
Survey Toolkit 11-102
Street Numbers 11-103
Coordinate Constant 11-105
Draw North Sign 11-106
Draw Grid Crosses 11-107
Import Points 11-108
Add Points 11-109
Export Points 11-110
Jump to Point 11-111
Auto Join Points 11-112
Connect Points 11-113
Traverse 11-114
Tache Shot 11-115
SG Diagram 11-117
Default Settings 11-117
Trace Figure 11-119
Adjust Drawing 11-121
General Plan 11-122
Default Settings 11-122
Insert Titleblock 11-125
Insert Heading 11-125
Erf Numbering and Area Table 11-126
Dimension Erf 11-127
Point-Point Dimension 11-127
Multiple Dimension 11-128
Outside Figure Table 11-128
Block Corners Table 11-130
Reference Mark Table 11-131
Control Coordinates Table 11-132
Sectional Plan 11-133
x
Default Settings 11-133
Section Manager 11-135
Trace Section 11-138
Generate Sheet 1 11-139
Generate Block Plan 11-140
Generate Floor Plan 11-141
Generate PQ Sheet 11-142
PERIMETER MENU
Accept Button 12-144
Cancel Button 12-144
Circle 12-144
Rectangle 12-145
Line (Chained) 12-145
Objects 12-146
Intersections 12-146
Auto 12-147
DEFAULTS
Multiple users 13-2
User Home directory 13-2
Adding new users 13-3
CAD.INI 13-5
Paths 13-8
Print 13-9
FromDXFFonts 13-9
ToDXFFonts 13-9
DXFFlags 13-9
Controlbar 13-9
Digitizer 13-10
Logfile 13-10
Drawings 13-10
Vmem 13-10
Colors 13-10
Textedit 13-10
Infowindow 13-11
Coordtable 13-11
BOM 13-11
CAD.MEN
Comments 14-1
Toolbars 14-2
Pull-Down Menus 14-4
Accelerators 14-6
Digitizer 14-6
xi
Functions 14-7
Transparent Commands 14-7
Short Cuts 14-7
Macros 14-8
HATCH PATTERNS
Hatch Pattern Definitions 15-2
Example 1 - Line 15-5
Example 2 - Dash 15-6
Example 3 - Newbrick 15-7
Example 4 - Triang 15-11
LINE TYPES
Line Type Definitions 16-2
Merging Drawings containing blocks 16-5
MACROS
Writing my first macro 17-2
Some hints and tips 17-5
Description 17-9
Statements 17-9
Special Characters 17-10
Variables 17-11
Maths Functions 17-13
General Purpose Functions 17-16
Flow of Control Commands 17-18
Data Entry Functions 17-21
String Functions 17-23
Coordinate to String Conversion 17-27
Enquire Functions 17-30
ASCII Files 17-44
DDE Commands 17-48
AllyCAD Functions 17-51
File Functions 17-53
Edit Functions 17-59
View Functions 17-63
Draw Functions 17-65
Modify Functions 17-70
Geometry Functions 17-73
Annotate Functions 17-76
Tools Functions 17-84
Objects Functions 17-89
Settings Functions 17-92
Window Functions 17-109
Perimeter Functions 17-110
xii
COMPILED MACROS
Advantages of using compiled macro programs 18-1
The structure of a compiled macro program 18-2
An introductory sample compiled macro program 18-2
Converting old-style macro programs 18-3
Language elements 18-4
Character set 18-4
Special Characters 18-5
Tokens, separators and the use of blanks 18-6
Identifiers and reserved words 18-6
Numeric constants 18-7
Character constants 18-8
String constants 18-8
Coordinate pairs 18-9
Comments 18-10
Variables 18-11
Numeric variables 18-11
String variables 18-11
Arrays 18-12
Numeric expressions 18-13
Operands 18-13
Operators 18-13
Precedence of operators 18-15
Expressions in parentheses 18-15
Built-in numeric functions 18-16
String expressions 18-19
Statements 18-21
Assignment statements 18-21
String assignments 18-21
IF and ELSE statements 18-22
WHILE statement 18-23
BREAK statement 18-24
SWITCH statement 18-24
CALL and RETURN statements 18-25
EXIT statement 18-25
Procedures 18-26
Format of a procedure 18-26
Procedure parameters 18-26
Return value of a procedure 18-28
Ways of activating a procedure 18-28
Passing parameters by reference 18-28
Compiling a compiled macro program 18-30
Error and warning messages 18-30
How does a compiled macro program differ? 18-32
String constants enclosed in quotation marks 18-32
Unintentional combination of numeric arguments 18-32
xiii
Commands/functions whose syntax has changed 18-32
List of compiled macro reserved words 18-33
Compiled macro limits 18-34
APPENDIX A - FUNCTIONS
Function by Menu Name 19-2
Functions A to Z 19-10
xiv
Introduction
This manual will help you install AllyCAD and get started. It also
includes easy-to-follow tutorials for hands-on experience with the
program.
Introduction i
How to get support
Technical support is available from 08.00 to 17.00 Mondays to
Fridays excluding public holidays.
South Africa 086 0101 999
International +27 (021) 701-1850
You can also email your support enquiries to our Customer Support
Centre at [email protected]
Online Help
While using the program you can press F1 for context sensitive help
at any time. The help items can be printed if required using the
Windows Help system.
If you have not saved the current drawing, a dialog box asking you
whether you want to save it will appear. To save your drawing, click
on the YES button. To abandon it without saving, click on the NO
button.
New
Creates a new empty window with a blank drawing in it
Procedure
The standard File dialog box is displayed. To choose the type of
drawing file you want to load - DRG, DWG or DXF - set the Files of
Type list box at the bottom left of the dialog box. Select the drawing
you want and click on the Open button.
If you have checked the Open creates a new window option in the
System Settings dialog and you have a drawing on your screen,
AllyCAD will ask you whether you want to save it and will then close
it. The new drawing will be loaded. As it loads, a bar at the bottom of
the screen will show the progress of the load.
The names of the drawings you have worked on most recently are
listed at the bottom of the File menu. To load one of these drawings,
click on its name in the list.
You can also open DRG, DWG and DXF files by dragging them into
AllyCAD from Windows Explorer.
DWG/DXF Versions
AllyCAD supports all AutoCAD 12, 13, 14, 2000, 2002 and 2004-
2006 DXF and DWG data except Shapes, 3D Faces. Loading of Model
Space or Paper Space is supported, but not simultaneously. If you
bring 3D information into AllyCAD, the z coordinates will most likely
be dropped.
You don’t have to load the drawing into a new drawing with specially
configured drawing defaults, just open the drawing and select either
the “AutoCAD DWG” or “AutoCAD DXF” and from file type combo box
in the open file dialog.
Click the “Next” button to access the next page of the wizard and the
“Back” button to retrieve the previous page and “Finish” once you
have completed the process.
If the drawing contains layouts (paper spaces) the following message
will appear:
Select “Yes” if you want to load a paperspace else “No” if you want to
load the model space.
Select the paper space you want by click on it in the list and pressing
OK. The drawing will then load.
Pen colours
AllyCAD pen numbers are identical to the DWG and DXF files. If the
colours are different to AutoCAD click on the [Pen] button in the
Control Bar and then check the AutoCAD colors option.
Fonts
Because AutoCAD does not always use a standard Windows font
system and AllyCAD does, you need to convert DXF and DWG fonts
Line Types
By default, DXF and DWG line types should be displayed correctly in
AllyCAD. However, the LINETYPE.MAC file, which defines the line
styles, may have been changed.
Drawing Origin
As AutoCAD's origin point (0 0) is at bottom left and AllyCAD's is at
the centre of the paper, you may have to use the Settings ► Re-Centre
Paper function to centre a DXF or DWG drawing on the paper.
Scale
As AutoCAD works mainly at a scale of 1:1 you may want to change
the scale in AllyCAD to a more normal setting, e.g. 1:50, using
Settings ► Drawing Settings.
Dimensions
AutoCAD has two ways of putting text into a dimension, either blank
or some text. If the AutoCAD dimension is blank, AllyCAD puts in its
own text based on the current dimension settings. If the AutoCAD
dimension has text in it, AllyCAD copies it across verbatim.
Load Drawing
Inserts another drawing into the existing drawing
Procedure
When you load a DWG or DXF file into an existing drawing, the new
drawing will be positioned on the existing drawing according to its
coordinates, i.e. an entity positioned at coordinate "100,100" on the
new drawing will be positioned at coordinate "100,100" on the
existing drawing. This is also true if you load an AllyCAD drawing
into an existing drawing and you are working with Surveyor
coordinates.
However, if you load an AllyCAD drawing into an existing drawing
and you are using Cartesian coordinates, AllyCAD will prompt:
Enter new Reference Point
Position the cursor at that position in the existing drawing where you
want the new drawing to be loaded and press [Enter] or click. The
origin point of the new drawing (coordinate "0 0") will be positioned
at the point you specify and will take on the coordinates of the
existing drawing.
If you saved the drawing you are loading using the File ► Save
Options ► Save Visible option the reference point you specified when
you saved the drawing will be positioned at the point you specify
here.
If you enter a scale of “1” the drawing you are loading will be loaded
at the size at which you drew it, i.e. a dimension that measured
“10” on the drawing will still measure “10”.
If you type another scale, for example “2”, the drawing you are
loading will be twice as big as it was drawn, i.e. a dimension that
measured 10 will now measure 20.
Load Layers
Load selected layers of a drawing
This function loads a subset of layers from another drawing into the
existing drawing.
Procedure
AllyCAD will prompt:
Enter layer names to be loaded, separated by commas.
Type in the names of the layers you want to load, for example WALLS
or CONTOURS. Typing "@" will load all layers. Click on OK or press
[Enter].
The rest of this function operates in exactly the same way as File ►
Load ► Load Drawing.
This function loads geometry lines that have previously been saved
using File ► Save Options ► Save Geometry or via an option in the File ►
Save Options ► Save Settings dialog.
Procedure
The standard file dialog box is displayed. Select the geometry file you
want to load.
If the geometry file was stored at a different scale from that currently
set, the message
Warning: geometry file was stored at scale x on paper size y
Load Bitmap
Load a bitmap as a backdrop to the drawing
Once you have finished editing the Set Bitmap Parameters dialog box, click
on OK. AllyCAD will prompt:
Enter coordinates for upper left corner of bitmap
Position the cursor where you want the upper left corner of the bitmap to
be positioned and press [Enter] or click. The bitmap will be displayed.
Once you have loaded the bitmap, you can select it using Select, drag it,
move it, stretch it, scale it, copy it, rub it out etc. However, you cannot edit
the pixels within it. You can print bitmaps to raster devices such as
printers or inkjet plotters.
• If you need to move the bitmap so it is behind other elements on
the drawing, use Edit ► Move to Back.
• When you save a drawing that contains a bitmap, the bitmap is
not stored in the drawing. Only a reference to the bitmap is stored. It is
therefore important that you do not delete the bitmap. If you delete the
bitmap or move it to another directory, an error message will appear next
time you try to load any drawings containing the bitmap.
Bitmap Tiling
Each Tiling is an indexing system for large bitmaps. Bitmaps larger than
the threshold value set in the edit box labeled “Bitmap threshold size for
tiling (kb)” on the “Tiled Bitmaps” tab of the “System Settings” dialog. If
tiling occurs a <filename>.bbf file is created in the same directory as the
bitmap.
Resample Mode
This option affects the way your bitmap appears on the screen, but
not the way it is printed.
The resample mode dictates how your bitmap will be displayed on
the screen when you demagnify the screen or scale the bitmap to
make it smaller. When you do either of these things, AllyCAD needs
to change the way it displays your bitmap.
The default setting, Preserve Black, seems to work best for most
images. However, for scanned maps and photographs you might
want to try the Thin Pixels setting. You should experiment with the
settings to see how they affect your bitmaps as you zoom in and out.
To change the settings double click on the bitmap. This will bring up
the Set Bitmap Parameters dialog box so you can edit it.
Bitmap Angle
The bitmap can be rotated about its top left hand corner by any angle from
0o to 360o (measure in degrees). Double click near one of the edges of the
bitmap to invoke the bitmap dialog and type the angle into the edit box
marked “Angle” and click OK.
Click somewhere on the bitmap where you want the bitmap clipping
to start. AllyCAD will then prompt:
Enter next point of clip region
Procedure
A folder selection dialog is displayed. Select the folder that contains
the bitmaps (and world files) to be loaded and click the OK button.
The procedure is entirely automated from here on and will load (and
tile if required) all supported bitmaps from the selected folder. At the
end of the import a message will display telling you the number of
bitmaps successfully loaded.
Load Menu
Load new menus, toolbars and hot-keys
Procedure
A standard Windows file dialog box headed Menu to load is displayed.
The file list contains the default AllyCAD menu file, CAD.MEN, and
any other menu files you may have created or installed.
Once you have selected the menu to load the menu bar is updated to
display it. This does not affect any drawing you may have on the
screen at the time.
See Also
Menu
You should create a title block drawing for each paper size you are
likely to use in Cartesian coordinates at a scale of 1:1. You can
include bitmaps of company logos, etc. When you have drawn the
title block, select it by dragging a rectangle around it and group it
into an object. Then save your title block drawing.
Procedure
The standard Windows file dialog box is displayed. Select the title
block drawing you want to use and click on Open.
The title block is placed on your drawing at the correct scale.
If you have never saved the drawing you are working on before, Save
will operate in exactly the same way as File ► Save As.
If you have saved the drawing before, this function will save your
drawing under the filename you saved it under previously. In this
case, you will not see anything happening other than that the hard
drive light on your PC will come on while the drawing is being saved.
If you are saving a drawing as a DWG or DXF file, you can control
which version of AutoCAD the DWG or DXF file should be compatible
with in the To DXF/DWG Conversion Settings dialog box. You can
also specify which fonts to use in AutoCAD or in the DXF file in the
same dialog. The line styles are defined in the LINETYPE.MAC file.
Procedure
The standard Windows file dialog box is displayed. Choose the type
of file you want to save (DRG, DWG or DXF) in the Save as type list
and choose the drive and directory that you want to save your
drawing to. Then type a name for the drawing and click on Save.
If a drawing with the file name you have chosen already exists, you
will be warned and will have the option of canceling the save.
To save the whole drawing as a DWG or DXF file, click on the YES
button. To just save those items on the drawing that are selected,
click on the NO button.
Go to the File menu select “Save As” and when the Save File Dialog
appears select either the “AutoCAD DWG” or “AutoCAD DXF” from
file type combo box.
Type in a new file name in the “File name:” edit box or leave the
default name which should be <AllyCAD file name>.dwg.
Click the “Next” button to access the next page of the wizard and the
“Back” button to retrieve the previous page and “Finish” once you
have completed the process. The drawing will be written as a dxf/
dwg and when the process is complete the following message will
appear:
Pen colours
AllyCAD pen numbers are identical to AutoCAD pen numbers. If the
colours are different click on the [Pen] button on the Control Bar and
set the AutoCAD Colors option.
Fonts
As AllyCAD uses a standard Windows font system and earlier
versions of AutoCAD do not, you need to convert AllyCAD's fonts to
AutoCAD equivalents. You do this in the DXF/DWG Conversion
Settings dialog box.
If the fonts you want to convert to or from do not appear in the list of
fonts in DXF/DWG Conversion Settings, you can add further fonts
by reading the CAD.INI file in your User Home directory into a word
processor and adding the required font names to the existing listing.
Bitmaps
Older versions of AutoCAD do not support bitmaps. AllyCAD 3.5
supports clipped and rotated bitmap export to AutoCAD.
Scales
If you have layers at different magnifications on your drawing,
AutoCAD may crash when the DXF or DWG file is loaded into it.
The date the drawing was started is automatically entered into the
Date Started box in the order year, month, and day. It cannot be
edited. In the dialog box shown, the drawing was started in 1998
(1998), in June (06), on the fifteenth (15).
Similarly, you cannot edit the Last Plotted box. This box will
automatically be updated with the date each time you plot.
All the fields that are included in the DOM are listed in the table
below, together with:
• The type of field (Type): Text (C); Numbers (N); Date (D).
• The number of characters allocated to the field (Len.).
• The number of decimals allocated to the field (Dec.).
• Whether the field is automatically filled in by AllyCAD.
Fields that are automatically filled in by AllyCAD are marked
with a *. You can fill in the non-automatic fields yourself using
any text editor, provided that each field is separated by commas
and that text character fields are enclosed in double quotes.
See Also
Defaults, Line Types, DXF/DWG Conversion Settings, Open
Procedure
The standard Windows dialog box named Save Drawing As pops up.
Type in a file name and click on the [Save] button.
Save Settings
Set options to schedule auto backups as well as what will be saved
Backup Path
Allows you to specify where AllyCAD will store the backup files. This
is particularly useful for network users, who may not be allowed to
store files in some parts of the system. When you enter Save Settings
If you do not check this box you can save geometry when you want
to, using the File ► Save Options ► Save Geometry function. Also if this
option is not checked the .geo file (if one exists) will not
automatically load with the drawing.
This description will originally have been determined when you first
saved the drawing as described in Save As. The corresponding fields
in the Drawing Office Manager file will be updated automatically.
Procedure
The Drawing Description dialog box is displayed. Edit the entries you
want to change. You can also view drawing statistics by clicking on
the following buttons:
Entity Statistics
Entity Statistics displays the number of primitives, objects and
layers on your drawing. It also shows the number of blocks
(including unreferenced blocks) and the number of block inserts.
Blocks and block inserts are only relevant to drawings that have
been imported from AutoCAD.
Block Statistics
This button is only relevant to drawings that have been imported
from AutoCAD. It displays statistics about AutoCAD blocks hidden
within the drawing structure. The numbers of different primitives
shown are not the numbers of primitives on the drawing but the
number of primitives contained within the AutoCAD blocks, some or
all of which may be un-referenced. The insert figure shows the
number of blocks inserts. The reason why there may seem to be a lot
of AllyCAD objects among the blocks is that AllyCAD automatically
gives each block an object name.
If you use File ► Purge Redundant Elements the number of blocks shown
will probably decrease dramatically, as will the file size of your
drawing. If you use Objects ► Explode Objects to explode all the block
inserts on the drawing, all the blocks will become de-referenced and
can be removed using Purge Redundant Elements.
Procedure
The standard Windows file dialog box is displayed. Type a name for
the selection set and click on Save.
Save Layer
This function is used to save an individual layer of a drawing.
Procedure
Save Visible
Saves all the visible layers
The visible layers are set in Settings ► Set Visible Layers or Settings ►
Layer Control.
Procedure
The standard Windows file dialog box is displayed. Type a name for
the drawing containing the visible layers then click on the [Save]
button.
Save Geometry
Saves your geometry lines
Unless you have checked the Save Geometry with each drawing box
in the Save Settings dialog box (see earlier in this section), your
geometry lines will not automatically be saved when you save your
drawing.
Procedure
The standard Windows file dialog box is displayed. Type a name for
the geometry file then click on Save. Geometry files are saved with a
".geo" extension.
Before you can use a symbol, you must use File ► Load Symbol File to
load the symbol file containing the symbol. A symbol file is just a
drawing - any drawing - that contains a symbol or object that you
want to use again. A symbol library is the same as a symbol file.
The terms symbol file and symbol library are usually used to mean a
drawing that contains only standard parts like doors or nuts or
electrical components.
Procedure
Method1:
The standard Windows file dialog box is displayed. Select the symbol
file containing the symbol you need and click on Open.
AllyCAD will then prompt:
Do you want symbols to be absolute (else to scale)
Suppose that the symbol file you are loading was drawn at a scale of
1:1. The symbol you want to use is a square with sides 10mm long. If
you dimension the square in the symbol file, the dimension will read
"10". If you print the square out on paper and measure its sides, they
will measure 10mm long.
Symbol drawn at a scale of 1:1
10
10
In the edit box labeled “Symbol file path” click on the browse button
and browse to the symbol directory (this usually lies in the
AllyCAD root directory).
c:\AllyCAD\Symbols
Then go to the Windows menu and click on the option Toggle Legend
Window if the legend window has not already appeared. The symbol
tree will appear in the legend window (as shown below). To load the
symbol files follow the instructions given below:
Click on the + sign to expand the
directory branch of the symbol
tree otherwise click on the – sign
to contract the directory branch.
To load a symbol file click on the
symbol file in the symbol tree
and the symbol control bar will
appear. Click on the “View”
button to view and select a
symbol. For more information
see the notes in Draw ► Symbol…
section of this document.
The symbol file will always be loaded with the to scale option using
the symbol tree, there is no option to load the symbol absolute
using this method.
Import HPGL
Convert a HPGL (Hewlett Packard Graphics Language or plot) file into an
AllyCAD drawing.
Procedure
The standard Windows file dialog box is displayed. Select the HPGL
file you want to convert and click on Open. The progress bar is
updated to display progress as the HPGL commands are translated
and the drawing will be displayed on the screen.
Troubleshooting
If you cannot see the drawing after the conversion try the following:
• Use View ► Zoom All to locate the drawing. Change the scale of the
drawing using Settings ► Drawing Settings. If the text and
dimension sizes are now unacceptably large, reconvert the HPGL
file using the new scale.
• Check the All Visible option in Settings ► Layer Control to ensure
that all the layers on the drawing are displayed.
The file comes in at the top right of the screen. This is normal and
occurs on HPGL files written for large (A0 and A1) plotters. Use the
Import ASCII
Import text from an ASCII file into the current drawing.
Procedure
The standard Windows file dialog box is displayed. Select the ASCII
file you want to convert, then click on Open. AllyCAD will prompt:
Enter position textblock should start
Position the cursor on the drawing at the position where the text
should appear and press [Enter] or click. The ASCII file will be
imported and the text will appear.
The text label origin will determine where the text will be placed in
relation to the cursor position you specify. For example, if you are
using label origin 1, the text will appear above and to the right of the
cursor position. If you are using label origin 3, the text will appear
below and to the right of the cursor position. If you are using label
origin 7, the text will be displayed above and to the left of the label
origin, etc.
Export Macro
Creates a macro file from a drawing
The macro file can be edited, and read back into AllyCAD using
File ► Exec Macro.
Procedure
AllyCAD prompts:
Write all layers? (else just visible layers)
If you want your entire drawing to be exported, type "* *". Click on
the [OK] button or press [Enter]. Alternatively, you can select which
objects you want to have written to the macro by typing an object
name into the Control Bar.
You can type the full object name, e.g. BUILDING WINDOW, in which
case all objects with the name BUILDING WINDOW will be written to
Export Text
Exports text from the current drawing as an ASCII file
Procedure
The standard Windows file dialog box is displayed. Type a name for
your ASCII file, then click on OK.
AllyCAD will prompt:
Enclose text that should go to file
Draw a polygon around the text you want to export into the ASCII
file. Once you have enclosed the text, AllyCAD will write the ASCII
file. When it has written it, the message
Text File Written
will appear in the prompt area. All text items at the same horizontal
position will be combined in the same line of the ASCII file with
spaces separating the items.
If you have enclosed several pieces of text in the polygon, the order in
which these will appear in the ASCII file is dependent on their
position in the drawing. The topmost text item will be transferred to
the file first, followed by the second top-most item, etc.
Procedure
The standard Windows File Save dialog is displayed. Specify a file
ame and click on the [OK] button.
Type your selection into the edit box and click on the button. The
drawing entities will be exported as three SHP files:
• ****_Point.SHP
• ****_Lines.SHP
• ****_Poly.SHP
where **** is the specified export file name.
Pen Mappings
This function allows you to map the first 15 colours on the screen to
a different line width and colour on the printer. For example you
could make red lines print at 0.13 mm, green lines print at 0.18 mm
etc.
The pens are listed on the left hand side of the box and are
numbered from 1 to 255. Click on a pen you want to assign a width
to. The pen's number appears in the Edit part of the dialog box. Type
a width into the white part of the dialog box. Widths are measured in
mm.
Click on the [Color] button on the right of the list to map the pen to
another colour
Then click on another pen you want to assign a width to. The width
associated with the first pen you edited appears next to that pen's
number in the dialog box, and the second pen's number appears in
the Edit area. Assign a width to the second pen and repeat until you
have assigned a width to each pen. Then click on OK.
Procedure
The standard Print dialog box is displayed. Select the printer, set up
the paper size and click on OK.
The program reads the paper size and orientation of your output
device. This may be different from the paper size and orientation of
your drawing.
For example, you may be doing a rough print of all or part of an A1
drawing on an A4 printer, prior to producing a final plot. A pink
dotted rectangle representing the paper size and orientation of your
output device appears on the screen.
AllyCAD will lead you through the sequence of events illustrated on
the following page. Thereafter you will be able to set the Print
Defaults as described in the previous section.
If you have rotated your print the message
Transforming plot back again
YES NO
YES
NO YES
NO
Satisfied with zoom?
YES
Start Printing
Select the destination printer and use the Properties button to adjust
the paper orientation and other printer settings.
Selected a macro and click on Open. The macro is executed. You can
abort a macro at any time by pressing [Esc].
Encode Macro
Encode a macro so the code cannot be seen, edited or copied
Select the macro you want to encode and click on OK. AllyCAD then
prompts:
Enter serial number to encode macro for
Macros encoded for "0" will run on any copy of AllyCAD. Macros
encoded for a particular serial number will only run on a copy of
AllyCAD with that serial number. Type in a serial number and press
[Enter] or click on [OK].
You must now save the encoded macro to another file name. The
macro will be encoded and the message "Encoded macro written" will
appear.
Edit Macro
Open and edit a macro
Procedure
Select File ► Clear All. Then use the File ► Repair DRG File function to
select the drawing that is faulty and click on OK. If the drawing can
be fixed it is eventually displayed on the screen and AllyCAD
prompts:
Repair Successful! Delete temp macro file?
Drawings that load and redraw very slowly almost always have one of
the following problems:
• Large numbers of invisible unreferenced AutoCAD blocks
This will only be the case if all or part of a drawing has been
imported as a DXF or DWG file.
• Entities that have been duplicated
Sometimes entities have been duplicated hundreds of times. In
this case you may find other problems with the drawing, for
example deleted entities may seem to reappear!
This function can solve both these problems by removing duplicate
entities, unreferenced blocks and unused layers.
Procedure
AllyCAD prompts:
Remove duplicate entities?
If you want to delete layers with nothing on them, click on the YES
button.
AllyCAD will go through the drawing. It will tell you what it has
removed. Large drawings may take quite a while to purge.
AllyCAD will only remove entities that have been duplicated on the
same layer.
When you first install your copy of AllyCAD, it will allocate a 7 day
trial license, allowing you to run the full program for 7 days. During
this time you must contact Knowledge Base for a permanent
authorization code.
Your program can be protected in the following ways:
Terminology
Driver A software component required to communicate between the
dongle and AllyCAD
Server A central computer with a Net Hasp dongle attached. The server
is attached to the client’s by a network.
Client A computer that does not need a dongle itself, but must be
networked to a server.
Crypkey driver A software component needed to communicate between the
Crypkey security system and AllyCAD.
If your dongle does not have one of these codes then it is NOT an
AllyCAD dongle.
Values
CheckNetworkDongles 0 or 1 depending on whether to check the network
dongles or not
SecurityHome c:\$kbsec$ (location of security files)
Program7 110 (last type of security found)
NetHasp
The NetHasp dongle need only be plugged into your server when you
run AllyCAD. The server will be licensed to allow a limited number of
copies of AllyCAD to run on different client computers
simultaneously. The server can be a computer running Windows 95,
Windows NT, or Novell NetWare.
Hasp Driver
As well as the physical hardware dongle, a software driver is required
to communicate with the dongle. The driver should be installed
automatically during the AllyCAD installation process.
During installation, you may get the error:
HASP Hardware lock Installation failed.
This indicates that there was a problem installing the driver. You
must then install it manually.
Client Installation
From your workstation use Windows Explorer to access the network
server. Find the directory where AllyCAD is installed (by default
ALLYCAD32) and the program NETSET.EXE. Run NetSet.exe. This
will adjust the “program home” setting for AllyCAD in the registry on
your client machine to point to the location of AllyCAD on the server,
and will add a new group to your Start menu called AllyCADNet.
Server Installation
AllyCAD must first be fully installed on the server. Before any clients
can run AllyCAD, the Hasp Security Server must be run on the
server. Go to Start ► ALLYCAD32 ► Security Tools. The Hasp Security
Server contains online help.
Undo undoes the last thing you did, whether rubbing out, moving
something, or drawing a line etc. For example, suppose you:
1. Draw a line.
2. Draw a circle.
3. Move the line and circle from point a to point b.
4. Rub out the line and circle.
When you click on Undo, the rubbed out line and circle will re-
appear. If you click on Undo again, the line and circle will be moved
back from point b to point a. If you click on Undo a third time, the
circle will disappear. If you click on Undo a fourth time, the line will
disappear.
Undo will undo the last 1000 objects that have been changed. This is
not the same as the last 1000 operations. For example, if you moved
100 objects at once and then undid the move, you would have used
up 100 of the 1000 undoes even though you had only undone one
move.
If you Undo something by accident, you can replace it using the Redo
function.
Redo
Re-instate things that have been undone
The difference between Cut and Delete is that Cut sends deleted
items to the Clipboard, and Delete does not.
Copy
Copy selected items to the Clipboard
The Copy command is exactly the same as the Cut command, except
that selected items are not deleted. Rather, a copy of them is made
and this copy is placed on the Clipboard, from where it can be pasted
into AllyCAD or into other applications.
Before you can paste, you must have cut or copied something to the
Clipboard from AllyCAD or another program. If there is nothing in
the Clipboard to be pasted, the Paste command will inactive and be
grayed out on the Edit menu.
Procedure
AllyCAD prompts:
Enter paste position
Position the cursor where you want the contents of the Clipboard to
appear on the screen. If you are pasting graphics, or a mixture of text
and graphics, the top left hand corner of the contents of the
Clipboard will be placed at the cursor position you specify.
If you are pasting text only, where the text appears relative to the
cursor position will depend on the text label origin that is set at the
time of pasting. For example, if the text label origin is 1, the text will
be placed above and to the right of the cursor position.
Once you have positioned the cursor, click or press [Enter]. The
contents of the Clipboard will be pasted into AllyCAD.
• The colour, font, size etc. of text that is pasted into AllyCAD is
determined by the text defaults at the time of pasting. See Set
Text Defaults.
• When pasting in drawings on several layers that have been Cut
or Copied from another AllyCAD drawing, the layers will appear
as follows. If the layers that the items were cut or copied from
exist in the drawing the items are being pasted into, they are
pasted to the correct layers. If the layers that the items were cut
or copied from do not exist in the drawing the items are being
pasted into, they are pasted to the current layer.
Unlike the Cut function, deleted entities are not placed on the
Clipboard. Before you use the Delete command, you must select the
primitives you want to delete using the Select or Selection Filters
commands.
If nothing is selected you will automatically enter the Select function.
Select the primitives you want to delete.
Press the [Space Bar] or click on Done. The selected primitives will be
deleted.
Handle
This cursor is called the Select cursor and it can be used for the
following.
• To select items.
• To scale or stretch the selection set with the handles.
• To rotate the selection set with the rotate icon.
• To drag and to copy the selection set.
• To edit line style, text, dimensions, arrows and bitmap
parameters.
Deselecting
If you have selected a single primitive or object by mistake and want
to deselect it without deselecting anything else, press the [SHIFT] key
and click on the offending primitive or object. This is useful if you
have selected something by accident, especially using a function
such as Edit ► Select by Polygon.
To deselect everything, use Edit ► Clear Selection or simply click on a
blank portion of the drawing.
Handles
When you have selected some primitives eight handles and a Rotate
icon appear around it. The handles can be used to scale or stretch
the selection set. The Rotate icon can be used to rotate the selection
set.
Some users do not like working with the handles. If you do not want
the handles to appear when you select things, you can turn them off
temporarily or as default.
or if it is a corner handle.
The arrows show the directions in which you will be able to scale the
selection set if you click on that handle. If you click on the left or
right handles, you can only stretch the selection set horizontally. If
you click on the top or bottom handles, you can only stretch the
selection set vertically.
Pass the Select cursor over the handle you want to use so that the
cursor changes shape, then click.
The cursor changes to one of the Snap mode cursors, e.g. Freehand,
Grab All etc. (see Snap Modes) and the Control Bar changes to look
like this:
Move the cursor around. As you move it, the selection set is scaled
and the contents of the X= and Y= boxes on the Control Bar change.
To scale evenly in the X and Y directions if you have selected one of
the corner handles, hold down the [SHIFT] key while you move the
cursor.
Click when you are satisfied with the scale, or use the Control Bar or
cursor to scale accurately.
If you have clicked on the left or right handle, only the X scale
factor will have an effect. If you have clicked on the top or bottom
handle, only the Y scale factor will have an effect.
When you pass the Select cursor over the rotate icon, the cursor
changes to a circular arrow. While the cursor is in the shape of a
circular arrow, click with your left mouse button.
The cursor changes to one of the Snap mode cursors, e.g. Freehand,
Grab All etc. (see Snap Modes) and the Control Bar changes to look
like this:
Move the cursor around. As you move it, the selection set rotates
about its centre, and the Rotate Angle in the Control Bar changes.
Click when you are satisfied with the rotation, or use the Control Bar
or cursor to rotate accurately.
Rotating accurately
To rotate accurately, move the cursor into the Rotate Angle box on
the Control Bar and click. Use your Delete or Backspace keys to
delete the contents of the box. Type a rotation angle. Then press
[Enter]. The selection set will be accurately rotated by the angle you
have typed.
Copying
If you press the [CTRL] key while you drag, the selection set will not
be moved. Instead, a copy of the selection set will be made and the
copy will be dragged.
If the Select cursor has a box around the tip, you will be able to place
the copy accurately, because the cursor will snap exactly onto any
point within the box (see Accurate Dragging).
The Nodes cursor can be used to select items. Selecting with the
Nodes cursor is exactly the same as selecting with the Select cursor.
See Selecting and Deselecting.
Node
Once selected using the Nodes cursor, all the nodes in the selection
set (points, ends of lines and arcs, arc and circle centres, text and
dimension origins etc.) are marked by a small square. These nodes
can be used to reshape the selection set.
If you click on the Select icon in the Files toolbar while the nodes are
displayed the nodes will be replaced by handles. To return to the
nodes, click on Edit ► Select Nodes.
Like the Select cursor, the Nodes cursor can also be used to drag and
copy the selection set (although it cannot be used for accurate
dragging) and for double click editing.
Nodes
When you have selected items using the Nodes cursor, all the nodes
in the selection set (points, ends of lines and arcs, arc and circle
centres, text and dimension origins etc.) are marked by a small
square.
Highlighted node
Move the cursor around. As you move it, all the nodes you have
highlighted, together with any lines, arcs etc. attached to them,
move. When you have finished moving the node or nodes, release
your left mouse button.
AllyCAD prompts:
Enter polygon around elements to be selected
If what is selected is not what you expected, check the filters you
have selected. If you include part of an object within a selection box
or polygon, the whole object may be selected despite the filter
settings. If you only want to select part of the object, you must first
explode the object, using Objects ► Explode Objects.
The Select Dialog box is divided into three tabbed sections, Objects,
Properties and Text.
Clear
This option deselects everything that has been selected.
To deselect just one or a few primitives use the Select function. See
Select.
Close
Closes the dialog box.
Select All
This option selects everything in the drawing as specified by the
Filters. See Filters.
Polygon
This allows you to draw a box or irregular polygon around the things
you want to select. Everything inside this box or polygon that has
been specified by the filters will be selected.
It is often useful to close the dialog box before drawing the polygon to
avoid the dialog box getting in the way.
AllyCAD prompts:
Enter polygon around elements to be selected
Object
This option allows objects, including exploded objects, to be selected
by clicking on them with the cursor.
When you click on the Object button, AllyCAD prompts:
Select whole object (Shift for multiple selection)
Click on an object to select it. To select more than one object, click
on the objects you want to select while holding down the [SHIFT] key.
To cancel object selection, choose another function, press the
[Space Bar] or click on Done.
Name
This option allows objects to be selected by name.
If you do not know the parent or object names of an object, you can
find out using the Tools ► Query Entity option.
AllyCAD prompts:
Enter name of objects to be selected
You must type both the parent name and the object name of the
object you want to select. All names must be in upper case. All
objects with the name you type will be selected.
For example, typing
BATHROOM CLOSET
will select all the objects named CLOSET with the parent name
BATHROOM.
Wildcards may be used. For example, typing
BATHROOM *
will select all objects with the parent name BATHROOM, such as
BATHROOM CLOSET, BATHROOM TOILET, BATHROOM SINK etc.
Typing
* CLOSET
Hatch
This option allows hatches to be selected by clicking on them with
the cursor.
AllyCAD prompts:
Select a hatch perimeter
A cross (#) appears on each hatch perimeter and the hatched objects
are flashing. Click on the cross marking the perimeter of the hatch
you want to select. The perimeter is highlighted.
Select a hatch perimeter
Layer
This option selects everything that has been specified using the
Filters and that is on a given layer.
The layer selection box is displayed. Click on the desired layer, then
click on OK. To select items on, for example, a second layer, choose
Layer again.
If you have selected a filter or filters, and elements that should not
be selected are being selected, this may be because all the elements
are linked together as objects.
For example, if you have set the filters so that only arcs should be
selected, and you find that some lines are being selected too, this is
because the lines that are being selected are included in objects
with arcs. To select arcs only, you need to use Objects ► Explode
Object to explode the objects first.
Hatch/Solid fill
This section determines what objects will be selected based on their
hatch flag.
Hatch and Non Hatch If this is checked then all hatch and non hatch objects
will be selected. If this is unchecked, then the following
checkbox Hatch/Solid Fill only becomes enabled.
Hatch/Solid Fill only If this is checked, then only hatch perimeters will be
selected. If it is unchecked, then only non-hatch objects
will be selected.
Current hatch If this is checked, then only hatch perimeters that match
the current default hatch will be selected. (You can
change the current default hatch, either by selecting
Annotate ► Enter Hatch, and changing the hatch type,
then pressing cancel, or by using Annotate ► Pick
Index from Hatch and taking the index from an existing
hatch perimeter.)
Text
This allows you to restrict what text items will be selected based on
things like font, text size and even a string of text.
Clear Selection
Clear all selections.
The elements you have moved to the front may not appear to have
been moved to the front until you redraw the screen.
If you can't see the element you want to move to the front because
it's behind something else, select the area containing the element
by dragging a rectangle over it or using Edit ► Select by Polygon.
When it is selected, the hidden element will be visible.
Move to Back
Move elements behind other elements on your drawing.
The elements you have moved to the back may not appear to have
been moved to the back until you redraw the screen.
A large cross hair appears on the screen with the cursor at the cross
centre. Position the cursor at one corner of the area you want to
zoom into and press [Enter] or click.
AllyCAD prompts:
Enter second corner of rectangle
The area within the box will now be enlarged to occupy the whole
drawing area.
To return your drawing to the previous view, use View ► Zoom Last.
To return your drawing to a normal view, use View ► Zoom Paper.
Original view
Zoomed View
If you select Zoom Last while you are zoomed in, you will return to
the previous view. You can move backwards through the last ten
zooms or magnifies you have performed in this way.
Your last ten zooms are saved with the drawing, so the next time you
load your drawing the zoom last function will immediately be
available. You can also move forwards through zooms as described in
the next section.
Zoom All
Show the whole drawing at the maximum possible size to fit on the screen.
If your drawing is larger than the paper size, you will be able to see
the paper extents as a pink dotted rectangle.
This function is therefore particularly useful if you have, for example,
changed scale or paper size and your drawing no longer fits onto the
paper, or if you have inadvertently worked off the edge of the sheet.
It will enable you to locate work that is off the edge of the paper. You
can then bring it back into the paper limits using Modify ► Move, or
by changing scale or paper size in the Settings ► Drawing Settings.
To return the drawing to the previous view, use View ► Zoom Last. To
return the drawing to an un-zoomed view, use View ► Zoom Paper.
When you select this function, only that part of the drawing within
the paper extents represented by the pink dotted rectangle is shown.
If part of your drawing is outside the paper extents you can see it
using the Zoom All function.
Zoom Scaled
Show drawing at a specific scale.
Click on the Zoom icon in the Files or the Screen toolbar. Select
Zoom Scaled from the popup menu.
You will be prompted:
Enter zoom scale
Type in the scale at which you want to see your drawing. For
example, if you type “25”, your drawing will appear on the screen at
the size it would be at if its scale was 1:25. Click on Done or press
[Enter].
Enter zoom box
A box representing the amount of the drawing that will fit on the
screen after scaling appears.
Fit this box around the part of your drawing you want to zoom into
and press [Enter] or click on Done.
If you specified a scale greater than the scale at which you are
currently viewing your drawing, you will not be able to see the box
as the box will be larger that the screen. The cursor (which you will
be able to see) represents the centre of the box.
Before using this zoom you must select everything that you want
zoomed using the Edit ► Select or Edit ► Selection Filters functions.
Zoom View
Zoom into a pre-defined view.
This option allows you to define zooms. For example, suppose you
frequently needed to zoom into the two areas on this drawing that
have been enclosed by rectangles:
Edge of Drawing Area
Zoom 0 Zoom 1
Position the cursor at one corner of the area you want to zoom into
and press [Enter] or click.
AllyCAD prompts:
Enter second corner of rectangle
If you use the shortcut key magnification will take place about the
position of the cursor.
If you use the toolbar button you will be asked:
Enter Screen Point
To return your drawing to the previous view, use View ► Zoom Last.
Demagnify
De-magnify your drawing at the cursor position
If you use the shortcut key de-magnification will take place about the
position of the cursor.
If you use the toolbar button you will be asked:
Enter Screen Point
If you use the shortcut key the pan will take place about the position
of the cursor.
If you use the toolbar button you will be asked:
Enter screen point
Position the cursor at the point on your drawing that you want
positioned in the middle of the screen and press [Enter] or click. The
screen is redrawn with the cursor position at the centre.
When you select Long Pan, a small dotted square representing your
sheet of paper appears, with your drawing inside it. AllyCAD
prompts:
Enter pan box (Space Bar for expanded view)
If you move your mouse, you will see that the cursor is attached to a
box. Place this box around the part of your drawing you want to
zoom into and press [Enter] or click. Alternatively, press the
[Space Bar].
You will be returned to the view you were working in when you
selected Long Pan. The cursor will still be attached to the box,
although you may not be able to see the box. Move the cursor to the
area of the drawing you want to pan to and press [Enter] or click.
Position the cursor where you want the start point of a line to be and
press [Enter] or click. AllyCAD will prompt:
Enter next point of line
As you move the cursor, the line follows it. Position the cursor where
you want the end point of the line to be and press [Enter] or click.
This point will also mark the position of the start of the next line.
AllyCAD will continue to prompt:
Enter next point of line
Position the cursor where you want the start point of a line to be and
press [Enter] or click. AllyCAD will then prompt:
Enter next point of line
As you move the cursor, the line follows it. Position the cursor where
you want the end point of the line to be and press [Enter] or click.
AllyCAD will again prompt:
Enter first point of line
Access this function from the Draw menu. AllyCAD will prompt:
Enter position of point
Position the cursor where you want a point to be and press [Enter] or
click.
AllyCAD will continue to prompt:
Enter position of point
The size of points and how they are displayed, e.g. as crosses, dots
or circles is controlled by the Point Style button in Settings ► View
Settings.
Original corner
New corner
Position the cursor where you want one end of the arc to be (position
a on the diagram above) and press [Enter] or click.
AllyCAD will then prompt:
Enter point on arc
As you move the cursor, you can see the arc being drawn. Position
the cursor at any point on the arc between its two ends (position b
on the diagram above) and press [Enter] or click.
AllyCAD will prompt:
Enter last point of arc
Position the cursor where you want the other end of the arc to be
(position c on the diagram) and press [Enter] or click.
AllyCAD will continue to prompt:
Enter first point of arc
Position the cursor where you want one end of an arc to be and press
[Enter] or click.
AllyCAD will prompt:
Enter end point of arc
Position the cursor where you want the other end of the arc to be
and press [Enter] or click.
AllyCAD will then prompt:
Enter radius (negative for clockwise arc)
Start point
If you enter a positive radius, the arc will be
drawn in an anti-clockwise direction between
the start and end points you have defined.
End point
Start point
End point
The radius that you enter must be at least as long as half the
distance between the start and end points of the arc. If you do not
know the radius and need to calculate it, you can type the
necessary arithmetic expression, e.g. (518-212)/3 instead of the
radius.
Position the cursor where you want the centre point of a circle to be
and press [Enter] or click.
Enter point on circle
As you move the cursor away from the circle centre, the circle will
appear. When it is the correct size, press [Enter] or click.
Enter centre point of circle
20
70
80
Position the cursor where you want the centre point of the circle or
circles to be and press [Enter] or click.
Enter up to 5 diameters separated by spaces
Position the cursor where you want one point on the circle's
circumference to be and press [Enter] or click.
Enter point on circle
The prompts are repeated until you cancel the function by pressing
the [Space Bar] or clicking on Done.
R2
d
R1
a
Position the cursor where you want the first point of the first line in
the line arc line sequence to be (position a). Press [Enter] or click.
AllyCAD will prompt:
Enter corner point
Type the radius for the corner (R1) and click on OK or press [Enter].
Ensure the radius value that you type is reasonable, given the lengths
of the lines between positions a, b and c and the angle formed by the
lines a-b and b-c.
Nothing will be drawn until you have entered the first three points.
If you do not know the radius and need to calculate it, you can type
the necessary arithmetic expression, e.g. (518-212)/3 instead of the
radius.
How to enter another radiused corner (c on the diagram) or end the line arc
line sequence with an arc.
Position the cursor at the corner to be radiused (position c) and press
[Enter] or click. A line and an arc are drawn.
Type the radius for the new corner (R2) and click on or press
[Enter].
AllyCAD will prompt:
Enter next corner point (enter two points the same to end
with a line)
You can either enter another radiused corner or you can end the line
arc line sequence.
To end the line arc line sequence with an arc, press the [Space Bar]
or click on Done.
How to end the Line Arc Line sequence with a line (d on the diagram)
Position the cursor where you want the line arc line sequence to end
(position d) and press [Enter] or click.
A line and an arc are drawn.
Do not move your cursor from point d until you have input a corner
radius and the same point again, otherwise another arc will be added
to the line arc line sequence.
When you are ending the line arc line sequence, the radius value is
irrelevant. Press [Enter] to accept the default, but do not move your
cursor from point d.
AllyCAD will prompt:
Enter next corner point (enter two points the same to end
with a line)
The parallel line parameters are set using Settings ► Parallel Defaults.
• If you specify the Draw Fresh option the prompts that you get
will be exactly the same as for Line (Chained).
• If you specify the Around Existing Perimeter option you will enter
the Perimeter Menu.
• If you specify the Line Arc Line option the prompts that you get
will be exactly the same as for Line Arc Line.
You can draw a parallel line at a fixed distance from an existing line
or through a specified point parallel to an existing line.
AllyCAD prompts:
Use a Fixed Distance or a Specified Point
Use
Spacing
If you have chosen to use a Specified Point, this control will be
disabled and grayed out.
Trim
If you check the Trim box, each
succeeding line will be trimmed to fit
the previous one. The beginning of
the first line and the end of the last
line selected will not be trimmed. If
you require a closed perimeter, use
the Modify ► Trim command to join
the first and last lines together.
You need to specify a point through which the parallel line will pass.
Position the cursor and press [Enter] or click.
The position that you choose defines the distance between all the
parallel lines.
Fill Geom
Trace over geometry lines and circles
To change colour or line type while you are drawing use Settings
Line Defaults.
Position the cursor close to a circle you want to trace over and press
[Enter] or click.
AllyCAD will continue to prompt:
Select geometry circle to be filled
Position the cursor where you want one end of the arc to be and
press [Enter] or click. You do not have to position the cursor on the
geometry circle.
AllyCAD will now prompt:
Enter point on arc
Position the cursor at any point on the arc between its two ends and
press [Enter] or click. You do not have to position the cursor on the
circle, just close enough to indicate which portion of the circle you
want to trace over.
AllyCAD will prompt:
Enter last point of arc
Position the cursor where you want the other end of the arc to be
and press [Enter] or click. You do not have to position the cursor on
the geometry circle, as illustrated here.
Fill Geom Arc: Enter first point of arc
Ellipse
Draw ellipses or circles in Isometric drawings.
Minor axis
Major axis
Angle
Position the cursor where you want the centre point of an ellipse to
be and press [Enter] or click.
Enter major axis
Type in the length of the major axis and click on Done or press
[Enter].
If you do not know the length of the major axis and need to
calculate it, you can type an arithmetic expression, e.g. (518-212)/3
instead of the major axis.
The aspect ratio is the length of the major axis divided by the length
of the minor axis. Thus, to get an ellipse that is twice as long as it is
wide, give an aspect ratio of 2. To get an ellipse three times longer
than it is wide, give an aspect ratio of 3, etc.
The angle is measured anti-clockwise from the 3 o'clock position.
Type the aspect ratio and the angle of the ellipse, separated by a
space. Then click on or press [Enter].
Enter ellipse centre point
Part Ellipse
This function draws parts of ellipses.
The first three questions that are asked are exactly the same as
those asked by the Ellipse function above.
Thereafter AllyCAD will prompt:
Enter first snip point on ellipse (ellipse goes round
counter clockwise)
If you want to achieve the result illustrated above, you must choose
the first snip point as indicated.
Enter 2nd snip point
Circular Spline
Draw a spline composed of arcs.
Icon Button Toolbar Shortcut Command
Spline
Each new point enters another arc tangent to the previous one and
through the point. This function also allows a line arc line sequence
to be entered. The spline is rubber-banded to enable you to see
exactly what will be drawn.
The first three points that you enter define an arc similar to that in
the Arc 3 Point function.
AllyCAD will prompt:
Circular spline ... enter first point
Position the cursor where you want the first point in the circular
spline to be and press [Enter] or click. This represents the first point
of an arc.
AllyCAD will prompt:
Enter second point of spline
Position the cursor at another point on the spline and press [Enter]
or click. This represents a point on an arc between its two ends.
AllyCAD will prompt:
Enter next point of spline
The arc that you are drawing appears, and is rubber-banded so that
you can see exactly what you are drawing.
From now on each new point will enter an arc tangent to the
previous arc and through the point. Lines may also be entered.
To draw another arc, position your cursor at another point along the
spline. Press [Enter] or click.
To draw a line, press the [Ctrl] and [End] keys together. Then
position your cursor and press [Enter] or click.
AllyCAD continues to prompt:
Enter next point of spline - or [Ctrl End] to change arc to
line
To close a perimeter created using this function the first and second
points of the spline must be entered again as the penultimate and
last points of the spline.
Cubic Spline
Draw a cubic spline composed of small line segments through points.
Three points are required before a spline can be drawn between the
first two points.
AllyCAD will prompt:
Position the cursor where you want the first point in the cubic spline
to be and press [Enter] or click.
AllyCAD will prompt:
Enter second point
Position the cursor at another point on the spline and press [Enter]
or click.
AllyCAD will prompt:
Next spline point
Position the cursor at another point on the spline and press [Enter]
or click. A cubic spline is fitted between the first and second points.
AllyCAD will prompt:
Next spline point
No spline will be drawn to the last point you enter. The spline is
always drawn between the third last and second last points you
entered.
Polylines look exactly the same as lines drawn using Draw ► Line
(Chained). The difference is that when you click on a polyline to select
it with the Select cursor, the whole polyline is selected, not just one
line segment.
To select just one line segment in a polyline, you must first explode
the polyline using Objects ► Explode Object.
Position the cursor where you want the first polyline vertex to be and
press [Enter] or click.
Enter next point of polyline
As you move the cursor, a line follows it. Position the cursor where
you want the second polyline vertex to be and press [Enter] or click.
If you are drawing a polyline, the first line segment will be drawn. If
you are drawing a Bezier curve, nothing will be drawn until you have
entered the fourth vertex.
Enter next point of polyline
Once you have drawn a polyline or Bezier curve, you can use the
Edit ► Select Nodes function to stretch the line or curve by its
vertices.
This function is identical to the Line Arc Line function except that a
polyline with bulges is created instead of a connected sequence of
lines and arcs.
Procedure
The CAD will prompt:
Enter first point
Position the cursor where you want the first point of the first line in
the line arc line sequence to be (position a). Press [Enter] or click.
The CAD will now prompt:
Enter corner point
Type the radius for the corner (R1) and click on OK or press [Enter].
Ensure the radius value that you type is reasonable, given the
lengths of the lines between positions a, b and c and the angle
formed by the lines a-b and b-c. Nothing is drawn until you have
entered the first three points.
If you do not know the radius and need to calculate it, you can type
the necessary arithmetic expression, e.g. (518-212)/3 instead of the
radius (see Making Calculations ). Using a radius value of 0 will
cause a sharp bend to be created at the indicated position rather
than an arc.
How to enter another radiused corner (c on the diagram) or end the line arc
line sequence with an arc.
Position the cursor at the corner to be radiused (position c) and press
[Enter] or click. A line and an arc are drawn. If what is drawn is not
what you expected, it is probable that the radius value you entered
was too large.
The CAD will prompt:
Enter corner radius
Type the radius for the new corner (R2) and click on or press
[Enter].
The CAD will continue to prompt:
Enter next corner point (enter two points the same to end
with a line)
You can either enter another radiused corner or you can end the line
arc line sequence. To end the line arc line sequence with an arc,
press the [Space Bar] or click on Done.
Position the cursor where you want the line arc line sequence to end
(position d) and press [Enter] or click . A line and an arc are
drawn.
Do not move your cursor from point d until you have input a corner
radius and the same point again, otherwise another arc will be added
to the line arc line sequence.
Polygon
Draw polygons.
Type the number of sides you want the polygon to have, then click on
or press [Enter].
Enter centre point of polygon
Position the cursor where you want the centre point of the polygon to
be and press [Enter] or click.
Enter polygon enclosing circle
Before you can use this function you must load the drawing
containing the symbols you want to use (the symbol file) using File ►
Load Symbol File. If you have not loaded a symbol file, AllyCAD will
automatically allow you to do so. Once you have loaded a symbol file,
the Symbol function will begin.
When a symbol is inserted into a drawing, the primitives making up
the symbol are automatically grouped so that you can select the
whole symbol by clicking on it once with the Select cursor. To select
a single primitive in the symbol, you must first explode it using
Objects ► Explode Object.
Currently selected
symbol
After you have selected the Symbol function, you will see the grey
outline of a symbol moving with the cursor as you move the cursor
around the screen. This symbol is the currently selected symbol,
whose name is displayed in the left control of the Control Bar.
To select another symbol, click on the arrow to the right of the
currently selected symbol in the Control Bar. A list of the symbols in
the symbol file you have loaded appears on the screen. Click on the
name of the symbol you want to use, then click on OK.
Alternatively, click on the View button. Thumbnail sketches of the
symbols will be displayed on the screen. Click on the symbol you
want.
Snip
AutoR
If you check this option (autorotate), the symbol will automatically be
rotated onto a line.
Rotate
The symbol will be rotated by the angle measured anti-clockwise
from the 3 o'clock position.
Scale
The symbol will be scaled horizontally by the figure you type into the
first scale box, and vertically by the figure you type into the second
scale box. For example, if you type "2" and "2", the symbol will be
twice as big.
Mirror horizontally
Position the cursor where you want the symbol to appear and press
[Enter] or click.
Attributes
If you are entering a symbol that has had attributes attached to it,
you will be prompted for the value of attribute once you have
specified the position of the symbol. For example, suppose the
symbol you are entering has an attribute called COLOUR attached to
it.
AllyCAD will prompt
COLOUR
and the default value of the attribute COLOUR will appear in the
command line, where you can edit it.
If you want to create a Bill of Materials, the text in the command line
must be in the format attribute=value, e.g. COLOUR=BLUE.
Draw Menu 4-41
Otherwise, the attribute value can be anything you want. When you
are satisfied with the value, press [Enter] or click on .
If you answered YES to the Convert attributes to text during load?
prompt when you loaded the symbol library using File ► Load Symbol
Library the value that you type into the command line will be written
as text next to the symbol. It will be written using the currently
selected text defaults.
If you need to edit this text once it is on the drawing, double click on
it. If you need to move the text, you must first explode the object it is
attached to using Objects ► Explode Objects.
If you answered NO to the Convert attributes to text during load?
prompt when you loaded the symbol library, a diamond will appear
at the attribute position. This diamond will disappear when you
redraw the screen. For details on viewing and editing attributes, see
Bill of Materials.
Once AllyCAD has prompted for the value of each attribute attached
to the symbol, the symbol will be drawn on the screen.
Enter position for symbol
Position the cursor where you want the sketch to begin and press
[Enter] or click. Now as you move the mouse, a continuous line will
be drawn on the screen until you press [Enter] or click.
When you create a sketch, the small lines making up the sketch are
automatically grouped so that you can select the whole sketch by
clicking on it once with the Select cursor. To select a single line in
the sketch, you must first explode it using Objects ► Explode Object.
Large sketches may contain too many lines to be grouped into one
object. Such sketches will be grouped into several objects.
In this function you move only that part of a drawing that you
enclose within a polygon. The rest of the drawing remains
unchanged.
Any lines crossing the polygon boundary act like rubber bands. They
enlarge, shrink or rotate depending on the amount and direction of
movement.
21 16 51 16
51 16
Move the cursor to indicate the position the reference point must
move to. You will be able to see the selection set move as you move
the cursor. Press [Enter] or click when you are satisfied. The
selection set is drawn at the new position.
The cursor will switch to Point snap mode. Position it close to the
point you want to move and press [Enter] or click. The cursor jumps
exactly onto the point.
The cursor will switch to Grab All mode. Move the cursor to where
the point should move to and press [Enter] or click.
If you have checked the User Defined option this will be one of two
points defining the mirror axis.
You will then be asked for the second point:
Enter other point on mirror axis
Now position the cursor at the second point defining the axis. Press
[Enter] or click. The selection set is mirrored. Note the following
points:
• When text is mirrored it remains readable. This is because only
the label origin is mirrored (see Set Text Defaults. The label origin
of text that is not centred is changed. For example, if the *
denotes the label origin of the text and the word TEXT denotes a
piece of text, *TEXT mirrors to TEXT* during a vertical mirror.
• When you mirror objects, the mirrored half is a new object with
the same name and parent name as the original. This means that
if you have drawn, for example, half of a bearing and have
mirrored it to get the other half, you will have to combine the two
halves into a single object using Objects ► Group Into Object.
Point
Point
Original Mirror
Image
Original Mirror
Image
Before scaling
After scaling
Scaling by cursor
This option allows you to indicate the scaling factors with the cursor
position.
Point about
which to scale AllyCAD will prompt:
Enter point to be scaled
Point to scale
(horizontally in line)
Point to scale,
neither horizontally
nor vertically in line
Move your cursor to the position that the point must scale to. As you
move your cursor, you can see the selection set being scaled. To
retain the horizontal and vertical proportions of the selection set as
you scale it, press the [SHIFT] key as you move the cursor.
Press [Enter] or click. The selection set is scaled.
Linear or Circular or
rectangular repeat polar repeat
To repeat along a line click on the YES button, else click on the NO
button for polar repeat.
Original
AllyCAD will then prompt:
Enter point on repeated set
Original
Position the cursor at the centre of the circle around which the
copies will be placed and press [Enter] or click. AllyCAD will now
prompt:
Enter rotation angle
The default angle required to copy the selection set evenly around a
circle will appear. Accept this default by clicking on or pressing
[Enter]. Alternatively, type an angle of your choice and click on or
press [Enter]. The selection set is repeated.
Centre point
Position the cursor on a point and press [Enter] or click. This point is
a reference point that you will use to define where the copy will be
placed.
Enter point where you would like to copy selection set
As you move the cursor, you will see an image of the selection set
moving with it. Position this image and press [Enter] or click.
Continue to place copies or cancel copying by choosing another
function, pressing the [Space Bar], clicking on Done or .
Each copy is a new object, with the same parent and object names
as the original. For example, if you started off with one tree, and
you made two copies, you would end up with three trees. If you
drew one part of an object and then used Drop to complete the
object, you would have to unite the copied parts of the object and
the original into one object using the Objects ► Group Into Object
function.
Position the cursor at the pivot point about which the selection set
will be rotated and press [Enter] or click.
Enter angle from keyboard (else from cursor)
If you know the angle of rotation, click on YES or else if you want to
rotate the selection set by dragging it with your cursor, click on NO.
Rotating by angle
AllyCAD will prompt:
Enter angle
Type the angle through which the selection set must rotate. Click on
or press [Enter]. The selection set is rotated.
The rotation angle is measured anti-clockwise from the three o’clock
position regardless of how you have set up the Angular Format in
Settings ► Drawing Settings. If you do not know the angle and need to
calculate it, you can type the necessary arithmetic expression, e.g.
360/4 instead of the angle.
AllyCAD will now prompt:
Enter point that must move
You are now given the option to move the rotated selection set. If you
do not want to do so choose another function, press the [Space Bar],
click on Done or .
Position the cursor at the point you want to use to drag the selection
set around with and press [Enter] or click.
Enter point it must rotate to
You are now given the option to move the rotated selection set. If you
do not want to move the rotated set choose another function, press
the [Space Bar], click on Done or .
Update
Trim Length
Modify the length of a line entity.
Procedure
Select line to modify near fixed end
Indicate the line to be changed, and do so near the end that must
not change. ie. The opposite end of the line will get lengthened or
shortened.
Enter new line length
The input bar is initialized with the current length giving you the
opportunity to change it. Type in the new value and press [Enter] or
click the tick mark.
The line entity is modified, and the process repeats for subsequent
lines.
5-22 AllyCAD Reference Manual
Multi Line Trim
Perform many trim operations using the same line as the trim line
This function allows you to indicate a line to be used as the trim line
(cutting edge) and thereafter indicate any number of subsequent
lines to be trimmed onto the trim line.
Procedure
Select line to be trimmed to
Indicate the line to be used as the trimming line. This line will not get
modified.
Select line to trim (on side to keep)
Indicate the line that will get modified on the side that will remain
after the trimming. This line does not have to intersect with the trim
line as the extended intersection will be calculated. The trim might
actually be an extension in this case.
The program repeats allowing you to trim many lines in turn without
having to indicate the trim line each time.
Fillet
Insert radiused corners between elements or edit elements to join exactly.
Before After
Update
Use
If you choose One Point, you will be able to select the elements to
fillet with one mouse click.
If you choose Two Points, you must select the elements to fillet with
two mouse clicks.
Radius
Fillet Radius Type the fillet radius. If you type "0", the Fillet
function will operate in exactly the same way
as the Trim function.
If your fillet is “inside out”, you probably clicked outside the corner
made by the elements being filleted, not inside. Undo the fillet and
try again, ensuring that you click on the inside of the corner.
AllyCAD prompts:
Second line
Lengths are measured from the intersection point of the two lines
even if they do not meet, and are applied to the lines in the order in
which they are selected.
Length Angle
Angle
Length
Second line Select the Angle option and type the length
selected
and angle as shown above.
First line
selected
Second
Length
First
Select "Length 2" and type the first and
Length Second line second lengths.
selected
First line
selected
When a line or arc is split, the two split ends form a point that can
be snapped to exactly. Also, once a line or arc has been split, one
part of it can be rubbed out or edited.
A line or arc can also be extended to meet another line.
Position the cursor at the point where the split must take place.
Press [Enter] or click. If the point is not exactly on the line or arc, the
split will take place at the nearest position on the line or arc.
Position the cursor at the point you want to extend it to and press
[Enter] or click. If the point does not lie exactly on the extended line
or arc, the line or arc will be extended to the nearest position.
This function divides a line and then allows you to edit the part
between the points of division.
AllyCAD prompts:
Select line to edit (Between divide points)
Move your mouse and click on the spot that will be the first point of
division.
AllyCAD prompts:
Select second divide point.
Move your mouse and click on the spot that will be the second point
of division.
AllyCAD prompts:
Enter linestyle to change to.
In the Control Bar, type in the number of the linestyle you would
like. Click on .
AllyCAD prompts:
Enter pen to change to.
In the Control Bar, type in the number of the pen you would like.
Click on . The divided and newly edited line will appear.
Cancel the function by choosing another function, pressing the
[Space Bar], clicking on Done or .
Some lines may be deleted when you use this function as the
following example will illustrate.
Example 1 Example 2
Position your cursor at the end of one of the lines and press [Enter]
or click. The end of the line that you position your cursor close to will
be deleted.
Example 1 Example 2
Position your cursor at the end of the other line and press [Enter] or
click. The end of the line that you position your cursor close to will
be deleted.
Example 1 Example 2
Line 1 Line 1
Line 2 Line 2
The two lines are joined. The original lines in Example 1 are deleted.
Position the cursor near the end of another line and press [Enter] or
click. Alternatively, cancel Join Lines by choosing another function,
pressing the [Space Bar], clicking on Done or .
If the two original lines disappear and no new line is produced, click
on Undo and try again. Ensure that you are in Freehand mode, and
that you click at the ends of the lines that are to be deleted.
A Left click on the icon will start a single place Cut & Rub described
in “Cutting in one place”.
A Right click on the icon will start a two place Cut & Rub described
in “Cutting in two places”
If you started this function from the menu, you will be asked if you
want to cut in one or two places with the following prompt:
Do you want to cut one place (else two places
You want to
delete this part of Click on the YES button if you want to rub
the line out the end of a line, and therefore only
have to cut the line in one place.
If you want to cut another line, click on the YES button. To stop
cutting lines, click on the NO button.
If you want to cut another line, click on the YES button. To stop
cutting lines, click on the NO button.
Snip cuts all lines, arcs and circles passing through the perimeter of
a box or circle drawn around them. It can be used to create openings
in walls before doors are placed, to create a space for text that would
otherwise pass over previously drawn lines or to delete all but a
small part of a drawing etc.
Annotations (text, arrows, dimensions) whose origins do not lie
wholly within the snip box or circle will not be deleted.
AllyCAD will prompt:
Snip out box? (else circle)
Everything inside
this box will be
snipped out
Everything
outside this box
will be deleted
Position the cursor at one corner of the snip box and press [Enter] or
click.
AllyCAD will now prompt:
Enter second corner of rectangle
Move the cursor diagonally away from the first corner you entered
and press [Enter] or click. The elements inside or outside the box will
be deleted.
AllyCAD will continue to prompt:
Enter new corner of snip box
When you move the cursor the snip box you have just defined moves
with it. Place the snip box at another position and press [Enter] or
click. The elements inside or outside the box will be deleted.
Alternatively, cancel Snip by choosing another function, pressing the
[Space Bar], clicking on Done or right clicking then clicking on .
Position the cursor at the centre of the snip circle and press [Enter]
or click.
AllyCAD will then prompt:
Enter point on radius
When you move the cursor the snip circle you have just defined
moves with it. Place the snip circle at another position and press
[Enter] or click. The elements inside or outside the circle will be
deleted.
Alternatively, cancel Snip by choosing another function, pressing the
[Space Bar], clicking on Done or .
Polysnip is similar to the snip function. It cuts all lines, arcs and
circles passing through the perimeter of the polygon drawn around
them. It can be used to create openings in walls before doors are
placed, to create a space for text that would otherwise pass over
previously drawn lines or to delete all but a small part of a drawing.
Annotations (text, arrows, dimensions) whose origins do not lie
wholly within the snip polygon will not be deleted.
AllyCAD will prompt:
Remove elements on inside? (else outside)
If you would like the snip polygon to be drawn after the snip, click on
the YES button, else click on the NO button. AllyCAD will prompt:
Enter clip polygon
Position the cursor at one corner of the snip polygon and press
[Enter] or click.
Enter next point of polygon (Hit Space Bar for a box)
Move the cursor to the next point of the polygon you want and click.
If you hit [Space Bar] you will of course have a box rather than a
polygon area to be snipped. Otherwise AllyCAD will continue to
prompt:
Next point of polygon (Space Bar to close)
Continue moving the cursor to the next point of the polygon you
want and click until you have the enclosed polygon shape. Hit either
the [Space Bar] or Done to finish the function. The elements inside or
outside the polygon will be deleted, and elements crossing the
polygon will be snipped.
Click on the layer that the selection set must be moved to. The
destination layer will be highlighted.
Before using this function, ensure you have created the layer to
move the selection set to. See Layer Control.
Click on the layer that the selection set must be copied to. The
destination layer will be highlighted.
Before using this function, ensure you have created the layer to
copy the selection set to. See Layer Control.
Transform
Applies a Helmert transformation on all or part of the drawing.
Only the visible points, lines and polylines/polygons in the drawing will be
Visible
exported.
Only the selected points, lines and polylines/polygons in the drawing will be
Selected
exported.
Procedure
The CAD will prompt:
Indicate a known point on the old coordinate system. The CAD will
prompt:
Indicate the same point on the new system
Procedure
The CAD prompts:
Transform all, visible or selected (A/V/S)
Enter the letter corresponding to which entities are to be
transformed.
Central LO for drawing (must be positive and odd)
Enter the central longitude (prime meridian) that this survey drawing
references. This is very important as the required KNB file for this
area of South Africa depends on the central longitude.
The Browse Folder dialog is display.
Select the directory in which your KNB files are stored and click the
OK button to continue, or click the Cancel button to cancel the
function.
If the correct KNB files are not found in the selected directory then
the following message is displayed:
Note
This transformation is based on degree squares for which the
required transformation parameters have been pre-calculated. These
parameters are applied to all points within their containing degree
square in order to calculate corrected coordinates.
The transformation is dependant on degree square files (KNB files)
which can be obtained from the following (sole) supplier:
Mark Newling
Tritan Survey cc
PO Box 18597
Wynberg
7824
Tel: 021 797-2081
Fax: 021 797-8195
Email: [email protected]
The supply and use of the KNB files supplied by Mark Newling and Tritan
Survey is a matter between yourself and their company and Knowledge
Base will, other than to the extent of verifying that the internal calculation
used is correct, bear no responsibility for the outcome of any
transformation using these supplied files.
Position the cursor where you want the two lines to intersect and
press [Enter] or click.
AllyCAD will continue to prompt:
Enter point for geometry cross
Position the cursor where you want another two lines to intersect
and press [Enter] or click. Alternatively cancel cross drawing by
choosing another function, pressing the [Space Bar], clicking on
Done or .
Position the cursor at the other point through which the geometry
line should pass and press [Enter] or click.
AllyCAD will prompt again:
Enter first point
Position the cursor at one point through which another geometry line
should pass and press [Enter] or click, or cancel geometry line
drawing by choosing another function, pressing the [Space Bar],
clicking on Done or .
Type in the distance between the existing element and the parallel
element and click on or press [Enter].
AllyCAD will now prompt:
Select original line or circle on correct side
If you do not know the distance and need to calculate it, you can
type the necessary arithmetic expression, e.g. (518-212)/3 instead
of the distance. See Making Calculations in the User Guide.
Position the cursor at the point the parallel line must pass through
and press [Enter] or click.
AllyCAD will now prompt:
Select original line or circle on correct side
Position the cursor where you want the centre point of a circle to be
and press [Enter] or click.
AllyCAD will prompt:
Enter point on diameter
Position the cursor where you want the centre point of the circle or
circles to be and press [Enter] or click.
AllyCAD will now prompt:
Enter up to 5 diameters separated by spaces
The two lines that you select must be geometry lines. If you need to
draw a circle tangent to two solid lines, project these to geometry first
using the Geometry Make Geometry function.
AllyCAD will prompt:
Circle tangent to two lines enter diameter
If you do not know the distance and need to calculate it, you can
type the necessary arithmetic expression, e.g. (518-212)/3 instead
of the diameter.
If you have selected two lines that are parallel then an error message
will be displayed:
Parallel lines never meet … Euclid.
The line and the circle that you select must be a geometry line and
circle. If you need to draw a circle tangent to a solid line and circle,
project these to geometry first using the Geometry ► Make Geometry
function.
AllyCAD will prompt:
Circle tangent to line and circle: enter diameter
Position the cursor near the geometry line that the circle must be
tangent to and press [Enter] or click . The position of the tangent
circle is dependent on the cursor position. For example:
Position the cursor near the existing geometry circle that the tangent
circle must be tangent to and press [Enter] or click .
Where the tangent circle will appear is dependent on where you
selected the line, and on whether you position the cursor inside or
outside the existing circle when you select it.
If you do not know the diameter and need to calculate it, you can
type the necessary arithmetic expression, e.g. (518-212)/3 instead
of the distance.
The two circles that you select must be geometry circles. If you need
to draw a circle tangent to two solid circles, project these to geometry
first using the Geometry ► Make Geometry function.
AllyCAD will prompt:
Circle tangent to two circles: enter diameter
The three lines that you select must be geometry lines. If you need
to draw a circle tangent to three solid lines, project these to geometry
first using the Geometry ► Make Geometry function.
Point
Point
Point
Point
... the tangent circle will enclose the
existing circle or be enclosed by it,
depending on the radii of the two
circles.
Point
Point
Point
If you position the cursor on this side of
the existing circle ...
Point
If you do not know the radius and need to calculate it, you can type
the necessary arithmetic expression, e.g. (518-212)/3 instead of the
radius. See Making Calculations in the User Guide.
Position the cursor at the point the tangent circle must pass through
and press [Enter] or click.
If a circle cannot be drawn tangent to the line and through the point,
the message
Tangent circle not possible
Position the cursor at the first point the circle must pass through
and press [Enter] or click.
AllyCAD will then prompt:
Enter second point on circle.
Position the cursor at the second point the circle must pass through
and press [Enter] or click.
AllyCAD will then prompt:
Enter third point on circle.
Position the cursor at the third point the circle must pass through
and press [Enter] or click.
If the three points that you have entered are in a straight line, the
error message
Three points in a straight line
will appear.
AllyCAD will continue to prompt:
Enter first point on geometry circle
Position the cursor at the first point another circle must pass
through and press [Enter] or click. Alternatively cancel circle
drawing by choosing another function, pressing the [Space Bar],
clicking on Done or .
Position the cursor close to the circle that the line must be tangent
to. The line will be tangent to that part of the circle closest to the
cursor position. Press [Enter] or click.
Would you like tangent line at fixed angle (else through
point)
Enter the angle of the tangent line and click on or press [Enter].
Position the cursor close to a circle to draw another tangent line and
press [Enter] or click. Alternatively cancel tangent line drawing by
choosing another function, pressing the [Space Bar], clicking on
Done or .
Position the cursor at the point through which the tangent line must
pass and press [Enter] or click.
AllyCAD will continue to prompt:
Line tangent to geometry circle: select circle
Position the cursor close to a circle to draw another tangent line and
press [Enter] or click. Alternatively cancel tangent line drawing by
choosing another function, pressing the [Space Bar], clicking on
Done or .
Position the cursor close to one circle that the line must be tangent
to. The line will be tangent to that part of the circle closest to the
cursor position. Press [Enter] or click.
AllyCAD will now prompt:
Select second circle
Position the cursor close to another circle and press [Enter] or click.
… click here …
Position the cursor close to a circle in order to draw another line and
press [Enter] or click. Alternatively cancel line drawing by choosing
another function, pressing the [Space Bar], clicking on Done or .
Point Point
Point Line
Point
Point
Point
Position the cursor at the first point and press [Enter] or click.
AllyCAD will now prompt:
Enter next point
Position the cursor at the second point and press [Enter] or click.
AllyCAD will continue to prompt:
Perpendicular bisector between two points .. enter first
point
Position the cursor at the geometry line you want the new geometry
line to be perpendicular to and press [Enter] or click.
AllyCAD will now prompt:
Enter point perpendicular should go through
Position the cursor at the point the perpendicular line should pass
through and press [Enter] or click.
AllyCAD will continue to prompt:
Select geometry line
Enter the number of sections you want the target line to be divided
into.
Position the cursor close to the line you want to “divide” and press
[Enter] or click the left mouse button.
Only geometry lines are created in this function - the target line
itself is not cut into sections.
Procedure
Enter number of sections
Enter the number of parts that the arc or circle is to be divided into.
Click on the circle you want to divide (spacebar to exit)
Indicate the arc or circle entity. Small geometry circles are drawn
accordingly, and the program repeats to allow many lines to be
divided into the same number of parts.
Only geometry lines are created in this function - the target line
itself is not cut into sections.
or
Draw Geometry
If this is the element you want to delete, click on the YES button.
The element will be deleted. If you do not want to delete the
highlighted geometry element, click on the NO button.
AllyCAD will continue to prompt:
Select geometry element to be deleted
If you might need your geometry lines again later, you can
temporarily switch them off by unchecking the Show Geometry box
in Settings ► View Settings.
To set the text parameters, i.e. what the text will look like, use the
Settings ► Set Text Defaults function before adding the text.
You can change the text parameters as you are entering the text in
the Text Entry dialog box, or change the parameters of existing text
using the Settings ► Set Text Defaults function or the Annotate ► Edit Text
function.
AllyCAD will prompt:
Enter text position
Position the cursor where you want the text to appear and press
[Enter] or click. The text label origin will determine the position of
the text relative to this point. See Set Text Defaults.
The Text Entry dialog box is displayed.
Type the text, which will appear in the white area of the dialog box at
the position of the black vertical cursor.
Press the [CTRL] [Enter] keys at the same time to enter a new line of
text. Alternatively, if you have checked the Accept Return check box,
you can enter a new line of text by pressing the [Enter] key on its
own.
If you want to change the text parameters at this stage, click on the
Text Defaults button. The Set Text Defaults dialog box will be
displayed.
Position the cursor where you want another piece of text to appear
and press [Enter] or click. Alternatively, cancel text entry by choosing
another function, pressing the [Space Bar], clicking on Done or .
If you need to edit the text content after you have entered it, for
example because you have made a spelling mistake, double click on
the offending text with the Select cursor (see Select) or use the
Annotate ► Edit Text function.
Once you have entered text into AllyCAD, you can export it as an
ASCII file (see Export Text) or cut or copy it onto the Clipboard for
pasting into another program (see Cut and Copy).
You can also import text from a word-processor as an ASCII file (see
Import ASCII) or paste text into AllyCAD from a Windows word-
processor or desktop publishing program (see Paste).
ar c
an
nd The ToolKit contains a function to
ou
ar allow you to place text around an
t arc in the General section.
x
te
Position your cursor on the arc you want to place the text around
and press [Enter] or click.
AllyCAD will prompt:
Enter text
Type the text you want to place around the arc and click on or
press [Enter].
The text is placed around the arc, and centered between the ends of
the arc.
Edit Text
Edit the text content of all selected text.
The text will be displayed inside the Text Entry dialog box. You can
change the text parameters by clicking on the Text Defaults button. If
you just want to change text height, you can type a new text height
into the text height box in the Text Edit dialog box. When you have
finished editing the text, click on OK.
If you have selected several pieces of text to edit, only one will be
displayed at a time. You can also edit text content by double
clicking on the text item with the Select cursor.
Move Text
Moves all selected text.
Position the cursor at a point on the text and press [Enter] or click.
This point is a reference point that you will use to define the
movement. AllyCAD will then prompt:
Enter new text position
Position the cursor at the new position of the reference point. Press
[Enter] or click. Text can also be moved by the following methods:
• Using the Modify ► Stretch or Modify ► Move functions.
• Using the Select cursor to select the text and drag it to a new
position with your mouse.
Type the text scale factor. For example, if you want the text to be
twice as big, type "2". Then click on or press [Enter].
When you have set the parameters click on the Apply button to make
the changes. Select the text attributes to change as shown below and
click on OK. Click on OK to close the Set Text Defaults dialog.
Set Alignment
Define how the selection set should be aligned, or align the selection set
horizontally and/or vertically.
Set the options you require and click on the Apply button to align the
selection set.
Align Align
There must be a grid on the screen before you align using this
option or nothing will happen. See Grid.
Alignment
The Vertical group allows the items in the selection set to be aligned
to the Top, Centre or Bottom.
The Horizontal group allows the items in the selection set to be
aligned to the Left, Centre or Right.
Items in the selection set can be aligned both horizontally and
vertically at the same time.
Each item in the selection set is aligned so that its top touches the
horizontal grid line nearest to its top.
Align
Align
The To each Other, Vertical Align and Top options of the Vertical
section have been checked.
The items in the selection set are aligned to the top edge of the
square, because this was the highest element in the selection set
before alignment.
Align
Align
The To Each Other, Horizontal Align and the Centre option in the
Horizontal section of the dialog box have been checked.
The items in the selection set are centered between the left hand
edge of the square, because this was the left most thing in the
selection set, and the right hand edge of the larger circle, because
this was the right most thing in the selection set before alignment.
Align Align
Each item in the selection set is centred about the vertical grid line
that was nearest to its centre before alignment.
Align Align
The items in the selection set are centrally aligned in both the
Vertical and Horizontal directions.
Align
Align
Vertical Distribution
The Vertical Distribute and Top options have been checked.
The three central boxes are repositioned so that their tops are
equally spread between the top of the top box and the top of the
bottom box.
The central box is repositioned so that its left hand side is exactly in
between the left hand sides of the left and right boxes.
The three central boxes are repositioned so that their tops are
equally spread between the tops of the top and bottom boxes. The
boxes are aligned with the left most box.
In this section, grid lines are referred to and shown in the diagrams.
This is for illustrative purposes only. When you use Tools ► Grid to
create a grid in AllyCAD, only the dots representing the
intersections between the horizontal and vertical grid lines are
displayed.
This function aligns everything that has been selected using the
Select or Selection Filters commands (the selection set). The selection
set is aligned and/or distributed according to the settings of the
Align dialog box.
You must select at least two items to align or three to distribute, or
nothing will happen.
Text may not look as though it has been aligned with the other
items in the selection set. This is because the text characters are
enclosed in a "cell” with a space above them and below them. If, for
example you are aligning text to the Top, it is not the top of the
character that is aligned, but the top of the “cell”.
The text label origin associated with a piece of text does not affect
the way that text is aligned using Align. Each piece of text is
associated with a text alignment, defined in Settings ► Set Text
Defaults. If you have a piece of text comprising several lines, this
does affect the way that text is aligned using Align.
For example, the text alignment of the piece of text has been set to
right in the Set Text Defaults dialog box.
50
If you replace the "x" with, say, "50" using the Alter Dimension
function, the object will change size so that it is 50 units long.
Mechanical Style
If you have checked the Mechanical Style option in Settings ► Set Dim
Defaults...
AllyCAD will prompt:
Do you want running, chained or free dimensions (R/C/F)
Type "R" for Running, "C" for Chained or "F" for Free. Click on or
press [Enter].
50
chained,
18 16.3 15.7
18
34.3
34.3
34.3
50
Free dimensions
If you are drawing Free dimensions, AllyCAD will prompt:
Enter text position
Architectural Style
If you have checked the Architectural Style option in Settings ► Set Dim
Defaults...
56.9
18.6 19.3
37.9
18.6
45°
A dimension at a fixed angle that you
.3
been typed.
The text will be centred between the witness lines. If you do not want
the text centred, you can move it to the desired position after you
have drawn the dimension, using the Modify ► Stretch function.
AllyCAD will continue to prompt:
Enter first point
Type in the angle of the dimension. This will be the same as the line
you are dimensioning, ie. 30, -30 or 90 degrees if you have set up the
Angular Format to measure anti-clockwise from the 3 o'clock
position.
Click on or press [Enter].
Click on the YES button if you want the witness lines to be angled at
60 degrees to the line being dimensioned, and on the NO button if
you want the witness lines to be angled at 120 degrees (see diagram
on the next page).
AllyCAD will prompt:
Do you want running, chained or free dimensions (R/C/F)
You can change the text content, arrow type and witness line colour
of individual dimensions using Annotate ► Edit Dimension ► Edit
Dimension Properties.
°
60
0°
12
12
12
Line being
dimensioned is
12
12
at 90 degrees
60 120°
12 °
12
Line being
dimensioned is
at 30 degrees 12
12
12
12
12
Line being
0°
dimensioned is 12
at 330 degrees 60°
12
57.39°
Position of arrow
If there are two intersecting lines you want to dimension, click on the
YES button.
AllyCAD will prompt:
Select first line
Position the cursor near one of the two lines to be dimensioned and
press [Enter] or click. AllyCAD will prompt:
Select second line
Position the cursor near the other line and press [Enter] or click.
AllyCAD will prompt:
Enter witness line start
Position the cursor where you want the witness lines to start and
press [Enter] or click. AllyCAD will prompt:
Enter witness line end
Position the cursor at the place where you want the dimension arrow
to be and press [Enter] or click.
The angle between the two lines is measured and is displayed in the
Control Bar. To accept the dimension as it is, click on or press
[Enter].
Alternatively, you can add tolerances to the dimension, add notes to
it or edit it as described in the section on Horizontal Dimensions.
When the dimension text is to your satisfaction, click on or press
[Enter].
If you are satisfied with the position of the arc indicating the
measurement (the position of the dimension arrow), click on the YES
button. Otherwise, click on the NO button and AllyCAD will prompt:
Drag till satisfied with arc radius
As you move the cursor, you will see a circle expanding and
shrinking. This circle represents the position of the dimension
arrow. Once the position of the arrow is satisfactory, press [Enter] or
click.
AllyCAD will prompt:
Satisfied with text position?
If you are satisfied with the position of the text, click on the YES
button. Otherwise click on the NO button and AllyCAD will prompt:
Enter new dimension text position
57.39°
Position of arrow
The angle between the two lines is measured and is displayed in the
Control Bar. To accept the dimension as it is, click on or press
[Enter].
Alternatively, you can add tolerances to the dimension, add notes to
it or edit it as described in the section on Horizontal Dimensions.
When the dimension text is to your satisfaction, click on or press
[Enter].
If you are satisfied with the position of the arc indicating the
measurement (the position of the dimension arrow), click on the YES
button. Otherwise, click on the NO button and AllyCAD will prompt:
Drag till satisfied with arc radius
As you move the cursor, you will see a circle expanding and
shrinking. This circle represents the position of the dimension
arrow. Once the position of the arrow is satisfactory, press [Enter] or
click.
AllyCAD will prompt:
Satisfied with text position?
If you are satisfied with the position of the text, click on the YES
button. Otherwise click on the NO button and AllyCAD will prompt:
Enter new dimension text position
23.3
AllyCAD will prompt:
Is this dimension of an existing arc?
Position the cursor on the arc you want to dimension and press
[Enter] or click. AllyCAD will prompt:
Enter text part of angular dimension
If you are satisfied with the position of the arc indicating the
measurement (the position of the dimension arrow), click on the YES
button. Otherwise, click on the NO button and AllyCAD will prompt:
Drag till satisfied with arc radius
As you move the cursor, you will see a circle expanding and
shrinking. This circle represents the position of the dimension arrow.
Once the position of the arrow is satisfactory, press [Enter] or click.
AllyCAD will prompt:
Satisfied with text position?
If you are satisfied with the position of the text, click on the YES
button. Otherwise click on the NO button and AllyCAD will prompt:
Enter new dimension text position
Arc centre
The arc distance between the two points is displayed in the Control
Bar. To accept the dimension as it is, click on or press [Enter].
Alternatively, you can add tolerances to the dimension, add notes to
it or edit it as described in the section on Horizontal Dimensions.
When the dimension text is to your satisfaction, click on or press
[Enter].
AllyCAD will prompt:
Satisfied with arc radius?
If you are satisfied with the position of the arc indicating the
measurement (the position of the dimension arrow), click on the YES
button. Otherwise, click on the NO button and AllyCAD will prompt:
Drag till satisfied with arc radius
As you move the cursor, you will see a circle expanding and
shrinking. This circle represents the position of the dimension
arrow. Once the position of the arrow is satisfactory, press [Enter] or
click.
AllyCAD will prompt:
Satisfied with text position?
If you are satisfied with the position of the text, click on the YES
button. Otherwise click on the NO button and AllyCAD will prompt:
Enter new dimension text position
R 15 Ø 20
Ø 20
R 15
Position the cursor close to the arc or circle you want to dimension
and press [Enter] or click.
This cursor position affects the way that the dimension will be
drawn. This is described fully on the next page.
R 15
If you do not want the dimension text on
the arrow, but on a leader line as shown
on the left, click on the NO button.
AllyCAD will prompt:
Enter text position
Position the cursor close to the arc or circle you want to dimension
and press [Enter] or click. Alternatively cancel dimensioning by
choosing another function, pressing the [Space Bar], clicking on
Done or .
67.5
95.9
26.9
20
10°.02.
This function allows the length and the bearing of a line to be written
onto that line. Length is measured in the units selected in Settings ►
Drawing Settings. The bearing is measured according to the Angular
Format in Drawing Settings.
Dimension appearance (text height, number of decimals, etc.) is set
using Settings ► Set Dim Defaults. However, you cannot change the
appearance of a survey dimension once you have placed it.
The way that the dimension is presented (whether text is written
along the bearings or is written upright, whether the bearing is on
top and the length at the bottom or vice versa, etc.) is set using
Settings ► Set Survey Defaults. You cannot change the way you have
presented a survey dimension once you have placed it.
Editing Text
This option allows you to edit the dimension text, or add tolerances
or notes to the dimension text.
AllyCAD will prompt:
Enter new text
The existing dimension text is displayed in the Control Bar. Edit it,
then click on or press [Enter].
AllyCAD will continue to prompt:
Select dimension to be edited
Editing Arrowheads
This option changes the arrowhead type.
AllyCAD will prompt:
Place cursor near arrowhead to change
Position the cursor near the arrowhead you wish to change and
press [Enter] or click. The arrowhead is changed into a blob.
AllyCAD will continue to prompt:
Select dimension to be edited
Editing Pen
This option allows you to change the colour of the witness lines and
dimension arrows.
AllyCAD will prompt:
Enter new witness line pen
43.4
43.4
Alter Dimension
To change the size of part of a drawing when the dimension text is changed
You can enter these variables as you dimension the object when
AllyCAD prompts Enter text of dimension. See Horizontal
Dimensions. You can also enter these variables using Annotate ► Edit
Dimension ► Edit Dimension Properties ► Text.
Type the text you want to alter ("17.3" or "x" in the example above).
It is important that you type the dimension text exactly as it appears
on the drawing, including decimal points or commas and any trailing
spaces or zeros. Click on or press [Enter].
AllyCAD will now prompt:
Enter new dimension text (will cause dimension to alter)
Type in the numeric value that the dimension text must change to
("40" in the example above) and click on or press [Enter]. The
dimension and dimensioned part will be adjusted to match the new
value.
AllyCAD will prompt:
Alter a whole area, along witness line, or at witness point
(A/L/P)
The answer you type here determines what will be affected by the
new dimension. Type "A" for Area, "L" for along the witness Line, or
"P" for Point. Then click on or press [Enter].
If you choose the Area option, the whole drawing will be updated
relative to the new dimension.
x 20.6 28 20.6
14.3 14.3
If you choose the Line option, all points that lie on a witness line will
be altered, but the rest of the drawing will not change.
14.3 14.3
If you choose the Point option, only the dimensioned line will be
altered. The rest of the drawing will not change.
x 20.6 28 5.2
14.3 14.3
If you click on the YES button, the left most point of a horizontal
dimension will be fixed, and similarly, the lowest point of a vertical
dimension will be fixed. Alterations will take place about this point.
If you click on the NO button, the right most point of a horizontal
dimension will be fixed, and similarly, the highest point of a vertical
dimension will be fixed. Alterations will take place about this point.
Position the cursor where you want an arrow tail to be and press
[Enter] or click.
AllyCAD will prompt:
Enter next point of arrow (exit = [Space Bar] to enter arrow
head)
Position the cursor where you want the arrowhead or a bend in the
arrow tail to be and press [Enter] or click.
If you want the arrow head to be at the end of the line you have just
drawn, press the [Space Bar], click on Done or .
If you want to add another line to the arrow before adding the head,
position the cursor where you want the arrow head or a bend in the
arrow tail to be and press [Enter] or click. You may add additional
lines until you press the [Space Bar] to enter the arrowhead.
AllyCAD will continue to prompt:
Enter arrow tail
MH
A 1
This function will draw a maximum of two lines of text with a circle
around it, with an arrow from the circle if desired.
You define the number of text lines that appear in each balloon and
whether the balloon has an arrow or not using the Settings ► Set
Balloon Defaults function.
If you choose to attach an arrow to the balloon, the parameters of
this arrow (for example its colour and whether it is a blob or a slash)
are defined using the Settings ► Set Arrow Defaults function.
The text parameters used are those set in Settings ► Set Text Defaults
option. The label origin is, however, always ignored as the text is
always centered. The colour of the balloon circle is defined in the
Settings ► Line Defaults option.
AllyCAD will prompt:
Enter text position for balloon
Position the cursor where you want the balloon text to appear. This
will be the centre of the text (i.e. as though the label origin was set to
15). Press [Enter] or click.
AllyCAD will prompt:
Enter first text for balloon
Type the text for the balloon and click on or press [Enter].
For each new balloon that you enter, this text item will be
incremented. So if the first text in the first balloon was "DWA", the
text in the second balloon will be "DWB", then "DWC" and so on. If
the text in the first was "MH1", the second will be "MH2", then
"MH3" and so on.
Type the second line of text for the balloon and click on or press
[Enter]. If you leave this line blank, only the first piece of text will be
written and will be placed in the centre of the balloon. If you enter
text, the balloon will be divided into two equal portions by a straight
line.
If you have specified arrows AllyCAD will prompt:
Enter next point for arrow (press [Space Bar] to produce
arrow head)
Position the cursor where you want the arrowhead or a bend in the
arrow tail to be and press [Enter] or click.
The prompt above will be repeated until you press the [Space Bar],
click on Done or to add an arrowhead to the line you have just
drawn.
AllyCAD will now prompt:
Enter text position for balloon
Position the cursor where you want balloon text to appear and press
[Enter] or click. Alternatively cancel balloon drawing by choosing
another function, pressing the [Space Bar], clicking on Done or .
Position the cursor close to text that you want to add a balloon to or
remove a balloon from. Press [Enter] or click.
The balloon becomes part of the text parameters. This means that
if you use the Settings ► Set Text Defaults ► Take From option to set
text parameters and pick on the text with the balloon, subsequent
text will also have a balloon.
Position the cursor close to other text that you want to add a balloon
to or remove a balloon from and press [Enter] or click. Alternatively
cancel bubble drawing by choosing another function, pressing the
[Space Bar], clicking on Done or .
Pattern hatching
Select the Hatch option. A list of hatch patterns is displayed.
Hatch List
Choose an appropriate pattern from the list of hatch pattern names.
If you are not sure what the hatch patterns look like, click on the
PreView button. A sample of each hatch pattern will be displayed.
Click on the one you want to use.
Operation
Select the hatch pattern you want to use from the list, set the other
options and then click on OK.
The Perimeter Menu is displayed in the Control Bar.
The options on the Perimeter menu are used to define the area to be
hatched. Refer to the Appendix A - Perimeter Menu chapter for
details.
To alter existing hatch patterns, including the colour of the hatches,
or to make your own hatch patterns, refer to Appendix B - Hatch
Patterns.
Hatches and solid fills can significantly slow down redraws. It is a
good idea to go to Settings ► View Settings and to set the Hatch to Draw
Solid Fill
Select the Solid Fill option and the fill colour is displayed.
To change the fill colour, click on the Set Color… button. The colour
palette will be displayed. Select a colour and click on OK.
The Perimeter Menu is displayed in the Control Bar.
The options on the Perimeter menu are used to define the area to be
hatched. Refer to the Appendix A - Perimeter Menu chapter for
details.
To prevent this happening, you can divide the area to be filled into
sub-areas without islands.
The effect is even better if you edit the brick hatch pattern so that
the bricks are white. To do this, exit the CAD and load the
HATCH.PAT file in your user directory into a text editor such as
Windows Notepad.
Scroll down the file until you come to the Brick section, which looks
like this:
*brick,Brick or masonry-type surface
10, 0
1, 0, 0, 0,0, 0,.25
1, 0, 90, 0,0, 0,.5, .25,-.25
1, 0, 90, .25,0, 0,.5, -.25,.25
The 2 to the right of the 12 means that the lines making up the
hatch will now be 0.2mm thick. Save the HATCH.PAT file and restart
the CAD for the change to take effect.
This function allows you to alter the hatch pattern of a hatch, the
hatch scale and/or the hatch perimeter.
For example:
When you select Alter Existing Hatch, all existing hatch perimeters
will flash and a cross corresponding to each hatch is displayed.
AllyCAD will prompt:
Position the cursor on the cross corresponding to the hatch you want
to alter and press [Enter] or click.
If you do not want to change the hatch pattern or scale of the hatch
but want to change the perimeter, for example by adding an island
as in the diagram above, click on OK.
Otherwise, select a new hatch pattern or scale and click on OK. The
Perimeter Menu is displayed. If you don't want to alter the hatch
perimeter, click on the [Accept] option of the Perimeter Menu.
If you want to alter the perimeter, as in the example illustrated where
a circle has been added to the perimeter, draw the additional
perimeter. See the Perimeter Menu for details on how to do this.
Then click on the [Done Perim] option.
The updated hatch is drawn.
AllyCAD will flash all the existing perimeters on the drawing and will
prompt:
Select Hatch Perim whose index you want to use
Click near the hatch you want, and that will become the default
hatch style.
AllyCAD will pop up an information box telling you the hatch style
that it found. Any new hatches you create will now have this style.
96.5 199.4
114.2 207.3
129.7 196.0
146.5 203.3
If you want the coordinates to
appear in a coordinate table, click on
the YES button.
114.2 207.3
146.5 203.3
If you want each point to be labelled
96.5 199.4
with its coordinate position, click on
the NO button.
129.7 196.0
Coordinate table
AllyCAD will prompt:
Enter point where coordinate table should start
Position the cursor at the position where you want the coordinate
table to be and press [Enter] or click.
This point will represent the top left corner of the table. If you place
the cursor near the last line of an existing table AllyCAD will display
the following prompt:
Text found nearby: locked onto existing text
and add new text items onto the end of the existing table.
would result in three columns in the table. The first would be the
point name "Pt1", and the second and third would contain the
coordinates.
AllyCAD will prompt:
Enter field to increment (0 to increment none)
If you specify "1" as the field to increment AllyCAD will increment the
point name, thus the first point will be Pt1, the second “Pt2”, and so
on. If the columns are too close together stop entering points and re-
define the format string with more spaces between the fields.
AllyCAD will prompt:
Enter point
Position the cursor onto the point that you want labelled and press
[Enter] or click.
Enter text of label
The coordinates are displayed in the Control Bar before they are
placed on the drawing. At this stage they can be edited, for example
to reflect the peg or station name. To accept the coordinates, click
on or press [Enter].
The coordinates will either be written into a table or onto the points,
as specified.
Position the cursor onto another point that you want labelled or
cancel coordinate labelling by choosing another function, pressing
the [Space Bar], clicking on Done or .
Lock Cursor allows the cursor to be locked so that it will only move
at a particular angle and at 90 degrees to that angle, rather as
though you were using a set square.
The first four functions Line, Jumpline, Geomline and Keyboard, are
different ways of choosing the angle that the cursor will move along.
Once the angle of movement has been set, a message displaying the
chosen angle preceded by the word “LOCK” is displayed on the status
bar.
The Perpendicular function moves the cursor at 90 degrees to the
locked angle. The 120deg function switches the cursor between
angles suitable for isometric drawing.
The Arc option restricts cursor movement to around a given arc or
circle. The up and down arrow keys give radial movement, and the
left and right arrow keys give movement along the arc. The word
"LOKARC" will be displayed on the status bar.
The GeomCir option restricts cursor movement to around a geometry
circle. The up and down arrow keys give radial movement, and the
left and right arrow keys give movement along the circle. The word
LOKARC will be displayed on the status bar.
The Hold function switches the cursor lock on and off, while the
Unlock function cancels the locked angle and removes the LOCK
message.
Position the cursor on or close to the geometry line you want to take
the angle from and press [Enter] or click.
Lock Keyboard
This option locks the cursor movement to an angle that is typed into
the Control Bar.
AllyCAD will prompt:
Enter cursor angle
Type the angle you want the cursor to be locked at, for example 45
degrees. Press [Enter].
Perpendicular
This option changes the locked angle by 90 degrees.
If the cursor had not previously been locked to an angle before you
applied the Perpendicular function the message LOCK 90 will be
displayed, and if you select Hold, the cursor will move at 90 degrees.
To use the 120 deg function, first lock the cursor to one of the three
angles, for example 30 degrees. You can do this using any of the
methods for locking the cursor described previously.
If you select the 120 deg function or press the [.] key (Full Stop) the
locked angle will cycle from 30 to 330 degrees, then from 330 to 90
degrees, and then from 90 to 30 degrees. The LOCK display at the
bottom right of the CAD window will be updated to reflect the locked
angle.
Even though the LOCK message is displayed, the cursor will not be
locked unless you have selected Hold.
Hold
Sets/frees the cursor to the locked angle
This function locks the cursor to the locked angle displayed at the
bottom right of the CAD window, and at 90 degrees to it. If no cursor
lock has been set, the cursor will be locked to move at 0 and 90
degrees. Selecting Hold again unlocks the cursor.
When Hold is active a diamond is displayed on the screen with the
cursor. When you move the cursor, the diamond will only move at
the locked angle and it's orthogonal. The cursor itself is free to move
anywhere. This is best explained by means of an example in which a
rectangle is drawn.
To draw lines of exact lengths while your cursor is locked, use the
Arrow Keys. See Accurate Drawing in the User Guide.
If you select text after you have locked the cursor, the LOCK message
will disappear. Text will be written at the angle specified in Settings ►
Set Text Defaults.
If you want to use Lock Cursor to specify the text angle, you must
select Lock Cursor after you have selected the Add Text function,
when AllyCAD is prompting:
Enter text position.
Unlock
This function removes the cursor lock and the LOCK message from
the bottom right of the CAD window.
Grab All
Moves the cursor to the closest point, intersection, or grid point enclosed
within the cursor box.
This function searches within the cursor box in the following order:
• If a point (e.g. a point, the end of a line, the end of an arc, an arc
or circle centre) is found in the box, the cursor jumps to the
nearest one.
• If a geometry intersection is found in the box, the cursor will
jump to the nearest one.
• If any other intersection is found in the box, the cursor will jump
to the nearest one.
• If a grid point is found in the box, the cursor will jump to the
nearest one.
AllyCAD will prompt:
Enter point to jump to
Move your cursor so that the cursor box surrounds the point,
intersection or grid point you want to jump to.
Press [Enter] or click. The cursor jumps exactly onto the point,
intersection or grid point.
If you use the Shortcut key AllyCAD will not prompt you for a point
but will immediately move the cursor. Grab All jump will only work
if you are in the Grab All mode.
If you use the Shortcut key AllyCAD will not prompt you for a point
but will immediately move the cursor.
Grid
This function moves the cursor to the nearest grid point set up by Tools
Grid.
Move your cursor close to the grid point you want to jump to and
press [Enter] or click. The cursor jumps exactly onto the grid point.
If you use the Shortcut key AllyCAD will not prompt you for a point
but will immediately move the cursor.
If Grid jump does not appear to be working it is probable that it is
snapping to invisible grid points. To see these grid points zoom into
your drawing or increase the maximum number of grid dots across
screen.
Move your cursor close to the intersection you want to jump to and
press [Enter] or click. The cursor jumps exactly onto the intersection.
If you use the Shortcut key AllyCAD will not prompt you for a point
but will immediately move the cursor.
Point
Moves the cursor to the nearest reference point.
The reference point may be a point, the end of a line or arc, an arc or
circle centre point, the label origin of an item of text, the label origin
of an item of dimension text or an arrow end point.
AllyCAD will prompt:
Enter point to jump to
Move your cursor close to the point you want to jump to and press
[Enter] or click. The cursor jumps exactly onto the point.
If you use the Shortcut key AllyCAD will not prompt you for a point
but will immediately move the cursor.
Move your cursor close to the circle centre you want to jump to and
press [Enter] or click. The cursor jumps exactly onto the circle
centre.
The cursor will not jump to the centers of geometry circles - use the
Geometry Intersection jump instead.
If you use the Shortcut key AllyCAD will not prompt you for a point
but will immediately move the cursor.
Near Element
Moves the cursor to the nearest element.
Move your cursor close to the line or arc you want to jump to and
press [Enter] or click. The cursor jumps exactly onto the line or arc.
If you use the Shortcut key AllyCAD will not prompt you for a point
but will immediately move the cursor.
The last fixed point is the last point you selected by pressing [Enter]
or by clicking. For example, this may be the end point of the last line
you drew, and is always marked by a small cross: X. If the cursor is
accidentally moved off this point, it can be returned to it using the
Last Fixed jump.
Mid Point
Moves the cursor to the mid-point of the nearest line.
Move your cursor close to the line that you want the mid-point of
and press [Enter] or click. The cursor jumps exactly onto the middle
of the line.
If you use the Shortcut key AllyCAD will not prompt you for a point
but will immediately move the cursor.
Move your cursor close to the line or one of the points and press
[Enter] or click.
AllyCAD will then prompt:
Enter division ratio for jump
Type a number here, for example if you type "0.5" or "1/2", the
cursor will jump to half way along the line or between the two points.
If you type "1/3", the cursor will jump to a third of the way along the
line or between the two points. Press [Enter].
AllyCAD will prompt:
Would you like to jump to ratio point on line (else between
two points)
If you click on YES, the cursor will move to the point along the
nearest line. Where the cursor moves depends on the position of the
cursor before the jump was made.
If you click on NO, AllyCAD will prompt you for the first and second
points. Where the cursor moves depends on the order in which the
points are selected.
Type the x and y coordinates that the cursor should move to,
separated by a space. Click on or press [Enter].
The order of the coordinates, ie. Northing Easting or Easting Northing,
depends on the coordinate settings in Settings ► Drawing Settings.
‘0 0’ is the centre of the sheet of paper in Cartesian coordinate mode.
Unlike the other jumps in this section, you do not have to press
[Enter] to accept the new cursor position after using Move to
Coordinates.
Type the distance you want the cursor to move then click on or
press [Enter].
AllyCAD will prompt:
Enter bearing
Type the angle you want the cursor to move at then click on or
press [Enter]. The cursor moves.
0.8
text
When you select this function, all nodes on the drawing are marked.
• Points, the ends of lines and the ends of arcs are shown as
diamonds.
• Arc and circle centres are shown as squares.
• Text and dimension text origins are shown as stars.
Dump Data creates a file that gives the following information about
each or specific objects in your drawing:
• Parent and object names.
• The coordinates of the object's snip box.
• The layer the object is on.
• The coordinates of the object's hook point.
• Whether the object is selected.
• Whether the object is a hatch perimeter.
• The coordinates, line type, pen and width of each primitive in the
object, and whether this primitive is selected.
Refer to the Drawing Structure in the User Guide if you do not
understand any of the terminology in this section.
AllyCAD will prompt:
What layers do you want to dump data from (enter '*' for all
layers)
Type the name of the layer that you want to dump information from.
To dump information from all layers, type "*" and click on or press
[Enter].
AllyCAD will prompt:
What object names do you want data from ('* *' for all
objects)
Type the name of the object or objects you want information about
and click on or press [Enter]. For example, if you type:
YELLOW CIRC1
information about objects with the name "CIRC1" and with the
parent name "YELLOW" will be dumped. Wildcards may be used. For
example, if you type:
* CIRC1
information about all objects with the parent name "YELLOW" will be
dumped, regardless of object names. If you type :
* *
If you click on the YES button, the information that is dumped to the
file will include both Object Header information and Object Details. If
you click on the NO button, only Object Header information will be
dumped.
A sample data file produced by Dump Data is shown below.
parent A object P128
objectbox -410.455 -125.775 -258.850 -19.091 objectscale 1.000 1.000 objectrot 0.000
objectlength 506 visibility 1 layer 0 object hook 0.000 0.000
selected 0 clip 0 hatch 0 type 0 patnumber 128 lib 0 key 0 Flags: grp=0 sym=0 contdel=0 chk=0
polyline linet= 1 pen=14 used=0 selection=0 nvertex=11 spline=0 swid= 0 ewid= 0 closed=0
key=0, SNode=0, ENode=0
vertex -386.87 -57.273 type=0 swidth= 0 ewidth= 0
vertex -350.94 -19.091 type=0 swidth= 0 ewidth= 0
vertex -323.98 -53.904 type=0 swidth= 0 ewidth= 0
vertex -301.52 -25.829 type=0 swidth= 0 ewidth= 0
vertex -258.85 -68.503 type=0 swidth= 0 ewidth= 0
vertex -282.43 -116.79 type=0 swidth= 0 ewidth= 0
vertex -308.26 -92.086 type=0 swidth= 0 ewidth= 0
vertex -326.23 -125.78 type=0 swidth= 0 ewidth= 0
vertex -347.57 -98.824 type=0 swidth= 0 ewidth= 0
vertex -396.98 -122.41 type=0 swidth= 0 ewidth= 0
vertex -410.45 -98.824 type=0 swidth= 0 ewidth= 0
*************************************************
parent A object P128
objectbox -264.465 -125.775 -112.861 -19.091 objectscale 1.000 1.000 objectrot 0.000
objectlength 506 visibility 1 layer 0 object hook 145.989 0.000
selected 0 clip 0 hatch 0 type 0 patnumber 129 lib 0 key 0 Flags: grp=0 sym=0 contdel=0 chk=0
polyline linet= 1 pen=14 used=0 selection=0 nvertex=11 spline=1 swid= 0 ewid= 0 closed=0
key=0, SNode=0, ENode=0
vertex -240.88 -57.273 type=0 swidth= 0 ewidth= 0
vertex -204.95 -19.091 type=0 swidth= 0 ewidth= 0
vertex -177.99 -53.904 type=0 swidth= 0 ewidth= 0
vertex -155.53 -25.829 type=0 swidth= 0 ewidth= 0
Blocks
Drawings that have been imported as DXF or DWG files are likely to
contain AutoCAD blocks. These will be represented in Dump Data
files in the same way as AllyCAD objects, except that they will have a
STARTBLOCK line above the object description and an ENDBLOCK
line beneath it:
===========================================
STARTBLOCK SOP [0.000000,0.000000] storescale=1.000000 flags=64 purgedflag=0
*************************************************
parent A object P121
objectbox -10.000 -10.000 10.000 10.000 objectscale 1.000 1.000
objectrot 0.000
objectlength 328 visibility 0 layer 0 object hook 10.000 0.000
selected 0 clip 0 hatch 0 type 0 patnumber 121 lib 0 key 0
arc 10.000 0.000 0.000 0.000 10.000 0.000
radius 10.000 cw 0 line, pen, width 255 11 0 0 0 0 aspect 1 angle 0
line -7.071 7.071 7.071 -7.071 255 11 0 0 0 0
line 7.071 7.071 -7.071 -7.071 255 11 0 0 0 0
ENDBLOCK
Object Details
After the Object Header, details about each primitive in the object are
given. These details vary depending on the nature of the primitive.
Points are represented as lines whose start and end coordinates are
the same.
Polylines
pen color.
ar1 ar2 arrow heads. The two figures following ar1 ar2 are
normally both 0. If an arrow head has been updated using
Edit Dimension Properties in Edit Dimension in the
Annotate Menu it will be represented by the number 10.
ang angle of dimension in tenths of a degree.
dim text the contents of the dimension text, i.e. the measurement.
53.42° 53.42°
Coordinates of intersection point if this Coordinates of the tip of Coordinates of the end of the
is a dimensioned angle, or arc centre the arrow head that points witness line closest to the
point if this is a dimensioned arclength. in the anticlockwise dimension, at the clockwise
direction. end of the dimension.
pen colour.
ar1 ar2 the two figures following this are not relevant to angular
dimensions
text posn coordinates of dimension text position.
text the contents of the dimension text, i.e. the measurement.
Radial Dimensions
Coordinates of the point where the arrow head touches the Coordinates of the dimension
arc or circle circumference. In the case of a circle, where text if this is not on the
two arrow heads touch the circumference, it is the arrow dimension arrow. If the text is
head nearest to the text. If the text is in between the two on the dimension arrow, these
arrow heads, it is the arrow head nearest the position you coordinates are the same as
indicated when adding the Radial Dimension. the previous ones.
pen colour.
ar1 textar the two figures following this are not relevant to radial
dimensions.
raddim text the contents of the dimension text, i.e. the measurement.
Data Items
Bitmaps
When you select the Grid function the following dialog box is
displayed:
X Grid Spacing
This is the distance between grid points in the X direction.
Y Grid Spacing
This is the distance between grid points in the Y direction
Grid On
This option turns the grid on or off.
Second
point
Slope
distance
Y distance
Angle
First
point
X distance
This function measures the slope distance, the x and the y distances
and the angle between any two points.
Position the cursor at the first point and press [Enter] or click.
AllyCAD will prompt:
Second point
Position the cursor at the second point and press [Enter] or click.
The measurements are displayed. Click on OK to return to AllyCAD.
AllyCAD will continue to prompt:
Distance ... enter first point ([Space Bar] to exit)
To measure something else, position the cursor at the first point and
press [Enter] or click. Alternatively, cancel measuring by choosing
another function, pressing the [Space Bar], clicking on Done.
Incorrect areas
If you select the yellow Object Icon in the Perimeter Menu on the
Control Bar to identify a boundary, the area calculated may be
incorrect. For this method of boundary identification to produce the
correct result, all the elements in the object must have been drawn
sequentially.
Incorrect perimeters
Line width affects perimeter calculations, which may therefore
appear incorrect. For example:
If you draw a rectangle of 100x100mm with a line width of 0mm, the
perimeter will be measured as 400mm.
If you draw a rectangle of 100x100mm with a line width of 0.2mm,
the perimeter will be measured as 800mm.
If you draw a rectangle of 100x100mm with a line width of 2mm, the
perimeter will be measured as 8000mm.
This only occurs if you use the Rectangle, Line or Object methods of
defining the perimeter to measure. This is intentional for certain
types of costing.
To switch off this effect temporarily, click in the Command box on
the Control Bar and type:
SETUSEWIDTHPERIM 0
When you query a data item, the macro function Enquire Data will
only read the coordinates of the first occurrence of the data item it
encounters. So if you need to query the locations of several bolt
holes, for example, you should distinguish between them by
assigning different text to them, for example BOLTHOLE 1,
BOLTHOLE 2 etc.
If you click on the YES button, the data item text will be displayed on
the screen. The text format is determined by Set Text Defaults in the
You can make all data item text visible, or all data item text
invisible using Show Data Items in View Settings in the Settings
Menu.
Enter the location for another data item. Alternatively cancel linking
text to coordinates by choosing another function, pressing the
[Space Bar], clicking on Done or .
Position the cursor on the diamond marking the data item you want
to edit and press [Enter] or click. The data appears in the Control
Bar.
AllyCAD will prompt:
Enter new data
Type in the new data and click on or press [Enter]. AllyCAD will
prompt:
Should the data item be visible
If you click on the YES button, the data item text will be displayed on
the screen. The text style is set in Settings ► Set Text Defaults. If you
click on the NO button, the text will be invisible.
You can make all data item text visible, or all data item text
invisible using Show Data Items in Settings ► View Settings.
Position the cursor on another data item to edit and press [Enter] or
click. Alternatively cancel data item editing by choosing another
function, pressing the [Space Bar], clicking on Done or .
Position the cursor on the entity you want to query. Press [Enter] or
click. A box showing information about the entity appears.
The following conventions are used:
• Pens (colors) are numbered from 1 to 255. A pen of "256"
indicates that the pen is being set By Layer.
• Line types are numbered from 1 downwards in the Line Type
menu so that continuous is 1, dashed is 2, etc. A line type of
"256" indicates that the line type is being set By Layer.
• Width is measured in tenths of a mm.
• Angles are measured anti-clockwise from the 3 o'clock position.
• The figure in brackets "(0)" is information used internally.
• The letter or name in single quotes after the word Layer is the
layer the entity is on.
The top line of the file is optional and describes the attributes that
have been extracted. In the example above, data has been extracted
about each object's name, its manufacturer, part number, colour,
layer and the coordinate position on the drawing.
Every line that follows refers to an object on the drawing. In the list
there is a bath on the drawing manufactured by SCOVER, with a
part number of 123, in cream. On the drawing it is on the
FURNITURE layer and is located at coordinate position "-2736.238, -
1897.376".
Once you have extracted the bill of materials, you can read the ASCII
file into a database or spreadsheet to manipulate the information.
Name Description
OBJ_NAME the object's name.
OBJ_PARENT the object's parent name.
OBJ_LAYER the layer the object is on.
OBJ_XREF the x coordinate position of the object's hook point.
OBJ_YREF the y coordinate position of the object's hook point.
OBJ_XSCALE the scale of the object in the x direction. This is 1 unless you
have scaled the object, either when you added it to the drawing
using Symbol, or using Scale in the Modify Menu.
OBJ_YSCALE the scale of the object in the y direction. This is 1 unless you
have scaled the object, either when you added it to the drawing
using Symbol, or using Scale in the Modify Menu.
OBJ_ROT the rotation of the object, measured in degrees and anti-
clockwise from the 3 o'clock position. This is 0 unless you have
rotated the object, either when you added it to the drawing using
Symbol, or using Rotate in the Modify Menu.
OBJ_AREA the area of the object, measured in the currently set area units
(see Drawing Settings). Be aware that the areas calculated
for complex objects are not always accurate. See List Objects
for an explanation.
OBJ_PERIM is the perimeter of the object, measured in the currently set linear
units (see Drawing Settings).
User-defined Attributes
Three user-defined attributes have been used in the template:
MANUFACTURER, PART_NO and COLOUR.
A template file must contain at least one user-defined attribute, and
you can define as many as you want. User-defined attribute names
Attribute Type
The second column in the template specifies whether the attribute is
a text item or a number.
"C" is specifies that the attribute is a text item. Text attributes will
have double quotes placed around them if the bill is output as a
comma or tab delimited file.
"N" specifies that the attribute is a number.
Attribute width
The third column in the template defines the maximum width, in
characters, that the attribute will take up in the file.
If you choose to output the bill as fixed columns, then this width will
be used to define the fixed column spacing.
Decimal places
You can specify the number of decimal places in the fourth column
for the following attributes:
OBJ_AREA
OBJ_PERIM
OBJ_XREF
OBJ_YREF
OBJ_XSCALE
OBJ_YSCALE
OBJ_ROT
OBJ_XREF N 12 3
OBJ_YREF N 12 3
1 2 3 4 5 6 7 8 9 10 11 12
- 2 3 9 8 . 8 4 2
1 2 3 4 5 6 7 8 9 10 11 12
- 8 4 . 9 3 4
The BOM will be saved in a plain ASCII file. The Field Separators
option allows you to specify that the file must be:
Comma Delimited
items separated by commas with text items enclosed in quotation
marks.
Tab Delimited
items separated by tabs with text items enclosed in quotation
marks.
Fixed Width Columns
the width of each column specified in the template file.
If you check the Field Names on First Line option the first line of
the file will include the names of the attributes. This is useful if
you plan to import the BOM into a program like Microsoft Access,
which can interpret the first line of the file as field names.
Refer to Objects ► Make Symbol and Settings ► View Settings for more
details.
Troubleshooting
If you are having difficulty creating a Bill of Materials check the
following:
• Ensure there is no carriage return after the last line in your BOM
template file.
• Have you attached the attributes to the objects correctly?
• For an object to be included in the BOM, it must have at least
one of the attributes listed in the BOM template file.
See Also
Explode Object, Group Into Object, Make Symbol, Edit Data Item,
View Settings, Selection Filters.
Before After
Drawingsnaptidy Drawingsnaptidy
Before After
drawingCliptidy drawingCliptidy
Nodes
Segments made up
of many small lines
Add another node or cancel node adding by pressing the [Space Bar],
clicking on Done or .
You should change to a clean layer before tidying. In this way you
can easily get rid of any old fragments that have been missed in the
cleaning process.
Type a number, usually between 0.3 and 0.7 and press [Enter] or
click .
The number defines a “corridor” of a certain width, and any line
segments falling within this corridor will be replaced with a single
line segment.
Position the cursor half way along the first line making
up the boundary segment to be tidied. You may have to
magnify into the drawing in order to identify this
segment. Press [Enter] or click.
The program will now track along the segment until it reaches
another node. You will see its progress as it tracks. If tracking is lost
before another node is reached or if there is ambiguity at a point the
following prompt is displayed:
Tracking lost... enter next segment
If you are satisfied with the tidied boundary and want to discard the
old boundary, choose the Satisfied discard old option. If you are
satisfied with the tidied boundary but want to keep the old one,
choose the satisfied Keep old option.
If you are not satisfied with the tidied boundary, choose the Restart
segment option. Finally, if you have finished tidying boundaries,
choose Quit. You will be returned to the Tidy Polygons Menu.
Drawingsnaptidy
This option tidies up end of line connections, deletes very short lines,
and removes duplicate lines.
If two or more line end points lie within the snap tolerance, then the
function will try to move these end points onto the intersection
points of the lines.
All the line ends within this circle
lie within the snap tolerance
Before After
Drawingsnaptidy Drawingsnaptidy
The function will delete all lines shorter than a given length. Type a
minimum line length and press [Enter] or click on . If you do not
want to delete any very short lines, give a length of zero.
If you simply want to use Drawingsnaptidy for removing duplicate
lines, you can set the minimum line length to "0".
AllyCAD will prompt:
Remove overlapping lines?
Click on the YES button if you want to remove overlapping lines. Else
click on the NO button. Overlapping lines will be removed as follows:
• Exactly overlapping - one line will be deleted.
• Partially overlapping - one line will be trimmed to meet the other.
• Long line completely overlapping short line - the short line will be
deleted.
AllyCAD will prompt:
Enter polygon within which to Snaptidy
Draw a polygon around the area within which the snap tidy
operation is to be applied.
In some cases, for example where there are three or more lines that
do not intersect at the same point, the function may not be able to
join the lines. In such cases you may have to use the Modify ► Trim,
Modify ► Divide/Extend or Modify ► Move Point functions to join them.
AllyCAD will continue prompt:
Enter polygon within which to Snaptidy
Procedure
The CAD will prompt:
Delete line segments after adding to polyline (else retain)
If you want to delete the converted line segments click on the YES
button, else click on the NO button to retain the line segments.
The CAD will prompt:
Indicate start of polyline
The cursor will switch into point snap mode. Position the cursor near
to the start of a series of lines and click. The program will track along
the series of lines and convert each segment into a polyline vertex. If
it is unable to pick up the lines the following error message will be
displayed:
The polyline is created in the current layer using the current pen
and line type.
Procedure
Select arc to convert
Indicate an arc to have it drawn over with lines on the current layer
and with pen 1. The number of lines drawn is determined by the
CAD.
The program repeats for multiple arcs.
Expand
Automatically produce a detailed view.
If you would like the box or circle to be drawn around the detailed
view as shown above click on the YES button.
A box representing the size of the detailed view appears. Move this to
a suitable position on the screen and press [Enter] or click. The
detailed view is drawn.
AllyCAD will prompt:
Magnified Layer
Anything that you subsequently draw onto the layer that the detailed
view is on will have the magnification that you give here. For
example, if the drawing scale is 1:1, and you give a magnification of
2, anything else that you draw on this layer will be drawn at a scale
of 1:0.5.
A box representing the size of the detailed view appears. Move this to
a suitable position on the screen and press [Enter] or click. The
detailed view is drawn.
AllyCAD will prompt:
Do you want an arrow joining the two circles
If you want to join the two circles with an arrow, click on the YES
button, otherwise click on the NO button.
AllyCAD will prompt:
Anything that you subsequently draw onto the layer that the detailed
view is on will have the magnification that you give here. For
example, if the drawing scale is 1:1, and you give a magnification of
2, anything else that you draw on this layer will be drawn at a scale
of 1:0.5.
General
If you have placed the detailed view onto the same layer as the rest of
your drawing, it is important that you type a magnification of "1" so
that anything else you draw on the layer is not drawn at the wrong
scale.
If you want to add dimensions to the detailed view, you should
accept the default magnification, which is the magnification of the
detailed view. This will ensure that the dimensions are correct.
Accept the magnification you type by clicking on or pressing
[Enter].
Bitmap List, lists all the bitmaps currently loaded in the drawing as
well as their drawing paths, as shown below:
Locate Text
Locates text in a drawing.
Procedure
Select the option Locate Text in the Tools menu. AllyCAD will prompt:
Enter text to search for (Wildcards * and ? are accepted.
Search is case insensitive)
Enter the text you are looking for using wild cards if necessary e.g. to
search for the text “Bend Angles”, type “Bend*” (quotation marks are
not needed) and click the tick. AllyCAD will then zoom to the
selected text and prompt:
Text located! Continue with search ?
Properties of objects
Each object has a name, a parent name, a hook point and a snip box
associated with it. Some objects may also have attributes associated
with them.
Object and parent names can be up to 15 characters in length.
Object Name
To change the object and/or parent names of an existing object, use
the Objects ► Edit Object ► Change Name function.
Hook Point
The object's hook point acts as a reference point. For example, if you
import an object from one drawing into another drawing as a symbol,
the object will appear in the second drawing with its hook point at
the cursor position.
Because of the way that the CAD can automatically rotate and snip
around symbols when they are inserted into drawings, you should
position the hook point on the left of the symbol.
Use the function Objects ► Edit Object ► Change Hook Point to change
the position of the hook point.
Attributes
Attributes are pieces of information that can be attached to an object
if the object is created using the Make Symbol method (see Grouping
Primitives into Objects).
An attribute for the window might be that it is to be manufactured
from aluminium. An attribute for the fuse might be that its current
rating is 5 Amps.
Attributes are only used if the object is imported into another
drawing as a symbol. As the object is imported, you will be asked if
you want to change the attribute value associated with the symbol.
For example, you may be importing a fuse whose rating is 2 Amps
rather than 5 Amps.
This is because of the way that AllyCAD can automatically rotate and
snip around symbols when they are inserted into drawings.
Note the following points:
• AllyCAD positions the object's hook point automatically. When
you have finished creating the object, you may want to position
its hook point manually. To do this, use the Objects ► Edit
Object ► Change Hook Point function.
• If you are going to use the object as a symbol, you should
position the hook point at the left hand end of the symbol
because of the way that AllyCAD can automatically rotate and
snip around symbols when they are inserted into drawings.
• When you use Begin New Object to create an object, the object's
snip box will fit exactly around the extreme edges of the object.
No attributes will have been assigned to the object.
When you have created the object, you will be able to select the
entire object at once by clicking on it with the Select cursor. If you
want to select a single primitive within the object, you must explode
it first using Objects ► Explode Object.
Type a name for the object and click on or press [Enter]. You only
need to type the object's name. Do not type a parent name. From
now on, all the primitives that you draw will be grouped into an
object with this name until:
• You create another object using Begin New Object, Group Into
Object or Make Symbol.
• You use a function that automatically starts a new object or you
make the object too big (65000 bytes - roughly 1070 lines or 750
arcs). In either of these cases, AllyCAD will automatically start a
new object.
• You change the current object (the object you are currently
drawing) using the Select Current Object function.
• You change layers.
This function groups drawing primitives into objects after they have
been drawn. You must select the drawing entities using the
Edit ► Select or Edit ► Selection Filters commands. If you have not
selected any entities AllyCAD will change into selection mode. Select
the entities.
AllyCAD will prompt:
Enter name for new object
Type a name for the object and click on or press [Enter]. You only
need to type the object's name. Do not type a parent name. The
selected primitives will be highlighted, and will be grouped under the
name you have typed.
Type the name of the layer you want to display the objects from and
click on or press [Enter]. To show objects from all layers type * and
click on or press [Enter].
AllyCAD will prompt:
What object names do you want to show (‘*’ for all objects)
You must type both the parent name and the object name of the
objects you want to show. Names are case-insensitive. Wildcards
may be used.
will select all objects with the parent name SHAPES, such as
SHAPES CIRCLE, SHAPES TRIANGLE, etc.
Typing:
* CIRCLE
will select all objects called CIRCLE, whatever their parent names
are.
Typing:
* *
where SHAPES is the parent name, CIRCLE is the object name and
the layer is A. Hatch index 0 indicates that the object is not a hatch
perimeter.
The next object will display the following on the prompt area:
SHAPES RECTANGLE layer A hatch index 0
where A is the parent name, P5 is the object name and the layer is A.
Hatch index 1 indicates that the object is a hatch perimeter and that
the hatch pattern it contains is number 1, i.e. the first in the list of
hatch patterns.
When the current object is displayed, the words “current object” are
shown.
This function creates an ASCII file that lists the objects in your
drawing.
A typical file extracted from the drawing above would look like this:
If you want to list all the objects in your drawing, click on the YES
button. If you only want to list the objects in the visible layers, click
on the NO button.
AllyCAD will prompt:
Do you want areas and perimeters calculated automatically
If you click on the YES button, AllyCAD will calculate areas and
perimeters. If you click on the NO button, perimeters and areas will
not be calculated.
The object listing is saved to an ASCII file that can be viewed using
any text editor such as the Windows Notepad.
Type the object name of the object you are about to create and click
on or press [Enter]. Do not type a parent name.
Enter symbol hook point
The hook point is the insertion or reference point of the object that
you will use to position the object when you place it on another
drawing. You should choose it carefully and position it accurately for
the best results.
AllyCAD can automatically rotate a symbol and snip around it when
it is inserted into drawings. It is therefore preferable that you
position the hook point on the left of the symbol.
This will be the default value of the attribute. For example, you might
type "WOOD" as the material a window is made out of, or "3 AMP" for
the current rating of a fuse.
If you are going to create a bill of materials, the attribute default
value must be in a particular format:
attribute=default value
Position the cursor where you want the attribute to be placed and
press [Enter] or click. A diamond is displayed.
If the attribute is displayed as text when you place the symbol into
another drawing the attribute position defines where the text will be
placed.
Type the name for a new object and click on or press [Enter]. To
stop making symbols leave the Control Bar blank and click on or
press [Enter].
Refer to Tools ► Bill of Materials for details on how to edit and delete
attributes once you have attached them to a symbol.
When you have created the object using Make Symbol, you will be
able to select the entire object at once by clicking on it with the
Select cursor. If you want to select a single primitive within the
object, you must explode it using Objects ► Explode Object.
Change Name
Change the object name
Select by cursor
AllyCAD will prompt:
Select object for name change
Select by Name
AllyCAD will prompt:
Enter object name to be changed or select object with cursor
Type over the word "Cursor" with the name of the objects whose
names you want to change. All object names are written in upper-
case letters. For example, suppose you have ten objects with the
parent name ASSEMBLY and the object name BOLTM6. If you type:
ASSEMBLY BOLTM6
the names of all ten objects will be updated at once to the new name.
Wildcards may be used. For example, if you type
ASSEMBLY *
all objects with the parent name ASSEMBLY will be updated to the
new name, regardless of their object names. If you type
* BOLTM6
all objects with the name BOLTM6 will be updated to the new name,
regardless of their parent names. If you type
* *
Type the new parent and object names and click on or press
[Enter].
This function changes the default parent name. When you create a
new object it is given the default parent name until you change it
again.
To change a parent name that has already been assigned to an
object, use the Objects ► Edit Object ► Change Name function.
AllyCAD will prompt:
Enter new parent name
Type the new default parent name and click on or press [Enter].
Position the cursor near the object that needs a new hook point and
press [Enter] or click. The cursor jumps onto the object's current
hook point.
AllyCAD will prompt:
Enter new hook point
If you are going to use the object as a symbol, you should position
the hook point at the left hand end of the symbol because of the
way that AllyCAD can automatically rotate a symbol and snip
around it when it is inserted into a drawing.
Position the cursor near another object that needs a new hook point
and press [Enter] or click. Alternatively cancel the function by
choosing another function, pressing the [Space Bar], clicking on
Done or .
This is a safety measure. Click on the YES button if you are quite
sure you want to update the objects, or on the NO button if you want
to abort.
Enter point on current object where reference points on old
objects must be
Click on the object you wish to search for and AllyCAD will count
objects with the same name and respond with a message similar to
this:
All newly drawn primitives are added to the current object. If you
want to add to an object that already exists, you should first choose
that object as the current object.
Another use is in Objects ► Update Objects. Here the current object is
used as the template for the other objects with the same name.
AllyCAD will prompt:
Select object to become current object
Position your cursor onto the object that must become the current
object and press [Enter] or click.
You can create a block from any selected entities on a drawing. When
you create a block, the selected entities are grouped into a named
block, and moved to the invisible block part of drawing memory.
To see the entities in the block again you need to insert it with
Objects ► Insert Block.
AllyCAD will prompt:
Enter name for new block.
Move your mouse to the position where you want the hook point to
be. Click.
If you have not selected any entities AllyCAD will prompt:
Select single entity ([SHIFT] for multiple selection)
Select the entity or entities to include and click. The selected entities
are highlighted. Click on Done.
The selected entities are highlighted. Click on DONE. The selected
entities will be made invisible and moved to the block part of drawing
memory.
Position your mouse to the position where you want the insertion
point to be. Click.
AllyCAD will prompt:
Enter point to be scaled
You can now scale the block dynamically or type in exact scaling
factors in the Control bar.
AllyCAD will prompt:
Enter point that must rotate
The drawing settings can be set before you start drawing or changed
at any time during drawing. The following dialog box is displayed.
Paper Size
This allows you to set the paper size and orientation.
Size
Select the paper size you require from the list.
The paper border is represented on the drawing area as a purple box.
The centre of this box will always correspond to the coordinate "0,0"
if you are using Cartesian coordinates, or to the coordinate you have
specified as the screen centre if you are using Surveyor coordinates.
Refer to Coordinate System for more details.
If you change to a larger paper size in mid-drawing (e.g. from A4 to
A3), the objects you have drawn will take up a smaller proportion of
Orientation
Click on Portrait if you want your drawing to be oriented so that the
sheet is tall, or on Landscape if you want it wide.
Scale
The current scale is displayed. There are three scale types:
• Architectural
• Engineering
• Metric/Custom
Select the option you want from the Type list box.
Metric/Custom
Setting your drawing scale and units using the Metric/Custom
option is best described using the following three examples.
Example 1:
To draw at a scale of 1:1 in millimeters set up the drawing scale as
shown below:
Architectural
If you select this scale type the Drawing Settings dialog box changes
to look like this:
You can select a standard scale from the list of scales that appears,
e.g. 1” = 1’. The first number (1”) is a length on paper. The second
number (1’) is the equivalent length in real life. When you select a
standard scale from the list box, the Scale Ratio box automatically
updates. For example, if you have chosen a standard scale of 1” = 1’,
the scale ratio will automatically update to 1:12.
Alternatively you can type a scale ratio directly into the Scale Ratio
box. For example, if you type “1”, the scale will be 1:1. If you type
“12”, the scale will be 1:12, etc.
In the Architectural option drawing units are automatically set to feet
and inches. However, you can determine the denominator you want,
or set the inches to decimal by selecting the Metric/Custom option,
clicking on the Drawing Units button, selecting feet inches as the
unit, selecting the denominator, then reselecting the Architectural
option.
Engineering
This scale option is similar to the Architectural option with the
following differences:
• The standard scales listed in the standard scales list box are
different.
• It allows you to use decimal feet and decimal inches as well as
feet and inches. You can swap between units by selecting the
Metric/Custom option, clicking on the Drawing Units button,
selecting the units you want, then reselecting the Engineering
option.
If you change to a smaller scale (e.g. from 1:1 to 1:10), the objects
you have drawn will take up a smaller proportion of the paper. You
can see the appearance of the re-scaled drawing if you do a Zoom
Paper. This zoom displays your entire sheet of paper on the screen.
Similarly, if you change to a larger scale (e.g. from 1:10 to 1:1), the
objects you have drawn will take up a larger proportion of the paper,
and may even overlap the edges. If this is the case, do a Zoom All to
see the whole drawing in relation to the paper size represented by a
purple box.
In either case, you may want to change the paper size so that your
drawing fits the paper appropriately.
Drawing Units
To change units, set the scale type to "Metric/Custom". The currently
selected linear unit is displayed on the Drawing Units button. To
change linear or area units, click on this button, and the Change
Units dialog box appears.
Unit Symbol
The default symbol for the selected unit is displayed. You can type
any symbol to represent any unit here.
Area Units
These are the units of area measurements in the Tools ► Polygon Area,
Tools ► Bill of Materials and Objects ► List Objects functions. The choices
are as follows:
• User defined
• Square inches
• Square feet
• Square yards
• Acres
• Square miles
• Square mm
• Square cm
• Square m
Changing Units
If you change linear units in the middle of a drawing, existing
dimensions will not be automatically updated to the new units. All
subsequent dimensions, however, will be displayed in the new units.
This is an advantage to some people who want to display both
imperial and metric units on the same drawing.
If you change units in the middle of a drawing and you want to
update the dimensions you have already drawn to the new units, you
must do the following once you have changed units. First select your
entire drawing using Edit ► Selection Filters with the "Select All" option.
Then use the Modify ► Scale to scale the drawing by "0.5 0.5". Finally,
use the Modify ► Scale function again to scale the drawing by "2 2".
The dimensions will have been updated.
+y
-x +x Cartesian
-x
+x
Number of Decimals
Here you define the number of decimal places required for the
coordinate display. The maximum number is 15.
You can also set a negative number of decimals, so that AllyCAD will
only be accurate to the nearest 10 (-1 decimals), 100 (-2 decimals)
etc.
Isometric Grids
If the Isometric Grids box is checked, certain functions will behave in
a particular way.
Angular Units Click on the arrow to change the units. You have a choice of:
• grads
• radians
• decimal angles
• degrees minutes and seconds
Degrees, minutes and seconds can be displayed in three ways:
• degrees.minutes.seconds
• degrees°minutes'seconds"
• Ndegrees°minutes'seconds"W
Number of Specify the number of decimals to be displayed.
Decimals
Zero Point Specify the position from which angles will be measured during
the Polar Move and survey dimension functions
Measure specify the direction in which angles will be measured
ClockWise /
CounterClockWise
or as
12.345678
or as
12.3456/1
The default view settings that are loaded each time you enter
AllyCAD or select File ► New are stored in a drawing called
STARTUP.DRG.
The following dialog box is displayed:
Show Coordinates
If checked coordinates are displayed at the bottom right of the
screen. Either absolute or polar coordinates can be displayed.
By default, absolute coordinates are displayed. These show the x, y
location of the cursor on the screen. The order and decimals of the
coordinate display are set in Drawing Settings.
Polar Coordinates
This option works in conjunction with the Show Coordinates option.
If this is checked the coordinates that are displayed will be polar, ie.
the distance and angle from the last fixed point. The format of the
angle display is determined by the Drawing Settings.
Background Colour
This option allows you to change the background colour of the
drawing area. When you click on the button, a colour palette is
displayed. Select the colour you want.
Annotation to Draw
This allows you to select which annotations will be displayed on the
screen. This can result in faster screen redraws. All annotations will
be printed regardless of this setting.
None
No annotations will be displayed.
A Text Only
More Text
Dimensions will be switched off.
Text
Big Cursor
Ruler
If this option is checked, the Ruler Bar will be displayed across the
bottom of the drawing area.
Bitmaps to Draw
When you load a bitmap you can specify that it must be displayed as
a placeholder or in full detail. If you specify a placeholder it will be
displayed as a cross-hatched rectangle. This speeds up redraws.
This option allows you to display all the bitmaps in your drawing as
placeholders or in full detail, regardless of how you loaded them.
None All bitmaps will be displayed as placeholders
All All bitmaps will be displayed in full detail
Normal The bitmaps will be displayed as you specified when you
loaded them
Position the cursor where you want the new centre of the paper to
be. Press [Enter] or click.
If you are using Cartesian coordinates, this position will be at
coordinate position "0 0" after re-centering. If you are using Surveyor
coordinates, it will retain its current coordinates, although it will be
moved to the centre of the paper.
Type the correct size (0 for A0, 1 for A1 etc.) and click on . A list of
all the paper sizes can be found under the NEWSCALE function in
the Macro chapter.
AllyCAD will prompt:
Enter scale 10 for 1:10, .1 for 10:1 etc.
This option changes the magnification factor used in the Magnify and
Demagnify functions.
AllyCAD will prompt:
Enter new magnification factor
This option allows you to change the current line style of lines, arcs,
including ellipses, circles, splines etc. You can specify an actual line
colour and line type, or can choose to set the line colour and line
type "By Layer", i.e. all the entities in a particular layer will be drawn
in a specified color and line type for that layer.
When you change the line style the Polyline defaults are also
automatically changed. You can also use this function to change the
line style of existing entities.
When you select Line Defaults, the following dialog box is displayed.
Line Type
Click on the arrow to display a list of available line types.
Pen
Click on the button to display the color palette to change the line
color.
Width
Type the width of the line. If you set line width to "0", you can assign
each pen a width when you print.
Units
Specify the units used to measure the line width. The units may be
in mm, inches or points.
You can also match the line style of an existing line by placing the
cursor on it then pressing [T] on your keyboard. The dialog box will
automatically be updated so that subsequently drawn lines and
arcs will have the line style of the existing line.
Apply
This option allows you to change the style of all the selected entities.
You may select one or more entities to be changed. Once you have
clicked on the Apply button you can specify which attributes must be
updated as shown below.
All subsequently drawn lines will also be drawn using the newly
selected defaults.
This option allows you to change the line style of polylines (including
Bezier curves). You can also change the style of existing polylines
and Bezier curves.
When you change the polyline defaults the line defaults are
automatically changed accordingly.
The following dialog box is displayed:
Line Type
Click on the arrow to display a list of available line types.
Pen
Click on the button to display the color palette to change the polyline
color.
Polyline Type
Polylines may be straightforward (without a spline), a 3 point Bezier
curve or a 4 point Bezier curve.
Width
Type the width of the line. If you set line width to "0", you can assign
each pen a width when you print.
Units
Specify the units used to measure the line width. The units may be
in mm, inches or points.
Closed
If this option is checked the last vertex will be joined to the first
vertex to form a closed polygon.
Fill Settings
This option allows you to hatch the polyline.
Take From
This option allows you to match the line style of an existing polyline
or Bezier curve. The polyline must be selected before you activate the
polyline defaults.
Apply
This option allows you to change the style of all the selected entities.
You may select one or more entities to be changed. Once you have
clicked on the Apply button you can specify which attributes must be
updated as shown below.
All subsequently drawn polylines will also be drawn using the newly
selected defaults.
This option allows you to specify the number and style of parallel
lines.
The following dialog box is displayed.
Draw Fresh
Check this option if you want to draw parallel lines from scratch, i.e.
not around an existing perimeter, by defining the reference line.
When you draw fresh lines, only one line is displayed as you draw
using Draw ► Parallel Line. This line is called the setting out or
reference line. The other parallel lines are drawn relative to it once it
is complete.
When you select the Draw ► Parallel Line option you will enter the
Perimeter Menu on the Control Bar. Define the existing perimeter to
use and click on .
Line-arc-line
This option allows you to draw a fresh sequence of parallel lines and
arcs as shown below.
Select Draw ► Parallel Line and define the line arc line sequence that
makes up the setting out or reference line. When you stop the
function the parallel lines and arcs will be drawn.
Parallel lines
In this diagram there are two parallel
Setting out line or lines.
perimeter
Line Type
Click on the arrow to display a list of available line types.
Width
Type the width of the line in millimeters. If you set line width to "0",
you can assign each pen a width when you print.
Offset
The parallel lines are offset relative to the setting out or reference
line. It is measured in the units specified in the Drawing Settings.
Parallel line
If you type a positive offset (e.g. 5), the
Offset parallel line will be drawn to the right of
the setting out line in the direction you
Setting out line are drawing…
End
45°
Start In this example, the starting and ending
angles for the parallel lines were 135
degrees for the start angle and 45
Di r
ect degrees for the end angle.
io 135°
no
fd
raw
ing
Filleting Corners
This option allows you to automatically fillet parallel lines on the
outside of corners less than 90 degrees.
The parallel defaults that are loaded each time you enter AllyCAD or
select File ► New are stored in a drawing called STARTUP.DRG. See
Defaults for more details.
The line type dialog box will be displayed. Select a line type and pen
for geometry lines.
Each geometry line can have its own colour but the geometry line
style is global to all geometry. It is not possible to change the colour
of geometry that has already been entered.
All subsequently entered text will be drawn using the text style.
• Modern
• Roman
• Script
The font called Plotter is a screen font, not a plotter font.
Text Height
You can specify the text height in the Set Text Defaults dialog box in
mm, points or inches. To change the units of measurement simply
click on the arrow.
Character Width
This option allows you to change the character width. If it is set to
zero, the default width of the Windows fonts will be used.
For example, suppose you give a line spacing of 3 and the text height
is 6 mm. The distance between two lines of text will be 3 x 6 x 1.1 =
19.8 mm.
The 1.1 factor is used because it creates an aesthetic line spacing for
almost all fonts, whereas a factor of 1 causes some fonts to look
squashed.
Angle
This option determines the angle at which text will be placed on the
drawing. Angles are measured in an anti-clockwise direction from
the 3 o'clock position.
Pen
Click on the button to display the color palette to change the text
color. The standard Color Dialog will be displayed.
Text Alignment
This option determines the justification of several lines of text.
Text Frame
Check the Frame option to draw a frame around the text in the same
pen as the text itself.
Check the Background Fill option to fill behind the text item in the
background colour.
Label origin 0 puts the text origin on the decimal point of the text.
This is typically used for displaying levels.
Take From
This option allows you to match the style of an existing text entity.
The entity must be selected before you use this function.
You can also match the style of an existing text entity by pressing
[SHIFT] T on your keyboard. AllyCAD will prompt you for the text
entity you want to take the parameters from. Click on the piece of
text and the current text settings will be updated to match the
indicated text item.
Apply
This option allows you to change the style of existing text entities.
You must first select the text entities using Edit ► Select or
Edit ► Selection Filters. Then use Settings ► Set Text Defaults to set the
text style you require. Click on OK.
You can also edit the style of a single text entity by double clicking
on it. The Text Entry dialog box will be displayed. Click on the Text
Defaults button to display the Set Text Defaults dialog box. Edit the
text as required.
The text defaults that are loaded each time you enter AllyCAD or
select File ► New are stored in a drawing called STARTUP.DRG. See
Defaults for more details.
This function allows you to set the style of new dimensions. The text
font and pen settings are applied to all dimensions in the drawing.
Witness Overshoot
This is the extension of the witness lines beyond the dimension
arrowhead, as shown by the illustration in the dialog box.
Witness Pen
This button allows you to set the pen (colour) of new witness lines
and arrows. Select a colour from the colour palette that is displayed.
The colour of existing witness lines and arrows will not be updated,
but subsequently drawn witness lines and arrows will be in the new
colour.
To change the pen of existing horizontal, vertical and slope
dimensions use Annotate ► Edit Dimension ► Edit Dimension Properties.
Arrowhead Length
length
Arrowhead Width
width
length Arrow
The arrowhead is drawn in the
width
conventional manner.
length
Blob
The arrowhead width is set to zero and
the arrowhead is drawn as a blob with
the diameter equal to arrowhead length.
Slash
The arrowhead length is set to zero and
width the arrowhead is drawn as a slash with
the length equal to the arrowhead
width.
Dimension Style
This section allows you to set the dimension style to one of the
following:
Mechanical Style
The dimensions are drawn in running,
chained or free mode with variable
18.0 witness line lengths depending on the
34.2 position of the dimension text.
49.9
Number Decimals
Here you specify the number of decimals that will be displayed on a
dimension. The maximum number is 16.
If you set the number of decimals to 2, then 12.3456 will be
displayed as 12.35 (rounding to the nearest number). However, an
exact number will be displayed without trailing decimals, for
example, 12.000 will be displayed as 12.
You can also set the number of decimals to a negative number to get
rounding to tens or hundreds. For example, if you set the number of
decimals to -2, then 1234.45 will be displayed as 1200 (rounding to
the nearest 100). If you set the number of decimals to -1 then the
number will be displayed as 1230.
Dimension Text
This section allows you to specify the text parameters of the
dimension. These settings will be applied to all dimensions in the
drawing, both existing and new. Refer to Set Text Defaults for details.
Text Height
Here you can specify the size of the dimension text.
Linefeed
Specify the distance between subsequent dimension lines in running
dimensions.
Text Pen
This option allows you to specify the dimension text pen or colour.
This function allows you to set the parameters of new and existing
survey dimensions.
The following dialog box is displayed:
24
25. 0'40"
the bearing direction, even if this means
0
1
°
36. 3'20"
5
2
15 0°5 that it is sometimes upside down.
338
0" °23 Text is always upright
1'4 25.1 '40"
°4
33 24.6
The dimension text will always be the
25. 0' 40"
150
°5 right way up, regardless of the bearing
2
°5
0"
10°25'2 Bearing on top, Distance on bottom.
40.9
8.55"
10°25'1 Round to 0 seconds.
40.9 m
0"
10°25'2 Round to 10 seconds.
40.9
This function allows you to set the style of new arrows or change the
style of existing arrows created by Annotate ► Add Arrow and
Annotate ► Add Balloon. Double-click on an arrow to change it’s style.
All subsequently drawn arrows will also be drawn using the newly
selected defaults. It does not change the style of dimension arrows.
The following dialog box is displayed:
Arrow Style
This option allows you to set the style of the arrowhead to one of the
following:
length Arrow
The arrowhead is drawn in the
width
conventional manner.
length
Blob
The arrowhead width is set to zero and
the arrowhead is drawn as a blob with
the diameter equal to arrowhead length.
Arrowhead Length
length
This defines the length of the arrowhead
in the specified units.
Arrowhead Width
Pen
This button allows you to set the pen (colour) of new arrows. Select a
colour from the colour palette that is displayed.
The arrow defaults loaded when you enter AllyCAD or select the File
► New option are stored in the STARTUP.DRG.
This function allows you to specify the default balloon size, the
number of text lines, and whether an arrow is to be added or not. All
balloons drawn subsequently will use these settings.
The line style of the circle enclosing the balloon text is defined by the
Line defaults.
The text style of the text inside the balloon is determined by the Text
defaults.
The arrow style is determined by the Arrow defaults.
The balloon defaults that are loaded each time you enter AllyCAD or
select the File ► New option are stored in the STARTUP.DRG.
This option allows you to map the 16 pens in AllyCAD for DOS to the
255 pens in AllyCAD. Similarly you can map the DOS line styles to
AllyCAD.
Temp Path
Specify the where temporary drawing files must be stored. If you are
working on a network be sure to specify a local hard drive for
optimum performance.
Allocate
AllyCAD will ask the operating system for the specified amount of
memory and then start to save its temporary files to disk. This can
be more efficient than the Windows swap file for large drawings.
If you experience a lot of disk thrashing, i.e. AllyCAD seems to be
accessing the hard disk continuously, reduce the allocated memory.
Digitizer Test
This option allows you to test the digitizer settings. When you click
on Test, the message
Move Puck/Pen over tablet for 5 seconds without pressing a
button
Type a distance and press [Enter] or click on . Any point within this
minimum distance will be ignored. The minimum distance you
choose will depend on the drawing or map you are digitizing.
Depending on your scale, it could be anything from a millimetre to
kilometres.
The example above assumes that your digitizer numbers its puck
buttons 1, 2, 3 and 4. If it doesn't, substitute the appropriate
numbers (see Digitizer Test).
Refer to Functions in the CAD.MEN section for more details.
This function allows you to set a number of options that control the
operation of AllyCAD.
System Settings
Here you toggle the following options:
Default Editor
In this box you can set a different editor by typing the new name.
This editor is used for the edit macro function
This page allows you to set parameters affecting the bitmap tiling.
Whatever you draw is placed on the current layer. Use this function
to make another layer current.
Click on the layer that must become the current layer. The new
current layer will be highlighted. Click on OK to exit.
When you start a new drawing with AllyCAD, only one layer, "0", will
exist. To add further layers or to rename layers refer to Layer
Control.
The current layer (the layer you are working on) is marked by an
asterisk. If you only want to display the current layer, click on the
[Current Only] button.
If you want all layers to be displayed on the screen, click on the [All]
button.
You can change the current layer by clicking on the [Set Current
Layer] button.
If you only want to display a few layers, ensure that the layers you
want to display are highlighted. To highlight a layer, click on it. To
highlight more than one layer, press [CTRL] while you click on the
layers you want to display. If a layer that you do not want to see on
the screen is highlighted, press [CTRL] and click on it. The highlight
will disappear.
The Layer Settings dialog lists the layers defined on your drawing in
a table as shown below. For each layer, it shows the layer's name,
whether it is visible, whether it is locked, the layer magnification
factor, the pen, line type and line width associated with the layer if
you are using the ByLayer line style.
The current layer text is displayed in blue. Everything you draw is
drawn onto the current layer.
Layer Name
The layer name will automatically appear in upper case. It can be up
to 31 characters long.
Visible Layers
Visible layers are the layers that are actually displayed on the screen.
They are marked by the word "Yes". To toggle the layer visibility
simply right click in the Vis column.
Layer Magnification
Normally, layer magnification is 1. However, each layer can be
assigned a different magnification with respect to the scale of the
drawing. For example, suppose the drawing is at a scale of 1:10. If
you assign a magnification of 2 to a layer, anything drawn on that
layer subsequently will be twice the size, i.e. at a scale of 1:5. If you
assign a magnification of 0.5 to a layer, anything drawn on that layer
subsequently will be half the size, i.e. at a scale of 1:20. This allows
you to have several scales on one drawing.
To Edit a Layer
Simply type in a new layer name and change any of the other layer
settings in the table.
To Add a Layer
By default, AllyCAD has just one layer, "0". You can add up to a total
of 65,000 layers.
To add a layer, simply scroll to an empty row below the currently
displayed layers, right click and fill in the new layer details.
To Delete a Layer
Position the cursor on the layer to be deleted and right click with
your mouse. A menu list will be displayed. Select the Delete layer
option. The layer data will be displayed in a faded gray colour to
show that it is marked for deletion. The layer and all its contents will
only be deleted when you close the Layer Settings dialog with the OK
button. If don’t want your changes to be click the Cancel button.
Layer Highlight
This section controls how layers will be highlighted on the screen.
None
If you check this option, no layer will be highlighted.
Pen 8
If you check this option, all the layers except the current layer (the
one you are working on) are drawn in a dotted line type. This option
is useful for drawing in the current layer with reference to the other
layers, but without these other layers being intrusive.
Operate on
This option determines whether you can work on all the layers or
only on a subset of layers.
All Unlocked Functions will operate on all layers that have not been locked
Current only Functions will only operate on the current layer
Procedure
AllyCAD will display the standard Windows File Open dialog. Select
any drawing from the directory containing the AllyCAD drawings and
click Open.
AllyCAD will prompt:
Would you like to edit list file?
Select Yes if you would like to add or remove drawings from the
drawing list. Select No if you would like all of the AllyCAD drawings
printed in the specified directory.
If you selected Yes AllyCAD will display the following prompt:
Save & Close notepad when finished editing before clicking
OK
Ensure that you have saved any editing changes first as the AllyCAD
will start printing as soon as you click on OK.
Procedure
AllyCAD will display a list of files that can be
converted. Select the file type you wish to convert.
Procedure
AllyCAD will prompt:
Set text defaults?
Select Yes to change the existing text defaults and No to use the
current default settings.
The standard File Open dialog will be displayed. Browse to select the
Excel file you want to copy to the drawing. A message box will be
displayed with:
"<filename>.xls
Allow enough time for the Excel spreadsheet to open before clicking
OK. AllyCAd will prompt:
Enter row for first cell number to read from (eg 6)
Enter the number of the first row you want data copied from.
AllyCAD will then prompt:
Enter column for first cell number to read from (eg A)
Enter the number of the first column you want data copied from.
AllyCAD will prompt:
Enter row for last cell number to read from (eg 20)
Enter the number of the last row you want data copied from. AllyCAd
will prompt:
Enter column for last cell number to read from (eg AB)
Enter the number of the last column you want data copied from. Now
AllyCAD will prompt:
Indicate position for table
Indicate the position on the drawing where you would like the Excel
data to be placed. AllyCAD will prompt:
Enter the width of the data column. The data will be placed in the
drawing as text items using the current text defaults.
Procedure
AllyCAD will prompt:
Indicate position for the plots drawing status
Procedure
AllyCAD will prompt:
Select first line (Space to exit)
Click No to divide the included angle and Yes to divide the obtuse
angle.
Is displayed check that the lines subtending the angle are two
separate lines and not one polyline.
Divide a Line
Divide a line into equal segments
Procedure
AllyCAD will display the following options list:
Divide Only Divide the selected line into equal segments only.
Divide+Circle Divide the selected line into equal segments marked with
a circle.
Divide+Tick Divide the selected line into equal segments marked with
a tick.
Circle No Divide Mark the selected line with a circle into equal segments.
Tick No Divide Mark the selected line with a tick into equal segments.
Select a line you wish to divide into segments. AllyCAD will prompt:
Enter number of divisions
Enter the number of division you would like. The line will be divided
according to the submenu option selected:
Divide + Circle
This option divides the line into equal segments and marks it with
circles.
Divide + Tick
This option divides the line into equal segments and marks it with
ticks.
Circle No Divide
This option marks the line with circles in equal segments without
dividing it.
Tick No Divide
This option marks the line with ticks in equal segments without
dividing it.
This function totals the lengths of all the lines in a specified layer.
This is extremely useful to determine the total length of say,
electrical cable or sewer pipe.
Procedure
AllyCAD will display the following option list.
Total Length of Lines in a Select this option to display the total line length in a
Layer particular layer.
Write as ASCII File Select this option to write the total line length to an
ASCII file.
View ASCII File Select this option to view the above ASCII file.
If you select Yes the Layer Settings dialog will be displayed so that
you can select a new layer. If you select No the total length of the
lines in the current layer will be calculated.
A message box is displayed with:
If you would like to write the results to an ASCII file select the Write
as ASCII File option.
Select the View ASCII File option if you would like to view the ASCII
file created by the previous option.
Procedure
AllyCAD will prompt:
Hidden layer information?
Answer Yes to display information about which layer you have just
hidden. Answer No to hide the layer with no prompt.
AllyCAD will prompt:
Select object in layer to hide
Select an object in the layer which you wish to hide or else press the
[Space Bar].
This tool converts all line types and pens that have been drawn
ByLayer to normal line and pen numbers. This is mainly used on
imported AutoCAD drawings.
Procedure
AllyCAD will prompt:
Convert all linetypes(255) and pens(256) by layer to normal
line and pen number?
If "Yes" is selected all pens with linetype 255 will be converted to the
linetype in the layer settings dialog and all pen with colour 256 will
be converted to the pen colour in the layer settings dialog (see Layer
Control).
Procedure
AllyCAD will prompt:
Enter lengths of horizontal and vertical lines
Enter the length of the horizontal line and the length of the vertical
line, separated by a space. Then press [Enter].
AllyCAD will prompt:
Click to place CL (spacebar to exit)
Place the CL on the drawing using the mouse. The CL will be drawn
on the current layer using the current pen colour and linetype.
You will be prompted to place the CL repeatedly until you press the
[Space Bar].
Procedure
AllyCAD will prompt:
Enter chamfer value
Enter the value for the chamfer that you wish to apply to the
rectangle’s corners. Then press [Enter].
AllyCAD will prompt:
Indicate position of rectangle 1st corner (spacebar to exit)
Use the mouse to indicate the position of the first corner of the
rectangle.
AllyCAD will prompt:
Indicate position of rectangle 2nd corner
Use the mouse to indicate the position of the opposite corner of the
rectangle.
A chamfered rectangle will be drawn in the current pen colour and
linetype, on the current layer. The chamfered rectangle will be
grouped into an object called “CHAMFERECT”.
This function will repeat until you press the [Space Bar] or [Esc].
Procedure
AllyCAD will prompt:
Enter fillet radius
Enter the radius of the fillet that you wish to apply to the rectangle’s
corners. Then press [Enter].
AllyCAD will prompt:
Indicate position of rectangle 1st corner (spacebar to exit)
Use the mouse to indicate the position of the first corner of the
rectangle.
AllyCAD will prompt:
Indicate position of rectangle 2nd corner
Use the mouse to indicate the position of the opposite corner of the
rectangle.
A filleted rectangle will be drawn in the current pen colour and
linetype, on the current layer. The filleted rectangle will be grouped
into an object called “FILLETRECT”.
This function will repeat until you press the [Space Bar] or [Esc].
Procedure
AllyCAD will prompt:
Indicate an element in the layer you want to change to
Use the mouse to click on a drawing element (line, arc, object etc)
that is on the layer you wish to switch to.
The current layer will be set to the indicated element’s layer.
2. Draw Walls
4. Place Symbols
5. Draw Elevations
8. Draw Stairs
Please make sure that the drawing units are set to "mm"
(millimeters) before using the architectural toolkit functions. In
order to draw house plans the functions must be followed from left
to right on the architectural toolbar or top to bottom in the
architectural menu.
Initialization file path This tells the Architectural Toolkit where to store it's
settings data. The architectural toolkit will not work
correctly if this file has not been specified. AllyCAD is
supplied with a standard file "ArchSpecs.ini" situated in
your CAD user directory.
If you wish to switch to an alternate initialization file, you
can browse for it by clicking on the browse button […].
Symbol file path This tells the Architectural Toolkit where the symbol
libraries are stored. The architectural toolkit will not work
correctly if this file has not been specified. AllyCAD is
supplied with a standard symbol libraries in the directory
"C:\AllyCAD34\Symbols" situated in your CAD user
directory.
If you wish to switch to an alternate symbol root
directory, you can browse for it by clicking on the browse
button […]. However the architectural toolkit requires a
"Symbol" root directory as well as "Doors" and
"Windows" child directories otherwise it will not work
properly.
Set building standards... Press this button to display the Building Standards Setup
Dialog.
Procedure
When you select the draw wall function from the toolbar or menu,
the Wall Setup dialog will be displayed:
Drawing method:
The "Draw fresh" is used to draws walls where no track or perimeter
line exists, whereas the "Track line or perimeter" drawing method is
used to track an existing line or perimeter.
Justification:
Selecting "Outside" justification will draw walls outside of the setting
out, tracking or perimeter line whereas "Inside" justification will draw
walls inside of the setting out, tracking or perimeter line. An example
of this is shown below:
Drawing direction:
An "anticlockwise or clockwise" is used to specify the direction in
which you draw your walls. This is used to determine whether the
line is inside or outside justified as mentioned above. The drawing
direction is illustrated in the figures below:
If you modify an existing wall definition, you will be asked to save it.
Select "No" to avoid changing the original wall definition.
Indicate the position where you want start drawing the wall,
remembering to take into account your drawing direction.
Enter next point of line
Note: If you don't stick to the drawing direction you have specified
in the dialog then the wall justification will be incorrect.
Select the auto button and then click on the Accept button in the
perimeter menu. The first prompt will appear again click outside
another perimeter or near another tracking line or press the
spacebar to exit the function.
If you don't click outside the perimeter or on the correct side of the
tracking line the wall justification will be incorrect.
This function is used to add a roof line to a plan. The roof line is
used to draw the roof elevation and cross-sections.
Procedure
When you select the add roof line function from the toolbar or menu,
the Roofline Setup Dialog will be displayed:
Select the drawing pen colour, linetype, layer name and eaves
overhang.
Press OK to draw the specified roof line.
Once the OK button on the Roof Line Setup Dialog is clicked the
perimeter menu will be displayed.
Procedure
AllyCAD will then load the symbol and update the control bar to
show the following:
The cursor will now display the symbol. Position the symbol and
click or press [Enter].
This function is used to draw elevations from the existing plan view.
Procedure
When you select the draw elevation function from the toolbar or
menu, the Elevation Setup Dialog will be displayed:
Click near the wall on the plan from which the elevation is to be
drawn or press the spacebar to exit this function. AllyCAD will then
prompt:
Enter roofline position of elevation (else spacebar to exit)
Click on the windows and door symbols in the selected face on the
plan and they will be inserted into the elevation. When you have
finished selecting doors and windows press the spacebar. AllyCAD
will prompt:
Select outside walls for elevation (spacebar to end
selection)
Click near the walls in the corresponding plan view and they will
appear in the elevation. When you have finished selecting the walls
press the spacebar to end the selection. AllyCAD will then return to
the original prompt (step 3). Click on the drawing and repeat steps 3
to 7 or press the [Spacebar] to exit the function.
Procedure
Before selecting the draw roof function from the toolbar or menu
first make sure that the roof line is switched on as shown in the
figure below:
Figure showing the Layer Settings Dialog with the roof line layer
switched on.
Select the drawing pen colour, linetype, layer names and roof pitch.
Press OK to draw the specified elevation line.
Once the OK button on the dialog has been clicked the following
prompt will appear:
Indicate face on plan for adding roof (else spacebar to
exit)
Click near the wall on the plan from which the elevation is to be
drawn. AllyCAD will then prompt:
Select roof line on elevation (else spacebar to exit)
The cursor will be in ortho hold mode. Select a roof line on an existing
elevation opposite the face on the plan you have selected. AllyCAD
will now prompt:
Select roof lines for this view (else spacebar to exit)
Select any of the roof lines on the plan which will appear in the
elevation. AllyCAD will then prompt:
Select height of side gable (else spacebar for facing gable)
Select a roof line perpendicular to the roof line which you have just
selected which can be used to calculate the height of the roof gable, if
none is selected a facing gable will be drawn.
AllyCAD then return to the first prompt again. If there is more than
one gable repeat steps 6 and 7 otherwise press the spacebar to exit
the function.
This function draws horizontal and vertical cross sections from the
existing plan view.
Procedure
When you select the draw cross section function from the toolbar or
menu, the Cross Section Setup Dialog will be displayed:
4. Indicate the position on the drawing you want the cross section
drawn (shown in the figure above) otherwise press the spacebar
to exit the function. After specifying the cross section position the
following prompt will appear:
The cross indicates the place the user must click to indicate the
inside face of the external wall.
6. Click near the internal wall on the plan view otherwise press the
spacebar if you have no internal walls or have finished selecting
internal walls. The prompt will keep on appearing as long as you
The cursor in the figure below indicates the place where the user
must click to indicate inside face of the far external wall
7. Click near the external wall furtherest from the start of the cross
section on the plan view otherwise press the spacebar to exit the
function. After specifying the external wall position the following
prompt will appear:
Indicate side of line you would like arrow heads placed
(else spacebar to exit)
The cursor in the figure below indicates the place where the user
must click to indicate the side of the section line the arrow heads
need to be placed.
9. Click near the line perpendicular to the truss you want drawn on
the plan so that the height of the truss can be calculated else
press the spacebar if you want a facing truss or a facing and side
truss drawn. If you specify the truss height AllyCAD will return
to the start of the function and you can start another cross
section or exit the function otherwise AllyCAD will prompt:
Select facing truss for facing and side truss (else spacebar
for facing truss only)
10. Click on the plan view near the roof line which represents the
facing truss in the cross secion or press the spacebar if your
The cursor in the figure below indicates the place where the user
must click to indicate the close side truss height
11. Click near the line perpendicular to the truss you have selected
closest to the start of the cross section on the plan so that side
truss height can be calculated otherwise if you press the
spacebar the side truss will have the same height as facing gable.
The cursor in the figure below indicates the place where the user
must click to indicate the far side truss height.
12. Click near the line perpendicular to the truss you have selected
furtherest from the start of the cross section on the plan so that
side truss height can be calculated otherwise if you press the
spacebar the side truss will have the same height as facing gable.
AllyCAD will draw the truss and return to original prompt (step
3) and you can start another cross section or exit the function.
The terms close and far refer points closer or farther from the cross
section starting point on the plan view.
Procedure
When you select the draw stairs function from the toolbar or menu,
the Stairs Setup Dialog will be displayed:
Firstly measure length needed for staircase in the plan view and the
height needed for the straight section in the elevation which you are
going to place the stair section. Make the necessary adjustments in
the treads setup page by adjusting the number of treads, rise, going
and tread width and checking that the staircase length and height
correspond to the length and height you have just measure in the
plan and elevation views.
Once you click the OK button on the Stairs Setup Dialog. AllyCAD
will give the following prompt:
Indicate base of staircase on plan (else spacebar to exit)
The cursor will now locked in ortho hold mode. Indicate the direction
you want the staircase drawn by moving in this direction away from
the staircase base point and click on the drawing otherwise press the
spacebar if you want to exit the function. Once you have indicated
the direction you want the staircase drawn AllyCAD will give the
following prompt:
Indicate base of staircase on elevation (else spacebar for
plan)
The cursor will jump to the base of the staircase on the plan and will
still be locked in ortho hold mode. If you want to draw a plan view
press the spacebar and a plan view of the straight section will be
drawn. If you want to draw an elevation indicate the place in the
elevation where you want the base of the staircase placed and an
elevation view of the straight section will be drawn. A plan and
elevation view of the straight section is shown in the figure below.
Once the elevation and plan views have been drawn AllyCAD will
return to original prompt (step 4) and you can start another staircase
view or exit the function.
The figure on the left shows a
plan view of a straight section.
The blue arrow indicates the
base of the staircase on the
plan and the black arrow
shows the direction of the
staircase.
Drawing Landings:
Once you click the OK button on the Stairs Setup Dialog. AllyCAD
will give the following prompt:
Indicate start of landing on plan (else spacebar to exit)
Indicate the start of the landing on the plan otherwise press the
spacebar to exit the function. If you click on the drawing to indicate
the start of the landing AllyCAD will give the following prompt:
Indicate corner of the landing on plan (else spacebar to
exit)
Indicate the end of the landing on the plan otherwise press the
spacebar to exit the function. Depending on where you click in
relation to the start and end points of the landing AllyCAD will draw
either U-shaped, L-shaped and Z-shaped plan view of the landing. If
you click on the drawing to indicate the end of the landing AllyCAD
will give the following prompt:
Indicate base of landing on elevation (else spacebar for
plan)
The cursor will jump to the base of the staircase on the plan and will
still be locked in ortho hold mode. If you want to draw a plan view
press the spacebar and a plan view of the landing will be drawn. If
you want to draw an elevation view, indicate the place in the
elevation where you want the base of the staircase placed and an
elevation view of the landing will be drawn. Once the elevation and
plan views have been drawn AllyCAD will return to the original
prompt (step 4) and you can start another staircase view or exit the
function.
U-shape landing
The figure on the left shows a U-
shape landing with its corresponding
elevation in the south view.
The labels s,c and e indicate the
points in the plan view where the
user specified the start, corner and
end points respectively.
L-shape landing
The figure on the left shows a L-shape
landing with its corresponding
elevation in the south view.
The labels s,c and e indicate the
points in the plan view where the
user specified the start, corner and
end points respectively.
This tool draws cut and fill lines between two straight lines or two
arcs.
Procedure
AllyCAD will display the following list of options:
Lines
AllyCAD will prompt:
Indicate shoulder line (Spacebar to cancel)
Select the shoulder line with the cursor. AllyCAD will then prompt:
Indicate toe line (Spacebar to cancel)
Select the toe line with the cursor. The bank lines will be drawn
according to the current cut and fill settings.
Arcs
AllyCAD will prompt:
Select the shoulder arc with the cursor. AllyCAD will then prompt:
Indicate toe arc (Spacebar to cancel)
Select the toe arc with the cursor. The bank lines will be drawn
according to the current cut and fill settings.
Procedure
AllyCAD will ask:
Use current defaults? (else set defaults)
Select Yes to set the defaults or No to use the existing settings. Refer
to the Set Defaults section for more details.
AllyCAD will prompt:
Pick or add a layer for the manholes and pipes
Select or create a layer from the Layer Settings dialog. Set the layer
to be the Current Layer.
AllyCAD will prompt:
Click on the correct side of the boundary line where you would like
the manhole to be placed. The cursor will snap to the boundary line
at this point.
AllyCAD will prompt:
Press left or right arrow key - enter offset - enter manhole
position
The left or right arrow indicates the direction of offset. Enter the
distance for the offset and press [Enter]. Press [Enter] again to fix the
point where the manhole will be placed.
AllyCAD will prompt:
Enter name for first manhole
Enter a name for the first manhole e.g. a typical manhole name will
be “MH 123”.
AllyCAD will prompt:
Indicate position for manhole label (spaceber for no label)
If you would like a label and arrow pointing to the manhole, indicate
the cursor position with you would like the manhole label to be
placed. Otherwise press the [Spacebar] if you don't want annotation.
If you place a label proceed AllyCAD will ask:
Add an arrow?
If you want to add an arrow pointing from the label to the manhole
select Yes. AllyCAD will ask you to indicate the tail and then the
head of the arrow in the following two prompts:
Indicate position for tail of arrow
Indicate the position of the next manhole and repeat the previous
steps. As you insert the next manhole a pipe will be inserted between
the two manholes. The pattern naming convention is as follows:
Set Defaults
AllyCAD will ask for the following information:
Enter manhole diameter
Select Yes to add a text bubble (circle) to the manhole label. Select
No to just add the manhole label.
Please make sure that the drawing units are set to “mm”
(millimeters) before using the mechanical toolkit functions.
Procedure
Select Setup from the Mechanical Toolkit menu. AllyCAD will display
the Mechanical Toolkit Setup dialog:
You can set the line colours and styles with which the mechanical
toolkit components will be drawn. The colours and styles for Solid
lines (outlines), Hidden lines and Center lines are specified
separately.
All configuration data for the Mechanical Toolkit is stored in a
“configuration file”. This is usually “ISO Mechspecs.ini” in your
AllyCAD user directory. The Mechanical Toolkit will not function if
this file is missing or incorrectly specified. It is advisable to make a
backup copy of this file before changing any Mechanical Toolkit
settings.
Should you have an alternative configuration file that you wish to
use with the Mechanical Toolkit, then click on the browse button […]
to specify it.
You can also set defaults for the mechanical toolkit annotation
functions (welding, tolerance and surface finish), by clicking on the
Annotation Setup button, which will display the Annotation Setup
dialog:
Procedure
Select Fasteners ► Hex Bolts in the Mechanical Toolkit menu.
The Hex Bolts dialog will be displayed:
Select a predefined bolt from the drop-down list at the top-left of the
dialog, or change the bolt dimensions to your needs.
If you modify an existing bolt definition, you will be asked to save it.
Select No to avoid overwriting the original bolt definition.
To draw the bolt, click on OK. If you have ticked the option to draw
the side view, AllyCAD will prompt:
Indicate the bolt position on the thread side of a line
(else spacebar to stop)
Indicate the position of the bolt side view. If the position indicated is
near a line, the bolt will be drawn aligned with that line, on the side
of the line that you have indicated.
If you have ticked the option to draw the plan (top) view, AllyCAD will
prompt:
Indicate the bolt centre for the plan view (else spacebar to
stop)
Indicate the position of the bolt plan view. AllyCAD will then ask:
Indicate point on bolt center line (spacebar to stop)
The bolt plan view will be rotated so that it’s center line goes through
the point you indicated. If you indicate the same point as the plan
view position, it will not be rotated.
Procedure
Select Fasteners ► Hex Nuts from the Mechanical Toolkit menu. The
Hex Nuts dialog will be displayed:
Select a predefined nut from the drop-down list at the top-left of the
dialog, or change the nut dimensions to your needs.
Select which view of the nut you wish to draw (top view, side view, or
both views), and which linetype to use for each view of the nut.
If you modify an existing nut definition, you will be asked to save it.
Select No to avoid overwriting the original nut definition.
To draw the nut, click on OK. If you have ticked the option to draw
the side view, AllyCAD will prompt:
Indicate the nut position on the thread side of a line (else
spacebar to stop)
Indicate the position of the nut side view. If the position indicated is
near a line, the nut will be drawn aligned with that line, on the side
of the line that you have indicated.
If you have ticked the option to draw the plan (top) view, AllyCAD will
prompt:
Indicate the nut centre for the plan view (else spacebar to
stop)
Indicate the position of the nut plan view. AllyCAD will then ask:
Indicate point on nut center line (spacebar to stop)
The nut plan view will be rotated so that it’s center line goes through
the point you indicated. If you indicate the same point as the plan
view position, it will not be rotated.
Draws various types of cap screw in side or plan view at any angle.
The dimensions for drawing the screws are stored in an editable text
file.
Indicate the position of the screw side view. If the position indicated
is near a line, the screw will be drawn aligned with that line, on the
side of the screw that you have indicated.
If you have ticked the option to draw the plan (top) view, AllyCAD will
prompt:
Indicate the screw centre for the plan view (else spacebar
to stop)
Indicate the position of the screw plan view. AllyCAD will then ask:
Indicate point on screw center line (spacebar to stop)
The screw plan view will be rotated so that it’s center line goes
through the point you indicated. If you indicate the same point as
the plan view position, it will not be rotated.
Draws various types of rivet in side or plan view at any angle. The
dimensions for drawing the rivet are stored in an editable text file.
Snap Head
Side View
Pan Head
Side View
Mushroom Head
Side View
Flat Head
Side View
Side View
Procedure
Select Fasteners ► Rivets from the Mechanical Toolkit menu. AllyCAD
will display the Rivets dialog:
Select a predefined rivet from the drop-down list at the top-left of the
dialog, or change the rivet dimensions to your needs.
Select which view of the rivet you wish to draw (top view, side view,
or both views), and which linetype to use for the head and shaft of
the rivet.
If you wish to draw multiple copies of the rivet, then specify a Repeat
Number greater than 1 (but less than 1000). Choose whether to
repeat the rivet linearly or radially (polar), and specify the repeat
interval. In the case of a radial (polar) repeat, select whether the
spacing interval refers to the PCD (pitch circle diameter) of the circle
on whose circumference the rivets will be drawn (“PCD” option), or
just the spacing between the rivet centers (“Spacing” option).
To draw the rivet, click on OK. If you have ticked the option to draw
the side view, AllyCAD will prompt:
Indicate the rivet position on the thread side of a line
(else spacebar to stop)
Indicate the position of the rivet side view. If the position indicated is
near a line, the rivet will be drawn aligned with that line, on the side
of the rivet that you have indicated.
If you have ticked the option to draw the plan (top) view, AllyCAD will
prompt:
Indicate the rivet centre for the plan view (else spacebar
to stop)
Indicate the position of the rivet plan view. AllyCAD will then ask:
Indicate point on rivet centre line (spacebar to stop)
The rivet plan view will be rotated so that it’s center line goes
through the point you indicated. If you indicate the same point as
the plan view position, it will not be rotated.
Draws side and plan views of through or blind drilled holes of any
diameter at any angle. Tapped holes may also be drawn.
Procedure
Select Drill Holes from the Mechanical Toolkit menu. AllyCAD will
display the Drilled Holes dialog:
Select a predefined drilled hole from the drop-down list at the top-left
of the dialog, or change the drilled hole parameters to your needs.
To draw the drilled hole, click on OK. If you have ticked the option to
draw the side view, AllyCAD will prompt:
Indicate the hole position on the shaft side side of a line
(else spacebar to stop)
Indicate the position of the drilled hole side view. If the position
indicated is near a line, the drilled hole will be drawn aligned
perpendicular to that line, on the side of the line+ that you have
indicated.
Indicate the position of the drilled hole plan view. AllyCAD will then
ask:
Indicate point on hole center line (spacebar to stop)
The drilled hole plan view will be rotated so that it’s center line goes
through the point you indicated. If you indicate the same point as
the plan view position, it will not be rotated.
Procedure
Select Draw Slots from the Mechanical Toolkit menu, or right-click on
the “Holes” icon in the Mechanical Toolkit toolbar.
AllyCAD will prompt:
Enter the length, width and rotation of the slot
Use the mouse to indicate where you want to place the slot on your
drawing. The “left hand” centre of the slot will be aligned with the
indicated position.
The slot will be drawn on the current layer using the current pen and
linetype.
You will be repeatedly asked to place the slot until you press [Space
Bar].
Procedure
Select Draw Circles + CL from the Mechanical Toolkit menu. AllyCAD
will prompt:
Enter circle diameters with spaces between
Enter the circle(s) diameters with a space between each of them (eg:
“20 35 64”).
Enter circle centre for plan view (space bar to exit)
Indicate with the cursor the position of the circle(s) centre. AllyCAD
will now prompt:
Enter a point on the circle centre line (space bar to exit)
Indicate a point through which the circle center line will run. To
avoid rotating the center line, click on the same spot you did when
indicating the circle center.
The circles are drawn on the current layer, using the Solid linetype
and colour as defined in the Mechanical Toolkit Setup dialog.
The centerlines are drawn on the current layer, using the Centreline
linetype and colour as defined in the Mechanical Toolkit Setup
dialog.
Procedure
Select Add CL to Circle from the Mechanical Toolkit menu, or right-
click the “Concentric circles with CL” icon in the Mechanical Toolkit
toolbar, or press “+” on the numeric keypad while holding down
“Shift”.
AllyCAD will prompt:
Click on the circle you want to add centre lines to
(spacebar to exit)
Use the mouse to indicate the circle or arc which must receive the
centrelines.
The centerlines are drawn on the current layer, using the Centre Line
linetype and colour defined in the Mechanical Toolkit Setup dialog.
This function repeats until the [Space Bar] is pressed.
Procedure
Select Draw Shafts from the Mechanical Toolkit menu. The shaft dialog
will be displayed:
Indicate a point through which the shaft’s center line will run. To
avoid rotating the shaft, click on the same spot you did when
indicating the shaft center left point.
Procedure
Select Draw Gears from the Mechanical Toolkit menu. The gears dialog
will be displayed:
Procedure
Select Draw Links from the Mechanical Toolkit menu. The links dialog
will be displayed:
Select a pre-defined link from the drop-down list, or specify your own
parameters.
You may add your own link definitions by clicking on the Add button,
and then entering the relevant link measurements. The link
definition will be saved when you click on OK, or select another link
definition from the list.
If you modify an existing link definition, you will be asked to save it.
Select No to avoid overwriting the original link definition.
Indicate a point through which the link’s center line will run. To
avoid rotating the link, click on the same spot you did when
indicating the link center.
Procedure
Select Draw Flanges from the Mechanical Toolkit menu. The flanges
dialog will be displayed:
Indicate a point through which the flange’s center line will run. To
avoid rotating the flange, click on the same spot you did when
indicating the flange center.
This tool draws front, plan, end and development views of rectangle
to a round duct:
20.0
OR=
75.0
END
PLAN
s y
t x
u v w
z
r
50.0
SIDE PATTERN
o p
100.0
Procedure
Select Rect to Round Duct from the Mechanical Toolkit menu. AllyCAD
will display this dialog:
Procedure
Select Draw Tables ► Coord Table from the Mechanical Toolkit menu.
The coordinate table dialog will be displayed:
Indicate the location of the top left corner of the coordinate table.
The table will be drawn as a grouped object called “COORD_TABLE”,
so you will be able to reposition it as one entity by dragging it with
the mouse.
Notes:
• The frame for the coord table is drawn in the current pen
colour
• The text in the coord table is drawn using the font, size and
colour of the current “text defaults”.
Procedure
Select Draw Tables ► Parts List from the Mechanical Toolkit menu. The
parts list dialog will be displayed:
Indicate the location of the top left corner of the parts table.
Notes:
• The frame for the parts list table is drawn in the current pen
colour
• The text in the parts list table is drawn using the font, size
and colour of the current “text defaults”.
The user table is a flexible tool which may be used to create and
display tabular data with an arbitrary number of rows or columns.
Data may be imported from text files (.CSV). Data may also be
exported as CSV files.
Procedure
Select Draw Tables ► User Table from the Mechanical Toolkit menu.
The user table dialog will be displayed:
Annotate Welds
Draw weld specification annotations
Procedure
Select Annotate ► Welds in the Mechanical Toolkit menu.
The Weld Annotation dialog will be displayed:
Indicate the position of the arrow tip of the annotation. AllyCAD will
prompt:
Indicate the position of the Weld indicator
Indicate where the tail of the weld annotation will be placed, on the
same horizontal as the weld indicator.
Procedure
Select Annotate ► Tolerances in the Mechanical Toolkit menu.
The Tolerance Annotation dialog will be displayed:
Indicate the position where the bottom left of the first line of the
annotation will be placed.
Procedure
Select Annotate ► Surface Finish in the Mechanical Toolkit menu.
The Surface Finish Annotation dialog will be displayed:
Procedure
AllyCAD will display the following options list:
Building Grid
1 2 3 4 5
5000.0 5000.0 5000.0 5000.0
A
3000.0
B
3000.0
C
3000.0
D
3000.0
Specify the distance between the first grid line and the second grid
line in user units. AllyCAD will now prompt:
Enter next horizontal (x) spacing (0 to exit)
Specify the distance between the second grid line and the next grid
line in user units or enter 0 to exit. AllyCAD will continue to prompt:
Enter next horizontal (x) spacing (0 to exit)
Specify the distance between the first grid line and the second grid
line in user units. AllyCAD will now prompt:
Enter next vertical (y) spacing (0 to exit)
Specify the distance between the second grid line and the next grid
line in user units or enter 0 to exit. AllyCAD will continue to prompt:
Enter next vertical (y) spacing (0 to exit)
Click on the drawing where you want the top left corner of the grid.
AllyCAD will prompt:
Enter vertical grid line offset above the top horizontal
line
Specify the vertical offset for the grid dimensions and grid line labels.
AllyCAD will prompt:
Enter horizontal grid line offset above the top vertical
line
Specify the horizontal offset for the grid dimensions and grid line
labels. The building grid will be drawn at the indicated position.
1 2 3 4 5
5000.0 5000.0 5000.0 5000.0
A
3000.0
B
3000.0
C
3000.0
D
3000.0
Specify the length of the base in user units. AllyCAD will then ask:
Enter width of base
Specify the width of the base in user units. AllyCAD will prompt:
Enter position of base centre (spacebar to enter new size)
The cursor will change to intersection snap mode. Simply click near
a grid intersection for the base to be drawn at that point.
Settings
AllyCAD will ask the following questions:
Enter drawing sheet size (0,1,2,3,4)
Select or create a layer for the grid lines, labels and dimensions.
This tool places street numbers either inside, outside or at the angle
to the boundary or horizontal.
Procedure
Procedure
The drawing must be in surveyor mode, if not AllyCAD will give the
following prompt and exit from this function:
Please change to a surveyor coordinate system
Procedure
The drawing must be in surveyor mode, if not AllyCAD will give the
following prompt and exit from this function:
Please change to a surveyor coordinate system
Enter the name of an existing layer or new layer you would like the
North sign inserted in. If a blank is left a default layer called
NORTH_SIGN will be created.
Enter height of north sign
This function draws single or multiple grid crosses with the option of
displaying horizontal and vertical coordinates on the cross.
Procedure
The drawing must be in surveyor mode, if not AllyCAD will give the
following prompt and exit from this function:
Please change to a surveyor coordinate system
Enter the name of an existing layer or new layer you would like the
grid cross or crosses inserted in. If a blank is left a default layer
called GRID_CROSS will be created.
Enter length of grid cross
Enter the length of the grid cross in the drawings current units.
Enter pen number for cross
Enter Yes for a single grid cross else select No for a multiple grid
cross. If Yes is selected AllyCAD will
If No is select AllyCAD will give the following prompts:
Enter horizontal spacing for crosses
Indicate with the cursor the position on the drawing you would like
the grid cross to be placed. You can continue placing single or
multiple crosses with the same dimensions otherwise press the
spacebar to exit this function.
Import Points
Import coordinate points from a file
Procedure
The drawing must be in surveyor mode, if not AllyCAD will give the
following prompt and exit from this function:
Please change to a surveyor coordinate system
Add Points
Add a coordinate point/s to the drawing
This function adds a coordinate point to the drawing. The point has
the same format as the import points function and can thus be used
by the other surveyor functions.
Procedure
The drawing must be in surveyor mode, if not AllyCAD will give the
following prompt and exit from this function:
Please change to a surveyor coordinate system
Enter the point number otherwise leave a blank and press [Enter] to
exit this function.
Indicate point position (else spacebar to enter co-
ordinates)
Either indicate the position where you wish the point to be placed or
press the [spacebar] to enter the coordinates, AllyCAD will then give
the following prompt if you are using a southern hemisphere
coordinate system:
Enter point coordinates (Easting Northing)
Enter the points in the order Easting and then Northing separated by
a space.
If you are using a northern hemisphere coordinate system AllyCAD
will prompt:
Enter point coordinates (Northing Easting)
Enter the points in the order Northing and then Easting separated by
a space.
AllyCAD then continue with the following prompts:
Enter elevation (else blank for none)
Export Points
Export coordinate points to a file
Enter the first coordinate point label e.g. "1" you start exporting
from.
Last point label (else blank to exit) ?
Enter last coordinate point label e.g. "15" you wish to finish
exporting from.
If the first point label is greater than the last point label the following
prompt appears:
Start point label must be less than last point label
Jump to Point
Jump to a coordinate point
Procedure
The drawing must be in surveyor mode, if not AllyCAD will give the
following prompt and exit from this function:
Please change to a surveyor coordinate system
Press [Enter] if you would like to jump to the point using the current
drawing scale factor e.g. if the drawing scale is 1:1000 the scale
factor will be 1000 and will pan to the point. Otherwise enter another
scale factor e.g. 200 for a 1:200 scale factor and the function will
jump to the point using the zoom factor you enter.
AllyCAD will then continually prompt.
Enter point label (else blank to exit)
Enter the point label you would like to jump to else press [return] to
exit.
If you enter a point label which doesn't exist the following prompt will
appear:
Cannot find point label <label number>
Procedure
The drawing must be in surveyor mode, if not AllyCAD will give the
following prompt and exit from this function:
Please change to a surveyor coordinate system
Select YES if you would like distance and bearing added to the join,
otherwise select NO if you would like just a line joining the points.
Exiting because of bad point name : <point number>
The above message will appear if any of the points in the file doesn't
exist in the drawing. The function will then exit, naming the bad
point number.
Connect Points
Join selected points by entering point numbers
Procedure
The drawing must be in surveyor mode, if not AllyCAD will give the
following prompt and exit from this function:
Please change to a surveyor coordinate system
Select Yes if you would like distance and bearing added to the join,
otherwise select No if you would like just a line joining the points.
Cannot find point label <point number>
The above message will appear if any of the points in the file doesn't
exist in the drawing. The function will then prompt again for the
points to enter, allowing you to enter a point which does exist in the
drawing.
This function calculates new points from, and draws in the traverse
legs of a simple data traverse. It is assumed that all distance and
bearing reductions have already been performed.
Procedure
The drawing must be in surveyor mode, if not AllyCAD will give the
following prompt and exit from this function:
Please change to a surveyor coordinate system
Select YES to accept automatic naming of each leg of the traverse viz
TR1,TR2, otherwise select NO if you wish to give each leg of the
traverse a different name.
If you select YES for the above prompt AllyCAD will respond with the
following two prompts:
Base name
Accept the default base name "TR" else enter your own.
Enter start number
Accept the start number "1" to be added to the base name else enter
your own.
Enter horizontal distance (blank to exit)
Tache Shot
This function performs tacheometric calculations
This function calculates new points from, and draws in the tache
shots of a simple tache survey. It is assumed that all distance and
bearing reductions have already been performed.
Procedure
The drawing must be in surveyor mode, if not AllyCAD will give the
following prompt and exit from this function:
Please change to a surveyor coordinate system.
Select YES to accept automatic naming of each leg of the traverse viz
TR1,TR2, otherwise select NO if you wish to give each leg of the
traverse a different name.
If you select YES for the above prompt AllyCAD will respond with the
following two prompts:
Base name
Accept the default base name "SS" else enter your own.
Enter start number
Accept the start number "1" to be added to the base name else enter
your own.
Default Settings
Icon Button Toolbar Shortcut Command
Left SG Diagram SGDiagramEditor
The Setup dialog contains the settings and defaults applicable for all the SG
Diagram functions. The settings are stored in an ini file. Before attempting to use
any of the SG Diagram functions, you need to have loaded an ini file into this
dialog.
You can accumulate various ini files for different scenarios. All the
setting in the dialog are stored in a corresponding ini file. The file
Knowledge Base distributes with the software is found in
CivDes64\Examples\SG_Files\SG_Diagram.ini.
Settings
There are similar tabs for the text and data column settings of the
diagram. Any measurements are in millimetres with respect to the
bottom left-most drawing entity on the relevant template drawing.
Options
Use another ini file to maintain a database of Town Survey Mark and
Trigonometrical Beacon control points for your SG diagrams and
general plans.
Trace Figure
Trace the consistency
Procedure
You will be prompted to
Indicate first point of perimeter
Type in the label for the first consistency point and press Enter.
You will be asked to enter all the consistency points and labels.
When you indicate the first point again, the Diagram will be
generated.
Use this function to change the line type of the lines that do not
belong to the consistency to the Edit Line Type value specified in the
Setup dialog.
The program will simply prompt you to indicate the lines that have to
be edited. Press escape to exit the function.
Default Settings
Icon Button Toolbar Shortcut Command
Left General Plan SGGenPlanEditor
The Setup dialog contains the settings and defaults applicable for all the General
Plan functions. The settings are stored in an ini file. Before attempting to use any
of the General Plan functions, you need to have loaded an ini file into this dialog.
You can accumulate various ini files for different scenarios. All the
setting in the dialog are stored in a corresponding ini file. The file
Knowledge Base distributes with the software is found in
CivDes64\Examples\SG_Files\SG_GenPlan.ini.
Settings
There are similar tabs for the text and data column settings of the
diagram. Any measurements are in millimeters with respect to the
bottom left-most drawing entity on the relevant template drawing.
Control Coords
Use another ini file to maintain a database of Town Survey Mark and
Trigonometrical Beacon control points for your SG diagrams and
general plans.
Insert Titleblock
Add the title block to the drawing
This function will load the Title block drawing, as specified in the
Setup dialog, onto the existing drawing with its center point at the
screen center. It will then ask the Frame Questions, as specified in
the Setup dialog.
Insert Heading
Insert the General Plan heading
Procedure
AllyCAD will prompt:
Indicate position for heading
Indicate the position where the top left corner of the heading should
be.
The Heading questions will be asked.
Procedure
Ensure that erf boundary lines form a proper perimeter around the
stand to enable the area calculation routine to calculate a correct
area quantity.
You will be prompted to:
Indicate the position for Table
Indicate the position where the top left corner of the table should be.
The following dialog will appear:
Indicate the each erf to be numbered and press [Esc] to draw the
table.
After indicating the erf to number, you will be asked to:
Enter erf number
Procedure
You will be asked to:
Indicate erf to dimension
Graphically indicate the erf by clicking inside the erf. The selected erf
will be highlighted.
You will then be prompted to:
Indicate the line to dimension to the inside of the erf
Click close to the line that you want to dimension, on the inside of
the erf.
A direction and bearing will be drawn with the current text settings
and with the separator details as specified in the Setup dialog.
Point-Point Dimension
Add survey dimensions between two points
Procedure
You will be asked to:
Indicate start point for survey dimension
Multiple Dimension
Add survey dimensions to multiple erven
Procedure
You are presented with the Multiple Dimensioning dialog.
Erven could have been numbered using the Erf Numbering & Area
Table function in which case the function creates and uses
STAND_NO as the default layer name. Alternatively, you may have
another layer containing numerical text entities within the erf
boundaries. Select the applicable layer name. Any non-numerical
text entities are ignored as an erf number.
Procedure
You will be prompted to
Indicate first point of perimeter
Type in the label for the first consistency point and press [Enter].
You will be asked to enter all the consistency points and labels.
When you indicate the first point again, the Diagram will be
generated.
You will then be prompted to:
Indicate the position for Table
Indicate the position where the top left corner of the table should be.
The program will finally prompt you to:
Enter the LO Coordinate system
Procedure
You will be prompted to:
Indicate the position for Table
Indicate the position where the top left corner of the table should be.
You will then be prompted to:
Indicate Block corner (Done to exit)
Indicate each block corner to be tabled and press Escape to draw the
table.
After indicating the block corner, you will be asked to:
Enter number
Procedure
You will be prompted to:
Indicate the position for Table
Indicate the position where the top left corner of the table should be.
You will then be prompted to:
Position for Reference marks (Done to exit)
Indicate each reference mark to be tabled and press [Esc] to draw the
table.
After indicating the Reference mark, you will be asked to:
Enter number
Use this function to generate a table of the Trig beacon and/or town
survey mark coordinates that are currently entered in the Control
Coordinates dialog on the Setup dialog.
Procedure
You will be prompted to:
Indicate the position for Table
Indicate the position where the top left corner of the table should be.
Default Settings
Icon Button Toolbar Shortcut Command
Left Sectional Plan SGSectionEditor
The Setup dialog contains the settings and defaults applicable for all the
Sectional Plan functions. The settings are stored in an ini file. Before attempting
to use any of the Sectional Plan functions, you need to have loaded an ini file into
this dialog.
You can accumulate various ini files for different scenarios. All the setting in the
dialog are stored in a corresponding ini file. The file Knowledge Base distributes
with the software is found in CivDes64\Examples\SG_Files\SG_Sectional.ini.
There are grid rows for the template drawings of a typical sheet 1,
block plan, floor plan and PQ sheet. These drawings will be what is
placed around the data determined during a plan generation. These
drawing must be prepared in a cartesian drawing, with units in
millimeters and at a scale of 1:1. We distribute some sample
drawings which are located in the CivDes64\Examples\SG_Files\ directory.
You are not restricted to using these drawings but can use your own.
Settings
There are similar tabs for settings of each plan type. Any
measurements are in millimeters with respect to the bottom left-most
drawing entity on the relevant template drawing.
Options
Section Manager
Icon Button Toolbar Shortcut Command
Left Sectional Plan SGSectionMgr
Use the Section Manage to maintain a list of all the sections in a current job
Collapsed:
Insert
Click the Insert button to manually insert a new row. The Insert
Section Dialog is presented.
Delete All
To lose all information currently stored for the current Sectional Plan
job press 'Delete All'. You are presented with the following Message
Box:
Adjust PQ's
As you will well know, it can easily happen that the PQ summation
does not equal 100.0000. You will recognize this in the statistics edit
boxes in the lower right. Example:
It can happen that the values are such that no automatic adjustment
is possible. You will then need to adjust values yourself as per
normal.
Trace Section
Graphically define a section (or part thereof) from a base drawing. In this way
coordinate data is available for plotting floor plans.
The purpose of this function is two fold: Firstly the result is another
row in the Section Manager denoting a new section or part thereof.
Procedure:
You get the following prompt:
Trace around figure (ending on first point)
Fill in the relevant details for this new section and press OK.
If you were to now open the Section Manager, you will see the new
section details. This will be used in the other plan generation
functions.
Generate Sheet 1
Icon Button Toolbar Shortcut Command
Left Sectional Plan SGSectionGenS1
A new CAD drawing is created being a copy of what was specified for
the Sheet 1 template drawing. e.g.
You get presented with the Text Entry Dialog. Modify the default text
and press OK. These text items will be inserted into the new CAD
The way this works is that you will trace the outside figure of the erf.
The dimensions of the erf are stored for if you want a table of sides
and directions. All the visible CAD entities within that figure and
near it are going to be copied across to the new CAD drawing. So
typically you will want to have as visible only the linework and
annotation making up the cadastral detail and the outline of the
buildings and common property touching the ground.
The appearance of the figure in the destination drawing is discussed
in the Drawing Creation in the SG functions topic.In the normal SG
toolkit way, you first trace the outside figure of the erf.
A new CAD drawing is created being a copy of what was specified for
the Block Plan template drawing. e.g.
If you want a table of sides and directions, choose Yes. You get
prompted:
Position top left corner of table …
Indicate the position. The appearance of the table is as per the 'Block
Plan table' settings in the 'Plan' tab of the Setup dialog.
You can only plot sections if they have been traced with the Trace
Section command. Otherwise the program has no way of knowing the
extents thereof. You would get the following error message:
Generate PQ Sheet
Icon Button Toolbar Shortcut Command
Left Sectional Plan SGSectionPQ
A new CAD drawing is created being a copy of what was specified for
the PQ Sheet template drawing. e.g.
Circle Intersections
Rectangle Auto
Object
See Tutorial 3 in the User Guide for practical examples of using the
Perimeter Menu.
While you are using the Circle, Rectangle, Line (Chained), Object,
Intersections or Auto options, the Accept button changes to a Done
button.
Cancel Button
Clicking on this button abandons the perimeter defining operation
and discards any perimeter that you may have started.
Circle
This option allows you to define a circular perimeter either by
clicking on an existing circle or by drawing a new circle. It also allows
you to add arcs to a perimeter by clicking on them.
AllyCAD will prompt:
Pick circle to be added to perimeter or enter new circle
centre
No perimeter drawn
Add more circles or arcs to the perimeter or click on one of the Done
buttons or press the [Space Bar] to stop.
Line (Chained)
This option allows you to add to the perimeter by drawing lines or
clicking on existing lines.
AllyCAD will prompt:
Enter first point of line
Any line that you draw is a virtual entity. It will not be displayed
when you redraw. After you have drawn the line it will flash.
AllyCAD will continue to prompt:
Enter next point of line
Add more lines to the perimeter or click on one of the Done buttons
or press the [Space Bar] to stop.
If you are going to add parallel lines to the perimeter, lines with a
positive offset will be drawn to the right of the perimeter line in the
direction the line is drawn in. Lines with a negative offset will be
drawn to the left.
Intersections
This option allows you to define complicated perimeters by manually
tracing over them by indicating entities and intersections between
entities.
The cursor will change to Grab All mode and AllyCAD will prompt:
Enter first intersection point of perimeter
Auto
This option automatically tracks along a perimeter made up of
existing lines and arcs.
AllyCAD will prompt:
Place cursor inside perimeter and near a line
Dotted
Checking this box will allow the Auto function to track dashed or
dotted lines.
Tolerance
The Auto function will jump over any gaps in the perimeter that are
smaller than the distance you type here.
Defaults 13-1
Multiple users
Different users can have their own User Home directories storing
their own menus, hatch patterns, defaults and line types.
For example, one user's preferred menus, hatch patterns, defaults
and line types may be stored in the default User Home directory,
guest. Other users can then create their own personal sub-
directories in which their preferred menu, hatch patterns, defaults
and line types are stored. See Adding new users below.
AllyCAD33
Users
Guest
Macro
Paul
Macro
Civil
Macro
Arch
Macro
Mech
Macro
Defaults 13-3
To add a new user sub-directory, click on the Add new name button
in this dialog box. The dialog below is displayed.
Type the new user sub-directory's name into the New name box.
From the Copy from list box, select one of the existing sub-
directories. The contents of the existing sub-directory will be copied
into the new sub-directory. These copied files can later be edited or
overwritten, for example with the new user's preferred menu system.
When you click on OK, the CAD will start up using the new user
sub-directory.
Whenever you start the CAD in future, the Login dialog box will be
displayed. Select the login name you want to use and click on OK.
The menu, hatch patterns, defaults and line types stored in that
sub-directory will be loaded.
If you click on Help ► About a dialog box will appear. The name of the
current sub-directory will be displayed at the bottom of this dialog
box.
[STOREDEF]
USEDOM=0
AUTOGEOM=1
AUTOBACKUP=10
REFERENCEPROMPT=0
ASKBACKUP=0
BACKUPPATH=
DOMALLSAVE=0
[PRINT]
PRINTERARCS=1
[ToDXFFonts]
Modern=TXT
Roman=ROMANS
Arial=ROMAND
Times New Roman=ROMANC
Times New Roman.I=ITALICC
Times New Roman.B=ROMANT
Times New Roman.B.I=ITALICT
Script=SCRIPTS
Script.I=SCRIPTC
UNKNOWNNAME=TXT
[DXFFlags]
ExplodeBlocks=0
TargetVersion=12
[CONTROLBAR]
name="MS Sans Serif"
size=8
weight=400
italic=0
charset=0
pitchandfamily=34
[DIGITIZER]
TYPE=None
FORMAT=
INITSTRING=
COMPORT=2
BAUD=9600
DATABITS=8
STOPBITS=1
PARITY=1
[LOGFILE]
Defaults 13-5
WriteLogFile=0
[VMEM]
MaxMegAlloc=10
Vmempath=C:\DOCUME~1\DEV4\LOCALS~1\Temp
[COLORS]
pen0=128 0 0
pen1=255 0 0
pen2=128 128 0
pen3=255 255 0
pen4=0 255 0
pen5=0 128 0
pen6=0 128 128
pen7=0 255 255
pen8=0 0 255
pen9=0 0 128
pen10=128 0 128
pen11=255 0 255
pen12=255 255 255
pen13=128 128 128
pen14=0 0 0
pen15=192 192 192
Use_AutoCAD_Colors=0
CustColor0=0 0 0
CustColor1=1 0 0
CustColor2=128 237 18
CustColor3=52 135 212
CustColor4=88 1 92
CustColor5=0 4 0
CustColor6=0 0 0
CustColor7=0 0 0
CustColor8=79 229 214
CustColor9=205 171 186
CustColor10=0 0 0
CustColor11=188 237 18
CustColor12=79 229 214
CustColor13=232 237 18
CustColor14=22 136 212
CustColor15=0 240 253
[SETTINGS]
UseWidthInPerimeter=1
OpenCreatesNewWindow=1
CompileMacro=1
Create16BitCompatible=0
DefaultEditor=NOTEPAD.EXE
ZoomOutFactor=10
PopUpDoneButton=0
BitmapTilingThreshold=1000
CompressedTiles=10
TilePath=.
MaxSecondsHatch=10
MaxPatternSize=65000
MouseToDefBtn=1
LowResPrint=0
MakeOpenDrgCopy=0
RedrawByLayer=0
[MechanicalTools]
SpecFile=C:\James Data\AllyCAD35 Build7\Users\Guest\ISO Mechspecs.ini
[ArchitecturalTools]
SpecFile=C:\James Data\AllyCAD35 Build7\Users\Guest\ArchSpecs.ini
[Version Check]
Configured=1
Check=0
Days=30
Connection=2
[Drawings]
Recent1=N:\CAD\34.136\34136.DRG
Recent2=N:\CAD\35.55\3555.DRG
Recent3=N:\CAD\34.139\34139.DRG
Recent4=C:\Work Data\Support\TEST_BITMAP_CLIP_ROTATE.DRG
Recent5=C:\Work Data\Support\TEST_BITMAP.DRG
Recent6=C:\Work Data\Support\INTERSECTION_SNAP.DRG
Recent7=C:\WORK DATA\SUPPORT\SITEPLAN001.002_LAYOUT.DRG
Recent8=C:\WORK DATA\SUPPORT\SITEPLAN001.002.DRG
[LegendBar]
sizeHorzCX=80
sizeHorzCY=400
sizeVertCX=80
sizeVertCY=479
sizeFloatCX=80
sizeFloatCY=400
[CADFrame]
Status=3
Flags=2
MinX=-1
MinY=-1
MaxX=-6
MaxY=-25
Top=132
Left=132
Bottom=788
Right=1100
[TOOLBARPOSN]
Color=RIGHT 752 794 198 486 VISIBLE 1
File=TOP -2 464 50 76 VISIBLE 1
Main=LEFT -2 25 123 516 VISIBLE 18
View=LEFT -2 8 100 110 HIDE 1
Modify=LEFT -2 8 198 208 HIDE 1
Geometry=BOTTOM -2 363 510 536 VISIBLE 1
Dimensions=LEFT -2 8 100 110 HIDE 1
Screen=LEFT 0 0 0 0 HIDE 1
Snaps=RIGHT 727 754 198 481 VISIBLE 13
Turn=TOP -2 239 74 100 VISIBLE 1
General=LEFT -2 8 100 110 HIDE 1
Defaults 13-7
Civil=LEFT -2 8 100 110 HIDE 1
Structural=LEFT -2 8 100 110 HIDE 1
Survey=LEFT -2 8 100 110 HIDE 1
Architectural=LEFT -2 8 100 110 HIDE 1
Mechanical=LEFT -2 8 100 110 HIDE 1
SG Diagram=LEFT -2 8 100 110 HIDE 1
General Plan=LEFT -2 8 100 110 HIDE 1
Sectional Plan=LEFT -2 8 100 110 HIDE 1
[PRINTDEF]
PROFILES=PRINT
CURRPROFILE=PRINT
[PRINT_PROFILE_PRINT]
PRINTERARCS=1
ALLPENSTOBLACK=0
SCALEHATCH=0
SCALEFATLINES=1
XOFFSET=0.000
YOFFSET=0.000
MINPEN=1
MAXPEN=15
Paths
This contains the paths for drawing, symbol and macro files - i.e. the
names of the directories where you store these files and where on the
hard drive AllyCAD can find them.
FromDXFFonts
This section stores the AllyCAD font that an AutoCAD font must be
converted to during a transfer from a DWG or DXF file to an AllyCAD
drawing file.
The font on the left of the = sign is the AutoCAD font, and the one on
the right is the AllyCAD font it must be converted to.
A “.B” or “.I” after the AllyCAD font name indicates that the font must
be bold or italic. See DXF/DWG Conversion Settings.
ToDXFFonts
This section stores the AutoCAD font that an AllyCAD font must be
converted to during a transfer from an AllyCAD drawing to a DWG or
DXF file.
The font on the left of the = sign is the AllyCAD font, and the one on
the right is the AutoCAD font it must be converted to.
A “.B” or “.I” after the AllyCAD font name indicates that the font is
bold or italic. See DXF/DWG Conversion Settings.
DXFFlags
TargetVersion is 12, 13, 14, 15, 16 or 18 depending on the version of
AutoCAD the DWG or DXF files you are creating must be compatible
with. See DXF/DWG Conversion Settings.
Controlbar
This section stores the font used on the Control Bar. See View
Settings.
Defaults 13-9
Digitizer
This stores the current digitizer setup. See Digitizer Settings. The
NOBUTTON line stores the code returned as the pen by the digitizer
when you are not pressing any buttons.
Logfile
If WriteLogFile=1, AllyCAD will record everything that you do in a file
called ALLYCAD.LOG. This is useful if you are experiencing problems
and wish to contact the programmers.
Each time you start a new AllyCAD session, the previous log file will
be added on to. If WriteLogFile=0, no log file will be written.
Drawings
This stores the names of the last eight drawings you have worked on.
These names appear at the bottom of the File Menu, where you can
click on them to open the drawings quickly.
Vmem
This section stores the virtual memory settings. See Virtual Memory
Settings in the Settings Menu.
Colors
The first part of this section stores the colours you have assigned to
each pen in the Color toolbar in the format
pen=red green blue
Red, green and blue have values between 0 and 255 and define the
amount of red, green and blue making up each colour.
The second part of this section stores any custom colours you have
defined in the colour palette that appears when you right click on the
Pen button in the Control Bar to define a colour or when you are
entering a solid fill.
Textedit
This section stores the size of the Text Entry dialog box, and whether
it has been set to accept [Enter] (1) or [CTRL][Enter] (0) for multiline
text. See Add Text.
Coordtable
FORMAT contains the format that will be used to display coordinate
labels and tables. See Label Coord.
BOM
This section stores the bill of materials (BOM) delimiter and whether
the first line of the BOM contains field names (set to 1 if it does). The
delimiter is
• 0 comma
• 1 tab
• 2 columns
See Bill of Materials.
Defaults 13-11
Notes:
Comments
The first few lines in your CAD.MEN file, as well as some other lines,
are preceded by two slashes: “//”.
For example:
// ally menu
// menus down side of screen
The two slashes mean that the following text is a comment. AllyCAD
will ignore this text. It is just to remind you, the user, of what is
going on. You can add as many comments as you like, so long as
each comment line begins with a //.
CAD.MEN 14-1
Toolbars
You may also assign as many functions as you wish to as many
toolbars as you need. The toolbars can also appear on any
convenient spot on your drawing space. You can program it to dock
LEFT, RIGHT, TOP, BOTTOM or FLOAT by typing the appropriate
word next to STYLE. The term HIDE that may also follow STYLE
refers to a toolbar that is hidden at startup.
The next lines of your CAD.MEN file list the code for the respective
toolbars. These sections start with the word TOOLBAR with a name
of the particular toolbar, for instance “MAIN”. This is followed by the
word STYLE that determines where the toolbar is docked on the
AllyCAD screen. Next comes the word BUTTONS that determine
which functions appear on the Toolbar.
Toolbar Styles
You can use any combination of the following toolbar styles:
refers to the name of the bitmap that appears on the buttons on the
floating toolbox.
You can also create your own bitmaps using any graphical editor
capable of creating a .BMP file (e.g. Windows Paintbrush). Create a
16 color (16x15) pixel bitmap. Save the bitmap in the home directory
that was created when you installed AllyCAD. Place the name of the
bitmap you have created in quotes, without the .BMP extension.
The first set of curly brackets and their contents
{#cursorhold;}
define the macro function that is executed when you click on button
number 0 with your left mouse button. The macro function's name is
cursorhold. See the section headed Using functions in CAD.MEN for
more details on functions.
The second set of curly brackets and their contents
{#lockang "L";}
define the help line that appears at the bottom of the screen when
you move your cursor over the icon on the number 0 button. Note
that there is a semicolon (;) after the help text. This help text also
shows up in a tooltip when you move your mouse over a button and
leave it there for about a second.
The word SEPARATOR may also appear, which puts a space between
the respective buttons on the toolbar.
See Appendix B for a list of the bitmaps that are supplied with
AllyCAD and their names.
CAD.MEN 14-3
Pull-Down Menus
Next the functions on the pull-down menus are defined. These are
the sub-menus of the main top bar menu.
The part of the menu file that defines the pull-down menus begins
with the words
// main top bar menu
MAINMENU
BEGIN
and ends with the word
END
CAD.MEN 14-5
Accelerators
The final section of the CAD.MEN file defines accelerators. These are
keyboard shortcuts. For example:
“M” {#magnify;}; VK_SEMICOLON {#longpan;}
The first part of each line defines the key. In the examples above “M”
denotes the [M] key and “VK_SEMICOLON” denotes the semicolon
[ ; ] key. A full list of the keys you can use is given in Appendix V. The
contents of the curly brackets define the function that is executed
when the key is pressed.
In the examples given here, the screen will be magnified when you
press [M] and a long pan will be performed when you press the [ ; ]
key. This saves you selecting these functions from the menu or
toolbars.
Digitizer
The final section of the menu file maps AllyCAD functions to digitizer
puck buttons. It looks like this:
DIGITIZER
BEGIN
BUTTON "1" {#enterpt;}
BUTTON "2" {line;}
BUTTON "3" {done;}
BUTTON "4" {#jumppt;}
END
The first part of each line defines the number of the digitizer puck
button that the command is being assigned to. The example above
assumes that your digitizer numbers its puck buttons 1, 2, 3 and 4.
The contents of the curly brackets define the function that is
executed when each button is pressed.
Transparent Commands
Some function names are preceded by a hash sign “#”. This sign is
optional. Its presence means that the function is transparent. If you
are in the middle of one command, and you execute a transparent
command, you will be returned to your original command after the
transparent command has finished. If you are in the middle of one
command and you execute a command that is not transparent, your
original command will be terminated.
Transparency is especially useful for commands like magnify. It
means that if you are drawing a line, for example, and you need to
magnify the screen so that you can see better, you can magnify
without interrupting or losing the line you are drawing.
Theoretically, you could make any of AllyCAD's commands
transparent by adding a # to the front of its name. However, there
are some commands where this is not advisable. The commands it is
safe to make transparent are marked with a bullet-point (•) in
Appendix VI.
Short Cuts
When you choose most AllyCAD functions, you are asked various
questions. If your answers to particular questions are always the
same, you can “pre-answer” them in the menu file, thus speeding up
your operation. This is exemplified below, with reference to the Mid
Point Jump command.
If you look at the CAD.MEN file you will see the Mid Point Jump and
Ratio Jump functions in the Tools Menu are defined as follows:
MENUITEM "Mid Poin&t Jump\tC" {#jumpratio .5 "Y";} {Jump to
mid point of line;}
MENUITEM "Ra&tio Jump\tO" {#jumpratio;} {Jump a fixed ratio
between two points or along a line;}
The Mid Point command is in fact the Ratio Jump command, but the
prompts that normally appear during the Ratio Jump command have
CAD.MEN 14-7
been “pre-answered” so that Ratio Jump automatically jumps to the
midpoint of the nearest line.
To jump to the midpoint of a line using Ratio Jump, you would:
• Select Tools Jumps Ratio Jump, or press O to access it quickly from
the keyboard.
• Type “0.5” in response to the prompt:
Enter division ratio of jump.
In Mid Point Jump, the answers 0.5 and “Y” (YES) are given after
the Ratio Jump macro function name jumpratio. They are
separated by spaces, and the “Y” is enclosed within double quotes.
You can create a short cut of most functions in this way, simply by
adding the letters and numbers that you would normally type to the
end of the function name.
Where you would normally click on a YES or NO button, you must
type “Y” or “N”. Where you would normally choose an answer from a
sub-menu, you must type the underlined letter of the menu option
you would choose. You must enclose alphabetic answers in double
quotes.
• To create short cuts for functions like Draw Symbol that give you
options on the Control Bar or in a dialogue box, use the Macro
section to find out the correct function name, letters and
numbers.
• The function name and the letters and numbers you type after it
are exactly the same as the parameters you would use when
writing a macro program (see Macros )
Macros
You can add macro programs that you write to the menu or assign
them to an icon in the Toolbar or to an Accelerator. To do this, the
function name must be the following:
{exec “macro_name” ;}
where macro_name is the full name of the macro, including its path.
For example:
CAD.MEN 14-9
Hatch Patterns
The hatch patterns are defined in a file called HATCH.PAT, which
resides in your user directory. This chapter shows you how hatch
patterns are defined so that you can edit existing hatch patterns or
create your own.
You can look at, print out or edit the HATCH.PAT file in any text
editor such as Windows Notepad. We suggest that you make a
backup of the HATCH.PAT file before you edit it.
pen, line width, angle, x origin, y origin, odd line offset, spacing, on
distance, off distance
Scale
Scale is a scale factor which multiplies the x and y origins, off line
offset, and on and off distance measurements to give the final size of
the hatch.
Pen
Pen is the colour of an individual line in the hatch pattern. The
colours in the Color toolbar are numbered from 1 to 15.
Line width
Line width is the width of an individual line in the hatch pattern. It is
measured in tenths of a millimetre and will be the width of the line
on paper, regardless of drawing scale.
Angle
Angle is the angle of an individual line in the hatch pattern. The
angle is measured anti-clockwise from the 3 o'clock position.
Offset
Spacing
Spacing
subsequent lines of the hatch.
Scale
Odd line
Pen offset
Line width Y origin
Angle X origin
Scale
*dash,Dashed lines
10, 0 Rotation
1, 0, 0, 0,0, .125,.125, .125,-.125 Off distance
Pen On distance
Line Spacing
Angle Odd line offset
X origin Y origin
The dash hatch pattern comprises just one dashed line at an angle of
0 degrees.
Each dash is 0.125mm long (on distance), and the gap between each
dash is also 0.125mm long (off distance). Note that the off distance is
a negative number (-0.125). The on and off distances are multiplied
by a scale of 10, so the dashes and gaps are actually 1.25mm long.
Scale
Line 1
1, 0, 0, 0,0, 0,.25 Spacing
Line 2
1, 0, 0, 0,.025, 0,.25 Spacing
Pen On distance
Line width Spacing
Angle Odd line offset
X origin Y origin
Each dash is 0.225mm long (on distance), and the gap between each
dash is also 0.275mm long (off distance). Note that the off distance is
a negative number (-0.275). The on and off distances are multiplied
by a scale of 10, so the dashes and gaps are actually 2.25 and
2.75mm long respectively.
Line 3 also has a Y origin of 0.025mm. Multiplied by the scale of 10,
this gives an actual Y origin of 0.25mm. The effect of this origin can
be seen if you superimpose lines 1, 2 and 3:
Scale
*triang,Equilateral triangles
10, 0 Rotation
1, 0, 60, 0,0, .1875,.324759526, .1875,-.1875
1, 0, 120, 0,0, .1875,.324759526, .1875,-.1875
1, 0, 0, -.09375,.162379763, .1875,.324759526, .1875,-.1875
Pen On distance
Line width Spacing
Angle Odd line offset
X origin Y origin
Spacing=3.24759526mm
On distance=1.875mm
Line 2
1, 0, 120, 0,0, .1875,.324759526, .1875,-.1875 Off distance
Pen On distance
Line width Spacing
Angle Odd line offset
X origin Y origin
On distance=1.875mm
Line 3
Off distance
Pen On distance
Line width Spacing
Angle Odd line offset
X origin Y origin
Spacing=3.24759526mm
On distance
=1.875mm
Off distance= -1.875mm
Line number
Each line is numbered from 1 to 30.
Description
The description is matched to DXF or DWG line types when you load
or save a DXF or AutoCAD DWG file. For example, when you load a
DXF file, the DXF line type “Hidden” is displayed as line type 3 in
AllyCAD.
Plotrepeat
This is the distance over which the line type pattern is repeated on
your printer or plotter - 8mm for line types 1, 2, 4 and 5 and 4mm
for line 3.
Pixels are the little squares that make up the display on your
screen. Typically there are 640 pixels across the screen and 480
down it, or 800 pixels across the screen and 600 down it, or 1024
pixels across the screen and 768 down it, depending on screen
resolution.
Plotrepeat Perc_off
Pixrepeat Perc_on
Percstart Perc_off
Perc_on
line type 4
50%
70%
80%
100%
32 pixels
line type 4
50%
70%
80%
100%
Macros 17-1
Writing my first macro
In this example, you are going to create a small macro using
Windows Notepad.
Initially, your macro will be just two lines long. It will draw a single
circle with a radius of 10 in the centre of the screen.
1. Open up Notepad and type in the following line:
CIR [0,0] [10,0] [#]
END
If you are using Windows ‘95 you might find that Notepad saves
your file as TEST1.MAC.TXT. In this case, type the file name into
Notepad with double quotes around it: “TEST1.MAC”
3. Go back into AllyCAD, and choose Exec Macro from the File
Menu. Choose TEST1 as the macro that you wish to execute. The
circle is drawn.
The macro command CIR that you have used has drawn a circle with
its centre at coordinate [0,0]. The circle's circumference passes
through the coordinate [10,0]. The [#] simulates the [Space Bar] or
Done being pressed to end the circle drawing function. If you did not
add the [#], AllyCAD would prompt you to draw another circle.
END is always typed at the end of a macro to ensure that it
terminates properly.
Type a radius for the circle, then click on the button or press
[Enter]. The circle is drawn with the radius that you specified.
You use the ENTER function whenever you need numeric or text
input from the user. The R at the end of the command is called a
variable, because its value changes depending on the number that
the user types.
You could use any letter (and some letter combinations - see
Description, later in this chapter). However, it is useful to use letters
that mean something, like R for Radius, where possible.
If you need text input, the variable must be followed by a “$” sign.
This is called a string variable. For example, the following macro will
print your name at the coordinate position [0,0]:
ENTER "Type your name" N$
TEXT [0,0] N$ [#]
END
Macros 17-3
This time, AllyCAD prompts:
Enter circle centre position
Position your cursor where you want the circle centre to be and press
[Enter] or click. AllyCAD prompts:
Type circle radius
Type a radius for the circle, then click on the button or press
[Enter]. The circle is drawn at the position you specified, with the
radius you specified.
You use the CUR function whenever you want a coordinate from the
user. The X and Y variables at the end of the command contain the
coordinate position that the cursor was at when the user pressed
[Enter] or clicked.
The K variable is a check to see whether the user has cancelled the
function. If the user has decided against entering the coordinate that
you asked for by pressing the done button or the [Space Bar], the K
variable will contain the number 1. Otherwise, it will contain 0. The
use for this is shown in the Flow of Control Commands section later
in this chapter.
And finally...
After a period of time, it is sometimes difficult to remember what
your macro does! It is good practise to make liberal use of REM
statements. Lines that start with the word “REM” are ignored. They
are simply there to remind you about what is going on.
REM macro to draw a circle with a cross through it
CUR "Enter circle centre position" X Y K
ENTER "Type circle radius" R
REM make the cross five units larger than the circle
L=R+5
REM draw the circle
PEN 2
CIR [X,Y] [X+R,Y] [#]
REM draw a cross at the circle centre
LINETYPE 4 3
LINE [X-L,Y] [X+L,Y] [#]
LINE [X,Y-L] [X,Y+L] [#]
Macros 17-5
divedln.mac
loadtitl.mac
movept.mac
polygon.mac
These can all be found in your macro sub-directory, and you can
look at them by loading them into Windows Notepad.
Confused?
If there is a command you don't understand or that you can't get to
work properly, it is a good idea to do one of the following.
Go into AllyCAD and click on the white part of the Control Bar (the
command line) so that a flashing insertion point appears in it.
Alternatively, press the / key to move the insertion point into the
command line. Type the name of the command, for example:
CIR
and press [Enter]. See what AllyCAD does next. In this case, it will
prompt Enter centre point of circle. Now you know that the next
thing in the command is the coordinates of the circle centre point.
Type:
CIR [0,0]
and press [Enter]. AllyCAD prompts Enter point on circle. Now you
know that the next thing in the command is the coordinates of a
point on the circle circumference. Type:
CIR [0,0] [10,0]
and press [Enter]. AllyCAD draws a circle and prompts you for
another circle centre. You need to add a [#] to terminate the function.
Type:
CIR [0,0] [10,0] [#]
and press [Enter]. AllyCAD draws the circle, then the circle drawing
function ends.
4. Open the file containing the macro you are writing. Paste the text
parameter line into it.
This method is also useful for setting up the correct paper size, scale
units, coordinates etc. Open a new, empty AllyCAD drawing and use
Drawing Settings in the Settings Menu to set up the paper size,
scale, units etc. Then export the drawing as a macro.
Macros 17-7
Finding Files
Using.\ in the path of a file you are trying to access from a macro
means that you don't have to know the drive that the user is using,
the name of their Program Home or User Home directories, etc.
If you don’t know what Program Home and User Home directories
are, see Installation in the User Guide.
For example
chain “.\macro\test.mac”
AllyCAD will look for the file test.mac in the macro directory inside
the user's User Home directory. If it can't find it, it will look to see if
there is a macro directory inside the user's Program Home directory.
If it can't find it there either, it will give up.
If you want to access a file in a AllyCAD sub-directory that is not
called macro, give a path like this:
.\mechmate\data.dat
For example
OPEN 0 “.\mechmate\data.dat”
Executing macros
As you have seen, you can execute a macro using Exec Macro in the
File Menu.
However, it is often more convenient to assign the macro to a menu,
an icon or an accelerator key. For example, in the standard AllyCAD
menu, the commands for Move Point and Cut&Rub in the Modify
Menu are both defined by macros. See CAD.MEN for details on how
to add a macro to a menu, icon or accelerator.
Statements
The AllyCAD macro language allows the following statement types:
Statement Type Example
Commands CIR [X,Y] [X+R,Y] [#]
Assignment L=R+5 or N$=“Rocket Scientist”
Control Statements IF.... ELSE, etc.
Coordinate input CUR "Enter circle centre" X Y K
Data input ENTER “Type circle radius” R
Macros 17-9
Special Characters
Some characters have a special meaning in the macro:
Numeric variables
Variable names can be up to 31 characters long, and can include
letters, numbers and the underscore character. There is no limit to
the number of variables that you can use. Variable names are case
insensitive, thus MaxValue equals maxvalue equals MAXVALUE. All
numeric variables are full precision floating point. (64 bit floating
point, about 15 decimal digits of precision)
String variables
String variables always end with a $. The length of the total name
including the $ sign should be less 31 characters or less. There is no
limit to the number of string variables that you can use, or to the
length of the string contained in them.
Coordinate Pairs
Whenever AllyCAD expects a coordinate, the x and y parts of the
coordinate must be supplied in square brackets separated by a
comma. The first part of the coordinate is always the horizontal part
and the second is always the vertical part.
The following command draws a circle with its centre at coordinate
[0,0]. The circle's circumference passes through the coordinate
[10,0]:
CIR [0,0] [10,0] [#]
Macros 17-11
CIR
If you do not include [#] in the CIR example, AllyCAD will prompt you
to enter the centre point of another circle.
In the STRETCH example, the coordinates [-100,-100] and
[#100,100] define the box within which stretching must take place.
The # is put before the last coordinate defining the box, to tell
AllyCAD that the box has now been defined.
The [90,0] coordinate tells AllyCAD which point must move, and the
[200,0] coordinate is the point that the [90,0] coordinate must move
to.
@ This denotes relative x and y coordinates. The @ is placed within
the square bracket and before the x coordinate: [@x,y].
% This moves the cursor to an absolute coordinate position and
leaves it there. Subsequent co-ordinates will be relative to this
position. The % is placed within the square bracket and before
the x coordinate: [%x,y].
& This sets a snap mode during coordinate entry. For example:
LINE [&Tx1,y1] [&Px2,y2] [#]
draws a line with the first point doing a tangent snap near x1,y1 and
the second point doing a perpendicular snap near x2,y2.
The & sign must be followed by the letter representing the snap
mode. The letters are:
F Freehand
A Grab All
G Grid
J Jump (Point)
I Geometry Intersection
O Any Intersection
Examples:
The following examples all draw a box in different ways.
LINE [100,100] [150,100] [150,150] [100,150] [100,100] [#]
[100,100] [150,100]
LINE [%100,100] [@50,0] [@50,50] [@0,50] [@0,0] [#]
Maths Functions
The following maths functions are available. You can use formulae,
for example (a+b)/3+c. The parentheses will force the calculation of
the plus before the division. You must not include any spaces in a
mathematical expression.
Macros 17-13
As calculations must be made in units like millimetres, metres,
decimal feet, decimal inches and degrees, you can use the functions
given in the Coordinate to String Functions in the String Functions
part of this chapter to convert these units to and from properly
formatted strings such as 1’2+3/16” or N45º23’3”W.
Arithmetical
Square root SQRT(x)
Integer INT(x)
Exponential ^
Plus +
Minus -
Multiplication *
Division /
Absolute value ABS(x)
Logarithm LOG(x)
Natural logarithm LN(x)
Trigonometrical
All the trigonometrical functions work in degrees, with angles
measured anti-clockwise from 3 o'clock.
SIN(x)
COS(x)
TAN(x)
ASIN(x)
ACOS(x)
ATAN(x)
ATAN2(y:x) (note the two arguments separated by a colon)
Logical Operators
The following logical operators give a result of YES (1) or NO (zero)
and are normally used with the WHILE or IF commands:
The equal to sign =
The greater than sign >
The less than sign <
The not equal (hash) sign #
The statements inside the curly brackets will be executed if the value
of variable A is greater than 10 and the value of variable B is less
than 7.
AllyCAD's macro language allows you to read in ASCII files and take
values from them.
The statement:
EOF (filenumber)
gives a result of 1 if the end of the file has been reached. Otherwise it
gives a result of 0.
The filenumber is the number of the file you are querying. You can
have up to four files open at once, numbered 0, 1, 2 and 3. See ASCII
Files, later in this chapter.
Macros 17-15
General Purpose Functions
Assignment
SETCUR x y
Sets the cursor at a given x,y position. This enables you to move the
cursor under program control.
RUBBERBAND v
SETMACUNDO 1
SETASKJUMP 0 / 1
MESS "message"
BEEP t f
Produces a beep, where t is the length of time the beep will last for in
milliseconds, and where f is the frequency of the beep in Herz. For
example:
REM
END
Macros 17-17
Flow of Control Commands
WHILE
Example:
I=0
Y=0
WHILE (I<10)
{
TEXT [0,Y] "AllyCAD" [#]
Y=Y-10
I=I+1
}
END
This macro prints the word "AllyCAD" onto the screen ten times.
OPEN 0 "c:\AllyCAD\users\guest\macro\test"
WHILE (1)
{
READ 0 X Y
POINT [X,Y] [#]
IF(EOF(0))
{
BREAK
}
}
CLOSE 0
END
This macro opens a file called "test" which contains coordinate pairs.
See ASCII Files, later in this chapter). It reads in all the lines of the
file and plots the coordinates as points, until the end of the file is
reached. See BREAK and IF later in this section for further
explanations.
This macro draws a cross in the centre of a circle chosen by the user.
It continues to prompt the user to choose a circle until he clicks on
done or presses the [Space Bar]. See BREAK and IF later in this
section for further explanations.
BREAK
IF
IF (condition)
{
statements
}
ELSE
{
statements
}
Macros 17-19
If the condition is true, the statements under the IF are carried out.
Otherwise, the statements under the ELSE are carried out. The ELSE
part is optional. The curly brackets must be on a separate line. For
example:
IF(A>10&B<7)
{
TEXT [0,0] "AllyCAD" [#]
}
CHAIN
See Hints and Tips earlier in this chapter for details on how to
specify the path to the macro you want to chain to
You can also call other programs (for example Visual Basic
programs). These programs can communicate back to AllyCAD. See
Running Other Programs.
ENTER
ENTER "prompt" variables
ENTER allows you to prompt the user for numbers or text. You can
give up to 15 variables. See Description for a summary of numeric
and string variables.
Example:
ENTER "Type circle radius" R
CIR [0,0] [R,0] [#]
CUR
CUR "prompt" x y k
CUR prompts the user for a cursor position. x and y are the
coordinates of this cursor position and k is set to 1 if the user has
exited the function by clicking on done or pressing the [Space Bar].
Example:
CUR "Enter position of circle centre" x y k
IF (k)
{
REM user has exited from drawing circles
BREAK
}
ENTER "Type circle radius" R
CIR [X,Y] [X+R,Y] [#]
END
REPLY
R = REPLY("prompt")
The variable R is given the value 1 if the user clicks on the YES
button or presses [Enter] and 0 if the user clicks on the NO button.
For example:
R=REPLY("Do you want to continue")
Macros 17-21
NOREPLY
N = NOREPLY("prompt")
The variable N is given the value 0 if the user clicks on the YES
button or presses [Enter], and 1 if the user clicks on the NO button.
TOPMENU
TOPMENU A "Menu Choice 1,Menu Choice 2,Menu Choice 3,Menu
Choice 4,Menu Choice 5,etc."
VAL$
a$=VAL$(n,width,ndecimal)
a$ will be " 3.14". There are a total of six characters - two spaces in
front of the 3; 3,., 1 and 4. Two of these characters are after the
decimal point.
JOIN
a$=JOIN$(b$,c$)
SUBSTR$
a$=SUBSTR$(b$,startpos,endpos)
Macros 17-23
LEN
a=LEN(a$)
STRCMP
a=STRCMP(a$,b$)
Compares string a$ to string b$. If the two strings are the same, a is
given the value 0. If a$ is less than b$ (e.g. a$ is Aardvark and b$ is
Zebra), a will be -1. If a$ is greater than b$, a will be +1.
VAL
n=VAL(a$)
n will be 123.45.
NUM
n=NUM(A$)
=
z=‘A’
Sets z to the ASCII code of ‘A’, which is 65. You can only give one
character, which must be enclosed within inside single quotes.
STRSTR
a=STRSTR(a$,b$)
a is 0.
Example 2:
a=STRSTR("HELLO DOLLY","DOLL")
a is 6.
Example 3:
a=STRSTR("HELLO DOLLY","NIKS")
a is -1.
STRUPR
a$=STRUPR$(b$)
a$ is "B".
STRLWR
a$=STRLWR$(b$)
Macros 17-25
a$=STRUPR$(B)
a$ is "b".
TRIM$
A$=TRIM$(B$)
Trims leading and trailing blanks from B$ and places the trimmed
string into A$.
TRIMLEFT$
A$=TRIMLEFT$(B$)
Trims leading blanks from B$ and places the trimmed string into A$.
TRIMRIGHT$
A$=TRIMRIGHT$(B$)
Trims trailing blanks from B$ and places the trimmed string into A$.
VALUNIT$
a$=VALUNIT$(n)
VALANG$
a$=VALANG$(angle)
VALUNIT
n=VALUNIT(a$)
VALANG
n=VALANG(a$)
VALANGREL$
A$ = VALANGREL$(A)
Macros 17-27
VALANGREL
A = VALANGREL(A$)
Example:
The following macro is more to illustrate string handling than to
serve a practical purpose. It queries the scale of your drawing, then
writes the scale onto your drawing in the form SCALE is 1:1, SCALE
is 1:50, SCALE is 1:100000 or whatever the scale is.
ENQUIRE SCALE s
s$=VAL$(s,10,0)
s$=TRIMLEFT(s$)
s$=JOIN$("SCALE is 1:",s$)
WTEXTPARM 127 1 0 0.010 1 "Times New Roman" 3 0 0 0 0 0 0 0 18 0
CUR "Enter position for text" x y
TEXT [x,y] s$ [#]
END
enquires the scale of your drawing, 50, and puts it into variable s.
s$=VAL$(s,10,0)
joins the "SCALE is 1:" part of the sentence to the scale, "50".
WTEXTPARM 127 1 0 0.010 1 "Times New Roman" 3 0 0 0 0 0 0 0
18 0
asks you for the position on the screen where you want "SCALE is
1:50" to be written.
TEXT [x,y] s$ [#]
Macros 17-29
Enquire Functions
The following enquire functions are in alphabetical order.
Places the current parallel defaults set for the 1 Parallel Element
function into variables.
ENQUIRE “ANGUNITS” u n z c
ENQUIRE “AREAUNITS” A A$ C
Inquires the currently set area units and places them into the given
variable. The variables have the following meanings:
A Area unit index. This can have the following values:
0 User defined
1 Square inches
2 Square feet
3 Square yards
4 Acres
5 Square miles
6 Square mm
7 Square cm
8 Square meters
9 Hectares
10 Square km
A$ Symbol for the area unit (e.g. "sq m")
ENQUIRE "ASKJUMP" J
ENQUIRE “COORDS” c x y
ENQUIRE “CURANCHOR” X Y
Places the coordinates of the last anchored point into x and y. If you
are using the rubberband command, the rubberband will be
attached at this point. In the following macro, the coordinate position
a+50,b+50 will be placed into x and y:
cur "enter point" a b
Macros 17-31
rect [a,b] [a+50,b+50] [#]
ENQUIRE “CURFIXED” X Y
Places the coordinates of the last fixed point into x and y. The last
fixed point is the one marked by the grey "x" on the screen, and
represents the position where the mouse was last clicked or [Enter]
was last pressed. In the following macro, the coordinate position a,b
will be placed into x and y:
cur "enter point" a b
rect [a,b] [a+50,b+50] [#]
ENQUIRE “CURHOLD” X Y H
ENQUIRE “CURMODE” a$
This function returns the cursormode in a$. Eg. “A” for Graball, “F”
for Freehand etc.
ENQUIRE “CURPOSN” x y
Checks the drawing for a data item with the text "bolthole" and
inserts the x and y coordinates of the data item into the variables x
and y. If the data item is not found, x and y return with the value -
999999.0.
Checks the drawing for a data item with the text "PAINT=GREEN"
and inserts the x and y coordinates of this data item into the
variables x and y. The text "GREEN" is placed into the variable P$. If
the data item is not found, x and y return with the value -999999.0
and P$ with the value "<NULL>".
ENQUIRE “DATE” d$
ENQUIRE “DIGITIZER” N$ F$ I$ C B D P S x1 y1 x2 y2 x3 y3 x4 y4 x5 y5 x6 y6
Enquires the current digitizer setup and places it into the following
variables:
N$ Digitizer type.
F$ Format string.
I$ Initialization string.
C Comport.
B Baud rate.
D Data bits.
P Parity.
S Stop bits.
x1, y1, x2, y2, x3, y3 The coordinates of the three scaling points
on the digitizer, in digitizer coordinates.
x4, y4, x5, y5, x6, y6 The coordinates of the three equivalent
scaling points on the screen, in current
screen coordinates
The variables are exactly the same as those used in the DIMPARM
function. See Set Dimension Defaults.
dimtextht Height of dimension text in tenths of a mm (on final
paper output).
ndecimal Number of decimals to display.
aspect
linefeed Distance between successive running dimensions.
witnesspen Color of witness lines and arrows. Pens are numbered
from 1 to 15 in the Color toolbar. 256 means pen By
Layer.
Macros 17-33
1witoffset Witness gap in tenths of a mm.
2witoffset Witness overshoot in tenths of a mm.
tolerance 1 if tolerances can be used, else 0.
Arch$ "A" for Architectural style dimensions, "M" for
Mechanical Style.
textpen Color of the dimension text. Pens are numbered from 1
to 15 in the Color toolbar. 256 means pen By Layer.
font$ Name of the font to use.
arrowlen Length of the dimension arrows in tenths of a mm.
arrowwid Width of the dimension arrows in tenths of a mm.
decimal$ decimal character "." or ","
ENQUIRE “DRGPATH” f$
If the file called "filename" exists, then 1 is placed into the variable a.
Otherwise, 0 is placed into a.
Note that you may have to give the full path of the file, e.g.
c:\AllyCAD\drawing\filename.drg.
ENQUIRE “FILENAME” f$
This queries the last area and perimeter measured using Polygon
Area in the Tools Menu. It places the last measured area into Area
and the last measured perimeter into Perim. It also places the X and
Y centroid of the polygon into Xcentroid and Ycentroid.
ENQUIRE “LAYER” A$
ENQUIRE “LAYERDEF” N$ V K P L W X Y
Enquires the details of the current layer and places them into the
given variables, as follows:
N$ Layer name.
V This is 1 if the layer is visible and 0 otherwise.
K This is 1 if the layer is locked and 0 otherwise.
P Pen number assigned to the layer: A number between 0 and
15. Pens are numbered from 1 to 15 in the Color toolbar.
L Line type assigned to the layer: A number between 1 and 11.
Line types are numbered from 1 to 11 downwards in the Line
Type Display. By default, 1 is continuous, 2 is long dashes, 3
is short dashes etc.
W Width assigned to the layer (currently ignored, but included
for future reference).
X Layer magnification in the X direction (currently used for both
X and Y magnification).
Y Layer magnification in the Y direction (currently ignored, but
included for future reference).
Macros 17-35
256.
L Line type assigned to the layer: A number between 1 and 26.
Line types are numbered from 1 to 26 downwards in the Line
Type Display. By default, 1 is continuous, 2 is long dashes, 3
is short dashes etc.
W Width assigned to the layer (currently ignored, but included
for future reference).
X Layer magnification in the X direction (currently used for both
X and Y magnification).
Y Layer magnification in the Y direction (currently ignored, but
included for future reference).
ENQUIRE “LAYERMAG” m
ENQUIRE "LAYHIGHL" H$
ENQUIRE “LINEDEF” L P W C S F R G B
Places the current line and polyline defaults into the variables. The
variables are:
L Line type: A number from 1 to 29. Line types are numbered
from 1 to 29 downwards in the Line Type Display. By default,
1 is continuous, 2 is long dashes, 3 is short dashes etc. If the
line type is 256, then line type is set as By Layer.
P Pen number: A number from 1 to 255. If the pen is 256, then
line type is set as By Layer.
W Line width in 10ths mm.
C 1 for closed, 0 for open.
S Spline type: 0 for no spline, 1 for 3pt Bezier, 2 for 4pt Bezier.
F Fill type: 0 = no fill, 1 = hatch, 2 = solid fill.
R Red component of solid fill (0-255) or hatch index number if
fill is a hatch.
G Green component of solid fill (0-255).
B Blue component of solid fill (0-255).
Places the angle that the cursor is currently locked at into the
variable a.
Returns in Lname$ the name of the line style stored at index Lindex.
If you give an invalid index the returned name will be "Bad Index".
ENQUIRE “MACPATH” f$
ENQUIRE “NEARARC” x1 y1 xc yc x3 y3 c p l
Places the coordinates of the arc nearest to the cursor into variables
x1 y1 xc yc x3 y3.
xc yc is the coordinate position of the arc's centre.
x1 y1 The coordinates of the ends of the arc. If the arc is a circle,
x3 y3 x1 y1 and x3 y3 both mark the coordinate position of a point
on the circle's circumference at the 3 o'clock position.
c c is 1 if the arc has been drawn in a clockwise direction
between x1 y1 and x3 y3 otherwise it is 0.
p Arc Pen. Pens are numbered from 1 to 255.
l Line Types are numbered from 1 in the Line Type Display
Area.
The arc's pen and line type are placed into p and l If pen or line type
is given as 256, it means that the pen or line type is being set By
Layer. The pen and linetype variables are optional. If no arc is found
near the cursor, then all the variables are given the value 999999.0.
ENQUIRE “NEARDATA” A$ X Y
This places the text of the nearest data item into A$, and the position
of the data item into variables X and Y.
ENQUIRE “NEARLINE” x1 y1 x2 y2 P L
Places the coordinates of the ends of the line nearest to the cursor
into variables x1 y1 x2 y2 P L.
Macros 17-37
x1 y1 The coordinates of the ends of the line.
x2 y2
P Arc Pen. Pens are numbered from 1 to 255.
L Line Types are numbered downwards from 1 in the Line
Type Display Area.
If pen or line type is given as 256, it means that the pen or line type
is being set By Layer. The pen and line type variables are optional. If
no line is found near the cursor, then all the variables are given the
value 999999.0.
ENQUIRE “NEARPATNAME” a$ p q r s
Inquires the name of the nearest object and places it into variable a$.
If no object is found nearby, a$ is <NULL>. The x and y coordinates
of the bottom left corner of the object's snip box are placed into p
and q. The x and y coordinates of the top right corner of the object's
snip box are placed into r and s. If you do not know what an object
or snip box is, see Drawing Structure.
ENQUIRE “NEARTEXT” a$ x y
Places the text nearest the cursor into variable a$, and the x and y
coordinates of the text into variables x and y. The x and y variables
are optional. If no text is found near the cursor, x and y return with
the value 999999.0 and a$ with the value "<NULL>".
ENQUIRE "NUMLAYERS" N
ENQUIRE “NORTHEAST” n
will always have the horizontal coordinate first, then the vertical
coordinate.
ENQUIRE “PAPEREXTENTS” w h
Inquires the width and height of the currently loaded paper in mm,
and places these values in w and h.
ENQUIRE “PAPERSIZE” p
Places the drawing paper size into p. See the table in Settings
Functions to see which paper size p corresponds to.
ENQUIRE “PAPERUNITS” u
Enquires the currently set paper units and places them into u. Paper
units are defined as follows:
0 mm
1 meter
2 inches
3 user defined
4 feet and fractional inches
5 decimal feet
Macros 17-39
6 yards
7 km
8 miles
Places the current parallel defaults set for the Parallel Line function
into variables.
For each of the N lines you can then do an enquire:
where LineNum is the number of the line you are querying. For
example, the following inquires the line type, pen, width and offset of
the second parallel line defined in the parallel line definition:
ENQUIRE “PARLLNLINEPEN” 2 l p w o
Enquires the currently set point style and size. Point style is a
number interpreted as follows:
0 Point
1 None
2 Cross
4 X Cross
8 Blip
In addition, another modifier can be added to the point style as
follows:
0 No modifier
32 Circle
64 Box
128 Diamond
If Enquire Pointdef returns a style of 34, the point style is a cross
with a circle around it (2+32=34).
The size is measured in mm on final paper output. However if the
size is given as a negative number, then it is interpreted as
percentage of the screen size. For example, a point size of -2 means
ENQUIRE “PORTRAIT” p
ENQUIRE “SCALE” s
ENQUIRE “SELDEF” Line arc text dims arrow data bitmaps polylines points
inserts
ENQUIRE “SURVDIMFORMAT” F
Macros 17-41
ENQUIRE “SURVDIMTEXT” A D A$ D$ N
This converts angle A and distance D to text strings A$ and D$. The
formats of A$ and D$ are defined by the Units and Angular Format
set in the Drawing Settings, and the settings in Set Survey Defaults.
N is the angle A represented in tenths of a degree. The purpose of
this function is surveying macros that automatically dimension a line
with its distance and bearing. A$ and D$ are the dimension text, and
N is the angle required by the WTEXTPARM function so that the
dimension text is written at the correct angle.
ENQUIRE “SURVTEXTORIENT” S
ENQUIRE “SYMPATH” f$
ENQUIRE “TEXTDEFAULTS” T1 T2 T3 T4 T5 T$ T6 T7 T8 T9 T0 Q1 Q2 Q3 Q4 Q5
The variables are exactly the same as those used in the WTEXTPARM
function. See Settings Functions):
T1 = height in tenths of a mm.
T2 = label origin.
T3 = width in tenths of a mm.
T4 = boxsize in % of screen size.
T5 = linespacing.
T$ = font name.
T6 = color.
T7 = angle in tenths of a degree.
T8 = 1 if bold, else 0.
T9 = 1 if italic, else 0.
T0 = 1 if underlined, else 0.
Q1 = 1 if struckout, else 0.
Q2 = 0 if left justified, 1 if centred, 1 if right justified.
Q3 = 1 if a there is a balloon around the text, else 0.
Q4 = PitchAndFamily.
Q5 = CharSet.
ENQUIRE “UNITS” u c
This function returns the name of the window number. Number goes
from 0 to nwin-1.
ENQUIRE “ZOOM” x1 y1 x2 y2
Places the coordinates marking the bottom left and top right extents
of the current zoom window into x1 y1 and x2 y2.
Macros 17-43
ASCII Files
The following functions allow macros to read and write ASCII files.
CREATE "filename"
Creates the file "filename" for subsequent writing. If the file exists
already, all the data in it is deleted. If no path is specified in the
filename, the file will be created in the current macro path.
Calls the Windows file load or file save dialog boxes. "Prompt" is the
title of the dialog box. "Path" is the default path that appears in the
dialog box. "Extension" is the default extension of the type of file you
want to load or save.
If you want the Windows load dialog box, set LoadOrSave to 1. If you
want the Windows save dialog box, set LoadOrSave to 0.
F$ is a variable name that receives the full path of the file that the
user selected. If the user cancels the dialog box, then F$ is filled with
the string "<CANCEL>". See the example at the end of this section.
Before using this command you should have a line that sets F$ to
nothing, i.e. F$="". Otherwise you may find that your macro ignores
the FILEMENU command.
If you use OPEN to open a file for writing, writing will start at the
beginning of the file. If you want to add on to the end of an existing
file, use OPENA to open the file.
This is the same as OPEN, but if you are writing to the file you have
opened, everything you write will be appended to the end of the file.
READ filenumber a d w$
Reads a line of the file and assigns values from the line to the
variables. There can be as many variables as you like in the variable
list. The line length read in is limited to 250 characters.
Fields on the input line can be separated by spaces or commas. If
there are not enough input fields, or the end of file has been reached,
then -99.e9 is assigned to numeric variables and "<NULL>" to string
variables. See the example at the end of this section.
READLN filenumber a$
Reads a whole line from a file (spaces and all) into the string variable
a$.
CLOSE filenumber
REWIND filenumber
TELL filenumber L
Places the current file offset of the file pointer into variable L.
SEEK filenumber L
Macros 17-45
EOF(filenumber)
This is a function that returns 1 if the end of the specified file has
been reached. See the example at the end of this section.
ENQUIRE EXIST
Example
This example shows you how to create an ASCII file containing
coordinates with site names. It then shows you how to write a macro
that reads and plots the coordinates and their names.
Open Windows Notepad and create a file containing the following
lines:
sitea 0 0
siteb 100 0
sitec 100 100
sited 0 100
After you have typed the last line and your cursor is positioned after
the last 100, press [Enter] so that the cursor moves down onto the
next line. Otherwise AllyCAD will not read the last line of the file
correctly.
Save the file you have created into your macro directory with a “.txt”
extension. Now open a new Windows Notepad file and create the
following macro:
REM ask user for name of coordinate file to load
F$=””
FILEMENU "Select coordinate file" "c:\AllyCAD\macro" "txt" 1 F$
REM open the coordinate file and call it 0
OPEN 0 F$
REM read in each line of the file. Plot the coordinate as a point and
REM write the coordinate's label at the coordinate point.
WHILE (1)
{
READ 0 L$ X Y
POINT [X,Y] [#]
TEXT [X,Y] L$ [#]
REM if the end of file 0 has been reached
REM stop reading the file
IF(EOF(0))
{
BREAK
}
}
REM close file 0
CLOSE 0
END
Macros 17-47
DDE Commands
The following functions allow AllyCAD to communicate with other
programs like Visual Basic and Excel, and vice versa.
SETMACVAR A 23.45
Sets the variable A to the value 23.45. This can then be used by the
other program.
WAITFORMESSAGE "messagename"
This causes the macro to wait until the other program sends it a
message. Once it receives the message, the macro continues onto the
next statement in the macro program.
The other program must use RegisterMessage with the same
Messagename, and then use the returned message number to signal
back to AllyCAD.
DDEExecute H "Command"
DDERequest H "Item" D$
SHOWWINDOW S
This command controls the AllyCAD window, and is useful for other
applications that want to "wake up" AllyCAD. It takes one argument,
which can have the following values:
SW_HIDE 0
SW_NORMAL 1
SW_SHOWMINIMIZED 2
SW_SHOWMAXIMIZED 3
SW_SHOWNOACTIVATE 4
SW_SHOW 5
SW_MINIMIZE 6
SW_SHOWMINNOACTIVE 7
SW_SHOWNA 8
SW_RESTORE 9
LinkExecute
Start AllyCAD, then run the Visual Basic program. A line and a circle
will be drawn on the screen. You can send any AllyCAD command
this way, so long as it is in the form of a string.
If you want to use variable values, these must be strings. For
example, suppose startx, starty, endx and endy are string variables
containing coordinate values, you could draw a line in AllyCAD as
follows:
Macros 17-49
DDE_Link_Box.LinkExecute “LINE [“ + startx + “,” + starty + “] [“+ endx
+ “,” + endy + “] [#]”
DDE Example 3
The following example starts a conversation with Microsoft Excel,
and places the words "Hello Excel" into the spreadsheet "SHEET1" in
the second row of the third column. It then reads the contents of the
first row of the first column and displays the result.
DDEConnect H "Excel" "Sheet1"
if (H)
{
DDEPoke H "R2C3" "Hello Excel"
DDERequest H "R1C1" D$
a$=join$("Value in cell R1C1 was ",D$)
mess a$
DDEDisconnect H
}
DDE Example 4
AllyCAD will also respond to DDE Execute requests from other
applications. If you make the DDE connection in the other
application with the server name as "KB_CAD" and the topic name as
"System", then you can send AllyCAD any macro command string,
and AllyCAD will execute it.
For example, the following Microsoft Excel macro connects to
AllyCAD, opens the Filter sample drawing, minimises AllyCAD and
displays it in its minimised form, then disconnects again:
Function testcad()
h = DDEInitiate("KB_CAD", "system")
DDEExecute h, "opendr c:\AllyCAD\drawing\filter.drg"
DDEExecute h, "showwindow 2"
DDETerminate h
End Function
These are not part of the parameters but mean you could add
more parameters, e.g. LINE [x,y] [x2,y2] [x3,y3] [x4,y4] [x5,y5] [#]
etc.
4. Due to space limitations, some functions are shown spreading
over several lines. However, in a macro, the function and all its
parameters may only occupy one line.
Macros 17-51
5. Refer to Description for details on variable names that you can
use. You can either use a variable name or an absolute value, for
example:
ROTATE [xc,yc] "Y" angle [#]
ROTATE [35,-10] "Y" 45 [#]
TEXT [x,y] "Lekker" [#]
TEXT [100,100] T$ [#]
SETPATH "c:\path\"
Sets the current default drawing file path to "c:\path\". Note the
trailing backslash, which is very important.
SETSYMPTH "c:\path\"
Sets the current default symbol file path to "c:\path\". Note the
trailing backslash, which is very important.
SETMACPTH "c:\path\"
Sets the current default macro file path to "c:\path\". Note the
trailing backslash, which is very important.
DELALL "YES"
Calls the Windows file load or file save dialog boxes. "Prompt" is the
title of the dialog box. "Path" is the default path that appears in the
dialog box. "Extension" is the default extension of the type of file you
want to load or save. If you want the Windows load dialog box, set
LoadOrSave to 1. If you want the Windows save dialog box, set
LoadOrSave to 0. F$ is a variable name that receives the full path of
the file that the user selected. If the user cancels the dialog box, then
F$ is filled with the string "<CANCEL>".
Before using this command you should have a line that sets F$ to
nothing, i.e. F$="". Otherwise you may find that your macro ignores
the FILEMENU command.
READANYFILE
Macros 17-53
OPENDR "filename"
READACAD "filename"
Loads the drawing file "filename". The coordinate position, scale and
rotation are only required if you are loading one cartesian coordinate
drawing onto another. See Load Drawing.
LOADGEOM "filename"
LOADMENU "filename.men"
SAVE
WRITEANYFILE
The parameters represent the check boxes in the Save Settings dialog
box. DoAutoBackup, AskUser, GetRef, SaveGeom and UseDOM all
have values of 1 or 0. If the value is 1, the relevant check box is
checked. If the value is 0 the check box is empty. Minutes must be
set to the number of minutes between autobackups. See Save
Settings.
AUTOSTTG 1/0 (store geometry automatically/don't store it) 0 (not relevant) 1/0
(use drawing office manager/don't use it)
Sets just the store geometry and drawing office manager settings in
Save Settings. See Save Settings.
BACKUPTM t
Saves the selection set as "filename". X,y is the reference point of the
saved drawing so it can later be loaded accurately into another
drawing using Load Drawing. See Save Selected.
Save all visible layers as "filename". X,y is the reference point of the
saved drawing so it can later be loaded accurately into another
drawing using Load Drawing. See Save Visible.
Macros 17-55
STOREGEOM "filename"
Imports the HPGL file "filename". The screen must be blank. See
Import HPGL.
Imports the ASCII text file "filename" as a text block at position x,y.
See Import ASCII.
IMPORTEXP "M" "Y/N" (all layers/just visible layers) "* *" (names of objects to
be exported) "filename"
Exports the text within the box or polygon defined by x1,y1 and
x2,y2 as an ASCII file called "filename". See Export Text.
HARDCOPY
Does a print with the given offsets and just plots the pens from
minpen to maxpen. (Minpen and maxpen are only relevant if plotting
to a pen plotter). See Print.
ZOOMPLOT
would plot to fit with a border of 10 mm, and from pen 0 to pen 15.
See Zoom Print
ZOOMPLOT "N" (to scale) scale [xcenter,ycenter] "N" (rotate) "Y" (satisfied) [#]
(no compass) xoffset yoffset minpen maxpen
The above command does a zoom plot at a certain fixed scale around
the xcenter, ycenter point given.
E.g.
ZOOMPLOT "N" 500 [0,0] "N" "Y" [#] 0 0 1 15
PRINTSETUP
Calls up the Windows Print Setup dialog box. See Print Setup.
EXEC "filename"
COMPILEMAC "filename"
ENCODE "filename"
EXECSTEP n "filename"
Executes the macro file "filename" one line at a time, starting at line
n. See Hints and Tips.
Macros 17-57
PURGE "Y/N" (remove duplicates) "Y/N" (remove unreferenced blocks) "Y/N"
(remove unreferenced layers) ! ! !
REPAIR "filename"
QUIT
UNDO
REDO
CUT
COPY
PASTE [x,y]
Pastes the contents of the Clipboard onto the drawing at position x,y.
x,y is the top left corner of the Clipboard contents, except in the case
of text. See Paste.
DELSELECT
Deletes the element nearest to x,y. The "Y" confirms the deletion.
Deletes the last few elements you have entered - the last three
elements in the example above.
Deletes all hatches with hook points within the box or polygon
defined by x1,y1 and x2,y2.
Macros 17-59
DELPAT [x,y] "YES" (confirms deletion) [#]
SELECTNORMAL
USEHANDLES 1/0
Selects the entities nearest to the coordinate x1,y1. See Select. You
can select entities close to several coordinate positions:
SELECT [x1,y1] [x2,y2] [x3,y3] [#]
SELECTNODES
SETCROSSINGSEL 0/1
SELECTDEF
SELECTDEF Line arc text dims arrow data bitmaps polylines points inserts
Sets the selection filters. The arguments are self explanatory if you
look at the Selection Filters dialog box. Set them to 1 or 0 depending
on whether or not you want to turn each particular filter on or off.
See Selection Filters. There is also a matching inquiry function. See
ENQUIRE SELDEF
CLEARFILTER
Ticks all the filters except current color, current line type and
current layer. See Selection Filters.
Selects objects with the parent name "parent" and the object name
"name". See Selection Filters. You can use the DOS wildcards * and ?
in parent and name. For example, to SELECT ALL, type:
SELECTNAME "* *"
SELECTLAYER "layername"
Macros 17-61
SELECTNEW 0/1
CLEARSEL
MOVETOBACK
Moves all the selected elements to the back of the drawing (First in
redraw order). See Move to Back.
Moves the elements at coordinates x1,y1, x2,y2 etc. to the back. See
Move to Back.
MOVETOFRONT
Moves all the selected elements to the front of the drawing (Last in
redraw order). See Move to Front.
Moves the elements at coordinates x1,y1, x2,y2 etc. to the front. See
Move to Front.
Zooms into the area defined by x1,y1 and x2,y2. See Zoom Window.
ZOOM "L"
ZOOM "N"
Goes to the next zoom if you have used Zoom Last. See Zoom Next.
ZOOM "A"
REDRAW
ZOOM "E"
ZOOM "V" n
Defines zoom view n to be the box defined by x1,y1 and x2,y2, where
n is a number between 0 and 9. The trailing blank string parameter "
" is to stop defining zooms. See Define Zoom View.
TOOLBARPOPUP
Pops up a menu giving a list of the current toolbars, with the visible
ones checked. You can alter visible state of any toolbar by clicking on
its name in the popup menu. You can also activate the toolbar popup
Macros 17-63
menu by right clicking on any toolbar between the buttons and the
frame.
MAGNIFY
DEMAG
PAN
Recentres the drawing about the current cursor position. See Pan.
Use SETCUR x y before calling pan so that the right spot is panned
to.
LONGPAN [x,y]
REFRESH
Draws a line from x,y to x2,y2 to x3,y3, etc.. See Line (Chained).
Draws a line from x,y to x2,y2 and another from x3,y3 to x4,y4, etc..
See Lines (Pt to Pt).
Draws an arc by its start and end points and its radius. If you want
the arc to be drawn between the start and end points in an anti-
clockwise direction, give a negative value for the radius. See Arc
Radius.
Draws a circle between x1,y1 and x2,y2. The circle centre is exactly
between these points. See Circle 2 Point.
Macros 17-65
BENTLINE [x1,y1] [x2,y2] rad1 [x3,y3] rad2 [x4,y4].... [#]
Draws a line arc line sequence. See Line Arc Line. Rad1 is the radius
of the corner defined by the points x1,y1, x2,y2, x3,y3. Rad2 is the
radius of the corner defined by the points x2,y2, x3,y3, x4,y4.
Draws "fresh" parallel lines from x1,y1 to x2,y2 to x3,y3 etc. using
the defaults set in Parallel Defaults in the Settings Menu. See Parallel
Line.
Draws a parallel line arc line sequence using the defaults set in
Parallel Defaults in the Settings Menu. x1,y1, rad1 etc. are the same
as in BENTLINE, above. See Parallel Line.
Draws lines or arcs parallel to, and a fixed distance from, an existing
line or arc. See 1 Parallel Element. If you want more than one parallel
line, leave out the autotrimming / no autotrimming option. X,y is a
Copies a portion of a geometry circle to a solid arc. See Fill Geom Arc.
X1,y1 and x3,y3 are the coordinates of the ends of the arc. X2,y2 is a
point on the arc.
Macros 17-67
ELL [xc,yc] majora aspectr angle [#]
Enters part of an ellipse. Majora, aspectr and angle define the major
axis, aspect ratio and angle of the complete ellipse. The part ellipse is
drawn between the coordinates xcut1,ycut1 and xcut2,ycut2 on the
complete ellipse's boundary. It is drawn between the coordinates in
an anti-clockwise direction. See Part Ellipse.
Draws a circular spline through the coordinates x1,y1, x2,y2 etc. See
Circular Spline.
Draws a cubic spline through the coordinates x1,y1, x2,y2 etc. Each
spline segment is made up of n line segments. See Cubic Spline.
Draws a polyline or Bezier curve from x,y to x2,y2 to x3,y3, etc.. See
Polyline.
Adds the symbol called "symname" from the currently loaded symbol
file (use NEWSYMFL in the File Menu to load a symbol file). Symbol
names are case sensitive. The symbol appears at position x,y and
with the scale and rotation given. This function is not exactly the
same as the interactive one used by the Symbol function, as it does
not rotate the symbol onto lines, allows only one global scale for the
whole symbol and does not automatically snip around the symbol.
SYMBOL
Macros 17-69
Modify Functions
Stretches items within the box defined by x1,y1 and x2,y2. Note the
# sign that must be placed before the second box coordinates. The
contents of the box are stretched from coordinate xfrom,yfrom to
coordinate xto,yto. See Stretch.
MIRROR [x1,y1] (1stpoint on axis) "A" (arbitrary axis) [x2,y2] (2nd point on axis)
"Y/N" (keep old half/discard old half)
Mirrors the selection set about an arbitrary axis. X1,y1 and x2,y2
define the axis. See Mirror.
Scales the selection set about coordinate x0,y0, by the numeric scale
factors xscale and y scale. See Scale.
Scales the selection set about coordinate x0,y0. The coordinate x1,y1
is scaled to position x2,y2. See Scale.
Rotates the selection set about xc,yc by an angle given from the
keyboard. See Rotate.
Rotates the selection set about xc,yc. Point x0,y0 is rotated to point
xr,yr. See Rotate.
Macros 17-71
CHAMFER "D" (by distance) [xline1,yline1] [xline2,yline2] dist1 dist2 [#]
WSNEWLAY "D"
Moves the selection set to layer "D". See Move Selected->New Layer.
COPYTOLAYER "layer"
Copies the selection set to a layer called "layer". See Copy Selected-
>New Layer.
Converts all ellipses within the box defined by x1,y1 and x2,y2 to 12
arcs. Note the # sign required before the final set of coordinates. See
Ellipse2Arcs.
Draws a geometry line through the points x1,y1 and x2,y2. See Point-
Point Line.
GLINEPRL "N" (through point) [x0,y0] (orig_line) [xp,yp] (parallel line) [#]
Macros 17-73
GCTANLC dia [xl,yl] (line) [xc,yc] (circle) [#]
TOGGEOM
Deletes the geometry element closest to x,y. See Delete Geometry El.
DELGEOM "YES"
Deletes all the geometry on your drawing. See Delete All Geometry.
Macros 17-75
Annotate Functions
Edits selected text so that it reads "newtext". See Edit Text. If you
have selected more than one piece of text, these will be updated in
the order you entered them. For example:
EDTEXT "E" "first" "second" "third"
EDTEXT "S" s
EDTEXT "C"
Brings up the Set Text Defaults dialog box. See Change Text
Parameters.
SETALIGN 0/1 (align to each other/to grid) 0/1 (vertical align off/on) 0/1 (vertical
distribute off/on) 0/1/2 (vertical top/centre/bottom) 0/1 (horizontal align off/on)
0/1 (horizontal distribute off/on) 0/1/2 (horizontal left/centre/right).
ALIGN
Aligns the selection set according to the way that the Align dialog box
has been set up. See Align.
VDIM
SDIM "Y" (fixed angle) ang "R/C" (Running/Chained) [xtext,ytext] [x1,y1] [x2,y2] !
[x3,y3] ! [x4,y4] !... [#]
SDIM "Y" (fixed angle) ang "F" (Free) [xtext,ytext] [x1,y1] [x2,y2] ! [#]
SDIM "Y" (fixed angle) ang [xtext,ytext] [xlead] [ylead] [x1,y1] [x2,y2] ! [x3,y3] !
[x4,y4] !... [#]
Macros 17-77
SDIM "Y" (fixed angle) ang "Y/N" (witness lines at +60/+120 degrees) "R/C"
(Running/Chained) [xtext,ytext] [x1,y1] [x2,y2] ! [x3,y3] ! [x4,y4] !... [#]
SDIM "Y" (fixed angle) ang "Y/N" (witness lines at +60/+120 degrees) "F" (Free)
[xtext,ytext] [x1,y1] [x2,y2] ! [#]
"N" means not satisfied with the arc radius, and xn,yn is the new arc
radius position. See Angular Dimension.
Edits the witness line color of the dimension whose text is at position
x,y. Pens are numbered from 1 to 255. See Edit Dimension Properties.
Macros 17-79
CUTDIMLN [x,y] (selectdim) [x1,y1] [x2,y2] [#]
Searches for the dimension text at the coordinate position x,y and
changes it to "newtext". The dimensioned object is stretched to fit
"newtext". The extra "Y" at the end is required for the function to end
properly. See Alter Dimension.
Draws an arrow from x1,y1 (the tail) to x2,y2 (the head). Note that
you have to give the coordinate of the arrow head twice, and that a #
is required before the the last coordinate. See Add Arrow. To create
an arrow with several segments, use the following:
ARROW [x1,y1], [x2,y2], [x3,y3]... [xn,yn] [#xn,yn] [#]
Brings up the Hatch/Solid Fill dialog box. See Enter Hatch/Solid Fill.
Starts a hatch perimeter with a given index. All lines and arcs
subsequently entered will be part of this perimeter until you start a
new object, e.g. using the STARTOBJ command. For example:
STARTHAT testhatch 1
LINE [-50,-50] [50,-50] [50,50] [-50,50] [-50,-50] [#]
CIR [0,0] [20,0] [#]
STARTOBJ newobject
PLOTHAT
Macros 17-81
STARTHATCHEX "Object_Name" HatchIndex bOverRide HatchPen HatchScale
Shows all the hatching on the screen. See Draw All Hatch.
PLOTWHAT
PICKHATX [x,y]
Copies the hatch index from an existing hatch or solid fill perimeter.
x,y is a point on the perimeter of the hatch or solid fill whose hatch
pattern you want to use.
If you type "Y" for a coordinate table, the coordinates of points x1,y1,
x2,y2 etc. will be written into a table at position xtable,ytable. If you
type "N" to label points, the coordinates of points x1,y1, x2,y2 etc.
will be written next to the points. If you type "N" to label points, do
not include xtable,ytable. Coordinates will be displayed in the order
Northing,Easting or Easting,Northing, depending on how you have
set up Drawing Settings in the Settings Menu. See Label Coord.
Macros 17-83
Tools Functions
LOCKANG "L"
Sets the lock angle that the cursor will be locked to: "L" (Line), "J"
(Jump and Lock Line), "G" (Geometry Line) or "K" (Keyboard). See
Lock Cursor.
YPERP
ISO120
Toggles the lock angle between the angles used in isometric drawing.
See 120 deg.
CURSORHOLD
Toggles locking the cursor to the lock angle and unlocking it. See
Hold.
LOCKANG "U"
Unlocks the cursor and cancels the lock angle. See Unlock.
JUMPALL
Jumps to the nearest point inside the Grab All cursor. See Jump to
Grab All Cursor.
JUMPGEOM
JUMPGD
JUMPINT
JUMPPT
Jumps to the nearest circle or arc centre. See Jump Circle Centre.
JUMPNEAR
JUMPFIXED
If you type "Y" and leave out x1,y1 and x2,y2, the cursor will jump to
a fixed ratio along the nearest line. If you type "N", the cursor will
jump to a fixed ratio between the points x1,y1 and x2,y2. See Mid
Point Jump and Ratio Jump.
CURTOCOORDENTER [x,y]
CURTOCOORD [x,y]
Jumps the specified distance and angle. The way the angle is
measured depends on how you have set it up in Drawing Settings.
HOME
Macros 17-85
SHOWNODE
Dumps data about the drawing into the ASCII file "filename". To
dump data for all layers, type "*" for layers. To dump data about all
objects type "* *". See Dump Data.
In this example, data about all the objects with the parent name
"EXTWALLS" and on the layer "BUILDING" are written to the file
"datafile".
GRIDDEF
Sets up a grid. Xspacing and yspacing are the x and y grid spacings;
density is the grid display density; pen is the color; and on/off is 1 if
the grid is to be displayed and 0 if it is not. The pen is a number
between 1 and 255. See Grid.
QRYAREA "A" (Autoperimeter) [x,y] (point inside perimeter) "Y" (satisfied with
perimeter) AVAR PVAR ! (skip pause) [#]
Queries an area inside a perimeter. Here AVAR and PVAR are the
variables into which the area and the perimeter are placed. See
Polygon Area and Perimeter Functions.
Enters a data item at x,y, with the text "data string". See Add Data
Item.
Edits the data item nearest to x,y. See Edit Data Item.
TIDYPOLY "A" (addnode) r (node_radius) [x1,y1] (node position) [#] " "
Adds a node with the radius r at position x1,y1. The trailing blank
enclosed in double quotes at the end is necessary to end the function
properly. See Tidy Polygons.
TIDYPOLY "T" (tidy boundaries) t (tolerance) [xn,yn] (start node) [xl,yl] (first line
segment) "S/K" (satisfied/keep old) [#] " "
Tidies the area of the drawing enclosed within the polygon defined by
x1,y1, x2,y2. See Tidy Polygons.
TIDYPOLY "C" (drawingcliptidy) t (clip tolerance) [x1,y1] [#x2,y2] [#] " "
Tidies the area of the drawing enclosed within the polygon defined by
x1,y1, x2,y2. See Tidy Polygons.
Macros 17-87
EXPAND "N" (circle) "Y/N" (enter circle/do not enter circle) [xcent,ycent]
[xrad,yrad] magfactor [xexpand,yexpand] "Y/N" (arrow joining circles/no arrow)
"detail" (new layer) !
EXPAND "Y" (box) "Y/N" (enter box/do not enter box) [x1,y1] [x2,y2] magfactor
[xexpand,yexpand] "detail" (new layer) !
BEGINGROUP "objname"
Starts a new object with the name "objname". Elements within the
object are grouped so you can select the entire object at once by
clicking on it. See Begin New Object.
STARTPAT "objname"
Starts a new object with the name "objname", but elements within
the object are not grouped.
LINKSEL "objname"
LINK "Y" (box) "E/L/F" (everything / lines and arcs only / annotations only) l p w
[x1,y1] [x2,y2]... [#x3,y3]
Moves the elements within the polygon defined by x1,y1, x2,y2 etc.
into the current object. You can move everything, lines and arcs
only, or annotations only. You can further filter what is added to the
current object by line type (l), pen (p) and width (w). To select
everything, give values of 0 0 0. Line types are measured downwards
from 1 in the Line Type Display. Pens are numbered from 1 to 255.
Groups the elements within the box defined by x3,y3 and x4,y4 into
an object called "objname". Elements within the object are grouped
so you can select the entire object at once by clicking on it. See Make
Symbol.
The object's hookpoint is at position xhook, yhook. Its snip box is
defined by x1snip,y1snip and x2snip,y2snip. You can also add
attributes to objects. In the example below, two attributes have been
added: "material", which has a default value of "pvc" and which is
Macros 17-89
located at position [50,0]; and "weight", which has a default value of
"100kg" and which is located at position [50,50]:
MAKESYM "objname" [0,0] [0,0] [50,50] [-10,-10] [#60,60] "material"
"pvc" [50,0] "weight" "100kg" [50,50] " " " "
EXPLODE
Shows objects with the name "parent object" and on the layer "layer",
one at a time. You can use wildcards, e.g. ALLPATS "*" "* *" to show
all objects on all layers. See Show Objects.
LISTPAT "Y/N" (all layers/visible layers) "Y/N" (include/don't include areas and
perimeterss) "fileneme" !(pause)
Renames the object nearest to x,y with the new name. See Change
Name.
Renames objects with the name "oldparent oldobject" with the new
name. See Change Name. You can use wildcards for "oldparent
oldobject", e.g. "* *".
Updates all objects with the same name as the current object. X,y is
the hook point of the current object. See Update Objects.
Selects the object at position x,y as the current object. See Select
Current Object.
Selects the object with the name "parent object" as the current
object. See Select Current Object.
BLNKCURP
Moves all selected items into a block with the given name, and the
given hook point.
Inserts the given block at the insertion point and gives it the required
scale and rotation.
INSERTINT
Macros 17-91
Settings Functions
SETPROMPT “prompt”
SETWAITCURSOR 0/1
This function switches the hourglass cursor off and on. Useful if you
are doing a long calculation
SETASKLOGON 0/1
SETWRITELOG 0/1
If set to 1, AllyCAD writes a log file of everything you do. See CAD.INI.
DRAWDEF
SETPORTRAIT 0/1
Sets the paper size to the specified width and height, measured in
mm. Sets the paper size option in the Drawing Settings dialog box to
User Defined.
Sets the paper units in the Drawing Settings dialog box. The units
can be set to any of the following:
0 mm
1 meter
2 inches
3 user defined
4 feet and fractional inches
5 decimal feet
6 yards
7 km
8 miles
SETAREAUNITS A A$ C
Sets the area units. The variables have the following meanings:
A Area unit index. This can have the following values:
0 User defined
1 Square inches
2 Square feet
3 Square yards
4 Acres
5 Square miles
6 Square mm
7 Square cm
8 Square meters
9 Hectares
10 Square km
A$ Symbol for the area unit (e.g. "sq m")
C The number of square mm contained in the unit.
Changes the drawing paper size and scale. See Drawing Settings.
Papersize is a number corresponding to a paper size. Scale is the
scale that you want to draw at, e.g. if you want to draw at a scale of
1:100, then scale will be 100. If you want to draw at a scale of 1" to
100', then scale will be 1200. X,y is the point about which the
change to the new scale will take place, normally [0,0].
0 E 34x44"
1 D 22x34"
Macros 17-93
2 C 17x22"
3 B 11x17"
4 A 8.5x11"
5 LGL 8.5x14"
6 F 28x40"
7 Arch. C 18x24"
8 Arch. D 24x36"
9 Arch. E 35x48"
10 A0 841x1189mm
11 A1 594x841mm
12 A2 420x594mm
13 A3 297x420mm
14 A4 210x297mm
15 Use Driver Limits
SETUNITS
SETNORTHEAST 1/0
SETANGFORMAT u d m c
Sets the angular format. U is the unit to use and can be 0 (radians),
1 (decimal degrees), 2 (d.mm.ss), 3 (d°mm'ss") or 4 (Nd°m's"W). D is
the number of decimals to use when displaying angles. M is the point
from where angles must be measured and can be 3 (3 o'clock), 6 (6
o'clock), 9 (9 o'clock) or 12 (12 o'clock). C is 1 if angles should be
measured in a clockwise direction and 0 otherwise. These settings
only affect some functions, such as Polar Move and Survey
Dimension. In many functions, such as Rotate, angles are measured
in degrees anticlockwise from the 3 o'clock position regardless of the
angular format you have set. See Drawing Settings.
Macros 17-95
VIEWDEF
Briefly displays elements of the given line type and pen only. Line
types are numbered downwards from 1 in the Line Type Display.
Pens are numbered from 1 to 255.
USESWDOTTEDLINES 1/0
BACKCOL p
TOGCOORDS
TOGPOLAR
TOGGEOM
TOGARCDOT
SETPOWERBARFONT
Brings up the Control Bar Font dialog box. See View Settings.
Sets point style and size. Point style is one of the following numbers:
0 Point
1 None
2 Cross
4 X Cross
8 Blip
A modifier can be added to the point style as follows:
0 No modifier
32 Circle
64 Box
128 Diamond
So, if you want points to be drawn as crosses with circles around
them, give a style of 34 (2+32).
Point size is measured in mm on final paper output. However if you
type a negative number it is interpreted as percentage of the screen
size. For example, a point size of -2 means that points will always be
drawn at 2% of screen size regardless of magnification. See View
Settings.
TOGGLEBIGCURSOR
SETRULER 0/1
If set to 1, the ruler line is displayed at the bottom of the screen. See
View Settings.
SCROLLBAROFF
Macros 17-97
SCROLLBARON
TINYPSIZ s
Sets the size, s, below which objects are not drawn fully. The size
below which text is not drawn fully is determined in Set Text
Defaults in the macro language. See View Settings.
TOGPBOX
Displays all the objects on your drawing except the current object as
boxes. Typing TOGPBOX again returns your objects to full detail.
LOADTOOLBAR toolbarFileName.tbr
Loads a toolbar on the fly. The format of the toolbar file is exactly the
same as that of a toolbar section in the menu file.
DELTOOLBAR toolbarname
CENTREPAPER [x,y]
Moves the paper sheet with respect to the drawing. The centre of the
paper is moved to position x,y. See Re-Centre Paper.
SNAPDLG
CURMODE "F"
Changes the snap mode to Freehand ("F"). You can also change it to
"A" (Grab All), "G" (Grid), "I" (Geom Intersection), "N" (Nearest
Line/Arc), "E" (Circle Centre), "J" (Point), "P" (Perp) or "T" (Tan). See
Snap Modes.
CHMAG f
DXFSETTINGS
Defines a pen color shown in the Color toolbar. Pen is the number of
the pen whose color is being defined. Pens are numbered from 1 to
255. Red, Green and Blue are numbers between 0 and 255, which
determine the amount of red, green and blue in the pen being
defined. For example, red is defined by "255 0 0". White is defined by
"255 255 255". Black is defined by "0 0 0".
Defined pen colors are stored in the CAD.INI file in your user
directory.
TAKELPEN [x,y]
Picks line parameters from the line nearest to x,y. See Line Defaults.
Macros 17-99
PEN p
Sets the pen to p, which is a number from 1 to 255, e.g. PEN 2. See
Line Defaults. If you do not have the “Set AutoCAD colors” box
checked in the Pen dialog, then by default the numbers represent the
following colors (although you can change these default colors by
right clicking on the first sixteen color patches in the pen dialog):
0 Maroon
1 Red
2 Olive
3 Yellow
4 Lime
5 Green
6 Teal
7 Aqua
8 Blue
9 Navy
10 Purple
11 Fuschia
12 White
13 Grey
14 Black
15 Silver
256set pen By Layer
LINETYPE l p
Sets the line type to l and the pen to p. Line types are defined in the
linetype.mac file and are numbered downwards from 1 in the Line
Type Display. To set line type By Layer, give a line type of 256. Pens
are numbered as shown above. See Line Defaults.
LINETYPEDLG
Pops up the linetype dialog, to enable users to set pen and linetype
interactively.. See Line Defaults.
WIDTH w
LINESTYLEAPPLY
This applies the default line style to the entire selection set. You can
set the default line style with the LINETYPE, WIDTH, SETLINEDEF
or LINESYMBOL commands. The last 3 parameters only apply to
polylines. The variables should be 0 or 1, depending on whether you
want to apply that attribute or not.
Macros 17-101
EDITLP "N" (single) [xselect,yselect] newl newp neww [#]
Edits the line type, pen and width of the element closest to
[xselect,yselect] to newl, newp and neww. Line types are numbered
downwards from 1 in the Line Type Display. Pens are numbered from
1 to 255. See Line Defaults. To set pen or line type By Layer, give a
pen or line type of 256.
EDITLP "Y" (selection set) oldl oldp oldw newl newp neww [#]
Edits the line type, pen and width of the selection set to newl, newp
and neww. Line types are numbered downwards from 1 in the Line
Type Display. Pens are numbered from 1 to 255. See Line Defaults.
To set pen or line type By Layer, give a pen or line type of 256.
To change the line type, pen and width of the entire selection set,
give 0 0 0 as the values for oldl, oldp and oldw, e.g.:
EDITLP Y 0 0 0 2 5 5 [#]
SETLINEDASH
PLINEDEF
Brings up the Polyline Defaults dialog box. See Polyline Defaults and
SETLINEDEF.
GEOMPEN pen
Sets the geometry line color to the specified pen. Pens are numbered
from 1 to 255. See New Geometry Color.
TEXTDEF
Brings up the Text Defaults dialog box. See Set Text Defaults.
Picks text parameters from the text nearest to x,y. See Set Text
Defaults.
Macros 17-103
sufficient. If you want to ensure that you get a particular font, we
suggest that you create a sample of it using AllyCAD, write it out as a
macro using Export Macro, then use the values of Pitch&Family and
Charset that AllyCAD places after WTEXTPARM in the macro.
TEXTSTYLEAPPLY
This applies the default text style (Height, Width, Linespacing, Color,
Font, Angle, Lorg, Justification) to all text within the entire selection
set. You can set the default text style with the WTEXTPARM
command. See above). The variables should be 0 or 1, depending on
whether you want to apply that attribute or not.
DIMDEF
Brings up the Dimension Defaults dialog box. See Set Dim Defaults.
SURVEYDIMSETUP
Brings up the dialog box for Survey Dimension defaults. See Set
Survey Defaults.
ARROWDEF
Brings up the Arrow Defaults dialog box. See Set Arrow Defaults.
Sets the arrow defaults. Length and width are measured in tenths of
a mm. Pens are numbered from 1 to 255. See Set Arrow Defaults. To
set pen By Layer, give a pen of 256. Blob should be 0 or 1 depending
if you want arrow to be a blob or not. Slash should also be zero or 1
depending if you want the arrow to be a slash or not.
Edits the arrow head at x,y to the new length, width and pen.
Newlength and newwidth are in tenths of a mm. Pens are numbered
from 1 to 255. To set pen By Layer, give a pen of 256. See Set Arrow
Defaults.
NEWLAYER "Walls"
SHOWLAYER "Walls,ELEC"
Displayes the layers "Walls" and "ELEC". See Set Visible Layers.
EDITLAY
Macros 17-105
SETLAYERDEF N$ V K P L W X Y
SETLAYERDEFINDEX IX N$ V K L P W X Y
Locks or unlocks the layer layername. 1 locks the layer; 0 unlocks it.
ALLLAYER "Y/N"
LAYHIGHL "O/P/R"
HATCHSYLEAPPLY
Macros 17-107
STARTOBJ “”
WINDOWCASCADE
WINDOWTILEHORZ
WINDOWTILEVERT
WINDOWNEW
WINDOWCLOSE winname$
Closes the window with the given name. See the ENQUIRE functions
for “NUMWINDOWS” and “WINDOWNAME” for number of windows
and window names.
WINDOWCLOSEALL $
WINDOWACTIVATE winname$
Macros 17-109
Perimeter Functions
PARLLINEPERIM
QRYAREAPERIM
This command hatches the current object. After you have used
HATCHPERIM, the current object is converted to a hatch perimeter.
When you use HATCHPERIM the Hatch/Solid Fill dialog box appears
so you can select the hatch pattern or solid fill you want to use.
If you do not want this dialog box to appear, use the STARTHAT or
STARTSOLID commands to create the hatch.
CIRPERIM
This command behaves as though you had selected the Circle icon
from the Perimeter menu. It prompts for a circle to be added to the
perimeter.
The circle is then copied to the current object where it can have
parallel lines added to it or be hatched or measured with the
functions HATCHPERIM, QRYAREAPERIM or PARLLINEPERIM.
If you do not use PARLLINEPERIM, QRYAREAPERIM or
HATCHPERIM after you have used CIRPERIM, you may end up with
duplicate circles on your drawing. See the CLEARCURROBJ
command.
RECTPERIM
Macros 17-111
LINE
You can use the ordinary LINE macro command to add lines to a
perimeter as though you had selected the Line Icon in the Perimeter
Menu.
When you use LINE, the lines you draw are added to the current
object, which can then have parallel lines added to it or be hatched
or measured using PARLLINEPERIM, QRYAREAPERIM or
HATCHPERIM.
OBJPERIM
This command behaves as though you had selected the Object Icon
from the Perimeter Menu. It prompts for an object to be added to the
perimeter.
The entire selected object is then copied to the current object where
it can have parallel lines added to it or be hatched or measured using
PARLLINEPERIM, QRYAREAPERIM or HATCHPERIM.
If you do not use PARLLINEPERIM, QRYAREAPERIM or
HATCHPERIM after you have used CIRPERIM, you will end up with a
duplicate object on your drawing. See the CLEARCURROBJ
command.
INTERSECTPERIM
AUTOPERIM 1/0
CLEARWS
This command clears the current object before you use CIRPERIM,
RECTPERIM, LINE, OBJPERIM, INTERSECTPERIM and
AUTOPERIM.
These functions create a current object which can then have parallel
lines added to it or be hatched or measured using PARLLINEPERIM,
QRYAREAPERIM or HATCHPERIM.
CLEARCURROBJ
Macros 17-113
CLEARCURROBJ
}
ELSE
{
REM if the user is satisfied, measure the current
REM object
REM qryareaperim automatically deletes the current
REM object after measurement
QRYAREAPERIM
}
}
END
SHOWPERIM
Macros 17-115
Compiled Macros
Version 3.00x of AllyCAD windows includes a compiled macro
language as well as the ‘old’ interpreted macro language. This
chapter introduces the compiled macro language and explains the
process of developing programs for execution by the AllyCAD
windows version 3.0x (and later) CAD system.
The compiled macro is a high-level CAD language, which can be used
to automate repetitive or complex tasks in the AllyCAD design
system. Compiled macro programs can be used to customize
AllyCAD to specific applications.
This guide describes the compiled macro language, how to compile a
macro program use File Compile Macro, how to run the program use
File Exec Macro, to assign the compiled macro to a keystroke, icon or
menu item see Customizing the AllyCAD Menu file.
The identifiers you choose must not be the same as any of the
compiled macro keywords, built-in commands or built-in functions
that are listed in Appendix B.
Numeric constants
A numeric constant can be specified in two ways; as a number or as
a character enclosed in single quotes.
Number form
The normal syntax of a numeric constant is:
[+|-][digits][.digits][E[-|+]digits]
Character constants
A single character enclosed in single quotes represents the ASCII
value of that character, and is treated as a numeric constant. For
example:
‘B’ equals 66 because the ASCII code for B is 66.
String constants
String constants are strings of printable ASCII characters enclosed
between quotation marks. The maximum length of a string constant
is 150 characters. To include a quotation mark in a string, precede it
with a backslash (\); for example,
This is a \”string constant\” containing quotation marks
For example, the following command draws a circle with its centre at
[5,5], and prompts the user to enter a point on the circumference of
the circle:
CIR [5,5] [?] [#]
Comments
There are three ways of inserting comments into a compiled macro
program.
Use an exclamation mark (!) as the first non-whitespace character in
a line. All characters in the line will be ignored by the compiler.
Use the keyword REM (for REMARK) in the line. The REM and all
text after it, until the end of the line, will be ignored by the compiler.
Comments can be embedded within a line, or can span several lines,
by starting the comment with the character pair /* and ending the
comment with */, as in the C programming language. Such
comments cannot be nested. They are very useful for commenting
out sections of a program. The following is an example of this type of
comment:
/* Here is a comment which
spans two lines */
String variables
The name of a string variable must end in a dollar sign. String
variables are classified as global or local, in the same way that
numeric variables are. The syntax of the declaration statement for
string variables is:
STRING stringvariable [=initialvalue]
Note that in this case, the square brackets are required, and do not
represent an optional item. The dimension must be a positive integer.
Within the program, elements of the array are referenced with the
following syntax:
arrayname[element_index]
Operands
An “operand” is a constant or variable value that is manipulated in
the expression. Each operand of an expression is also an expression,
since it represents a single value. A numeric operand can be any of
the following:
• a numeric constant
• a numeric variable
• an array element
• a built-in numeric function (described in section 4.5)
Operators
“Operators” specify how the operand or operands of the expression
are manipulated. There are three types of operators; arithmetic,
relational and logical.
Arithmetic operators
The arithmetic operators are as follows:
+ addition
- subtraction
unary minus (ie. the negative of a value)
/ division
* multiplication
^ exponentiation
For example:
X = 987
Y = -X
Relational operators
The relational operators compare their first operand with their
second operand to test the validity of the specified relationship. The
result of a relational expression is 1 if the tested relationship is true
and 0 if it is false.
Operator Relationship
<< First operand less than second operand
>> First operand greater than second operand
<<= First operand less than or equal to second operand
>>= First operand greater than or equal to second operand
= First operand equal to second operand
# First operand not equal to second operand
Logical operators
The logical operators perform logical-AND, logical-OR and logical
complement operations. These operators are represented by the
keywords
AND, OR and NOT.
Precedence of operators
The precedence of operators affects the grouping and evaluation of
operands in expressions. Expressions with higher-precedence
operators are evaluated first.
The numeric operators are listed here in descending order of
precedence. Operators listed on the same line are considered to have
equivalent precedence.
NOT, -, AT, PTR Logical complement, unary minus, indirection
operator, “address-of” operator
*, / Multiplication, division
^ Exponentiation
+, - Addition, subtraction
<<, >>, <<=, >>= Relational, inequality
=, # Relational, equality
AND Logical AND
OR Logical OR
Expressions in parentheses
You can enclose any operand or expression in parentheses ( ) without
changing the value of the enclosed operand or expression. For
example, in the expression:
(10 + 5) / 5
Arithmetic functions
The following numeric functions are available:
SQRT(x) Square root of x
INT(x) Integer portion of x
ABS(x) Absolute value of x
LN(x) Natural logarithm of x
Trigonometric functions
The trigonometric functions work in degrees, not radians:
SIN(x)
COS(x)
TAN(x)
ASIN(x)
ACOS(x)
ATAN(x)
ATAN2(y,x)
String-related functions
There are also some functions whose parameters are string values,
but which return numeric values:
STRCMP(a$,b$)
LEN(a$)
VAL(a$)
NUM(a$)
Returns the ASCII equivalent of the first character in the string A$.
For example:
N = NUM(“abc”)
REPLY (question$)
Example 2:
IF (REPLY (JOIN$ (string1$, string2$))
{
.
.
.
.
}
NOREPLY (question$)
JOIN$(string1$, string2$)
copies the string “The quick brown fox jumps over the lazy dog” into
string B$.
will copy the string “ 3.14” into A$. The string contains two spaces,
then “3.14”, giving a total width of six characters.
is “bc”.
CHR$(asciival)
STRUPR$(string$)
STRLWR$(string$)
Assignment statements
Numeric assignments
The general form of a numeric assignment statement is:
[numeric_variable | array_element] = numeric_expression
The expression on the right hand side of the assignment operator (=)
is evaluated and the resulting value is assigned to the numeric
variable or array element on the left of the assignment operator.
String assignments
The general form of a string assignment statement is:
string_variable = string_expression
The string expression on the right side of the assignment operator (=)
is evaluated and its value is copied into the string variable on the left
of the assignment operator.
The string variable on the left side, may also appear any number of
times on the right side. The right side is always evaluated fully before
its value is copied into the left side. The storage space which was
allocated to the left side is released for re-use by the program. For
example:
stringvar$ = “This is a short string”
stringvar$ = JOIN$(stringvar$, “which has been made\ longer”)
into stringvar$.
Here too, you can leave out the curly brackets if only one statement
is to be executed in the event of the expression being FALSE. IF and
ELSE statements can be nested, to a maximum depth of 20.
An example of nested IF statements is:
WHILE statement
The WHILE statement is used to repeatedly execute a statement of
group of statements while a certain condition is true. Its format is:
WHILE expression
{
statement
.
.
.
statement
}
SWITCH statement
The SWITCH statement has the following form:
SWITCH numeric-expression
{
CASE integer-constant1:
statement(s)
CASE integer-constant2:
statement(s)
.
.
.
DEFAULT : (Optional)
statement(s)
}
EXIT statement
The EXIT statement causes the compiled macro program to
terminate immediately. It may appear anywhere within the program.
Format of a procedure
A procedure consists of three parts:
• a PROC statement
• a sequence of statements forming the procedure body
• an ENDPROC statement.
The following is a simple example:
PROC doorcheck(NUMERIC front_lock, NUMERIC side_lock)
IF front_lock AND side_lock
CALL power_on
ELSE
CALL door_alarm
ENDPROC
Procedure parameters
In the PROC statement, the procedure name is followed by a list of
“formal parameters” in parentheses, and separated by commas. Each
formal parameter has the following form:
NUMERIC argname
or
The statement in the body of the procedure converts the text string
“label$” to uppercase and writes it at the coordinates [x,y]. You can
use the following statement inside the main body of the program to
call the procedure and write a label at coordinates [8,10].
CALL writelabel(“This is a label”,5+3,10)
where ”filename” is the name of the program text file, and x and y
are the line number and column number at which the error was
found. The offending line of the program is displayed after this
message, with a vertical bar (|) immediately after the token which
caused the error.
Other error messages that the compiler may produce are as follows:
Error: number of variables exceeds 500
If you are using more than 200 different numeric variables in your
program, try putting some of them into ARRAYs.
Error: number of string variables exceeds 200
Error: number of string constants in a statement exceeds 150
You may get this error message if you forget to terminate a comment
that starts with “/*”.
Error: String “...” too long; truncated.
You have two procedures with the same name in the macro. Change
the name of one of the procedures.
Error: maximum of 20 parameters per procedure
In this example, the zero followed by the -10 will be interpreted as (0-
10). To prevent this unintentional effect, enclose the “-10” in
parentheses as follows:
PARLLINE “Y” “N” 10 3 2 0 (-10) 4 2 0 0 “R”
ATAN2
WRITE
Keywords
AND ARRAY AT
BREAK CALL CASE
DEFAULT END PROC ELSE
END EXIT IF
NOT NUMERIC OR
P ROC PTR RETURN
STRING SWITCH WHILE
Function Name
• a_down move down (Accurate Drawing ).
• a_downnoask move down the same distance you moved last time you moved
down (Accurate Drawing ).
• a_downleft move down and left (Accurate Drawing ).
• a_downleftnoask move down and left the same distance you moved last time
you moved down and left (Accurate Drawing ).
• a_downright move down and right (Accurate Drawing ).
• a_downrightnoask move down and right the same distance you moved last time
you moved down and right (Accurate Drawing ).
• a_left move left (Accurate Drawing ).
• a_leftnoask move left the same distance you moved last time you moved
left (Accurate Drawing ).
• a_right move right (Accurate Drawing ).
• a_rightnoask move right the same distance you moved last time you moved
right (Accurate Drawing ).
• a_up move up (Accurate Drawing ).
• a_upnoask move up the same distance you moved last time you moved up
(Accurate Drawing ).
• a_upleft move up and left (Accurate Drawing ).
• a_upleftnoask move up and left the same distance you moved last time you
moved up and left (Accurate Drawing ).
• a_upright move up and right (Accurate Drawing ).
• a_uprightnoask move up and right the same distance you moved last time you
moved up and right (Accurate Drawing ).
abort_repeat repeat last function.
about about AllyCAD (Help).
addhatch Alter Existing Hatch (Annotate).
addrbaln Add or Remove Text Bubble (Annotate).
addsym n.i. (Draw).
adim Angular Dimension (Annotate).
Notes:
1
1 Parallel Element ...................................................................... 4-17
120 deg........................................................................................ 8-4
A
ABACKUP1.DRG ........................................................................ 1-30
ABACKUP2.DRG ........................................................................ 1-30
Accelerator Keys
adding macros to .................................................................... 14-8
customising ............................................................................ 14-6
Accept Button (in Perimeter Menu) ......................................... 12-144
Accuracy of AllyCAD................................................................. 10-11
Add Arrow.................................................................................. 7-61
Add Balloon ..................................... 7-63, see Add/Rem Text Bubble
Add Data Item............................................................................ 8-31
Add Nodes.................................................................................. 8-46
Add Text ...................................................................................... 7-2
Add/Rem Text Bubble........................................... 7-65, see Balloons
Adding Users.............................................................................. 13-3
Add-Ons, Loading ...................................................................... 1-18
Align ................................................................................... 7-7, 7-18
Alignment
aligning objects to a grid ........................................................... 7-7
aligning objects with each other ................................................ 7-7
aligning text ............................................................................ 7-18
spacing objects evenly ............................................................. 7-15
All Colours to Black ................................................................... 1-45
Alter Dimension ................................................................ 7-26, 7-55
Alter Existing Hatch ................................................................... 7-72
Angles
dimensioning .......................................................................... 7-36
how measured and displayed ................................................ 10-12
isometric ................................................................................... 8-4
locking the cursor to move at ......................................... see Cursor
measuring............................................................................... 8-28
querying.................................................................................. 8-34
Angular Dimension .................................................................... 7-36
Angular Format........................................................................ 10-12
dialogue box.......................................................................... 10-12
saving defaults ........................................................................ 13-1
Annotation to Draw.................................................................. 10-15
Application Error Message ......................................................... 1-51
Arc 3 Point................................................................................... 4-6
Arc Lengths
dimensioning .......................................................................... 7-36
Arc Lengths, Querying ............................................................... 8-34
Arc Radius ................................................................................... 4-7
Architectural Style Dimensions ....................................... 7-27, 10-44
Arcs
adding to a perimeter ..............................................12-144, 12-146
between 2 lines ................................................................. see Fillet
by 2 points and radius .............................................................. 4-7
by 3 points................................................................................ 4-6
circle by 2 points..................................................................... 4-11
circle by centre point and diameter ......................................... 4-10
circle by centre point and radius ............................................... 4-9
concentric circles .................................................................... 4-10
deleting part of........................... 5-20, 5-22, 5-23, 5-29, 5-33, 5-36
dimensioning arc lengths ........................................................ 7-36
dimensioning diameters .......................................................... 7-45
dimensioning radii .................................................................. 7-45
dividing................................................................................... 5-29
don't print or print incorrectly ................................................. 1-45
extending or shortening ............................... 5-20, 5-22, 5-23, 5-29
extracting information about ................................................... 8-21
joining ......................................................... 5-20, 5-22, 5-23, 5-29
line arc line sequences ............................................................ 4-12
parallel ............................................................... 4-15, 4-17, 10-28
projecting to geometry ............................................................. 6-36
splitting .................................................................................. 5-29
text around ............................................................................... 7-4
tracing over geometry arcs ...................................................... 4-23
tracing over geometry circles ................................................... 4-22
trimming.................................... 5-20, 5-22, 5-23, 5-29, 5-33, 5-36
viewing centre points ............................................................ 10-15
ARCTEXT.MAC ............................................................................ 7-4
Areas, Measuring .............................................................. 8-29, 9-13
Arithmetic Operators
in macros.............................................................................. 17-14
Arrows ........................................................... see Set Arrow Defaults
dimension ........................................................... see Dimensioning
drawing................................................................................... 7-61
editing ......................................................................... 2-13, 10-49
extracting information about ................................................... 8-24
part of arrow doesn't behave like an arrow .............................. 7-61
saving defaults........................................................................ 13-1
ASCII Files
exporting................................................................................. 1-41
importing ................................................................................ 1-39
Associative Dimensions .............................................................. 7-20
Attributes................................................................... 4-41, 9-4, 9-17
adding to an object in a drawing.............................................. 8-43
adding to an object in a symbol library .................................... 8-41
creating an object with ............................................................ 8-40
deleting from an object in a drawing ........................................ 8-43
deleting from an object in a symbol library .............................. 8-42
displaying ............................................................................... 1-36
editing in a drawing ................................................................ 8-43
editing in a symbol library....................................................... 8-41
extracting in a bill of materials ................................................ 8-36
inserting objects with attributes into a drawing ....................... 8-42
viewing in a drawing................................................................ 8-43
AutoCAD
block statistics ........................................................................ 1-32
centering drawings on the paper ........................................... 10-20
drawing origin ........................................................................... 1-7
drawing scale ................................................................... 1-7, 1-24
exporting bitmaps to ............................................................... 1-24
exporting colours to ................................................................ 1-23
exporting DWG files to............................................................. 1-21
exporting DXF files to .............................................................. 1-21
exporting fonts to .................................................................... 1-23
exporting line types to .................................................... 1-24, 16-2
imported drawings are very slow ............................................... 1-8
importing attributes from .......................................................... 1-8
importing colours from .............................................................. 1-6
importing dimensions from........................................................ 1-8
importing DWG files from ............................................ 1-3, 1-4, 1-9
importing DXF files from ............................................. 1-3, 1-4, 1-9
importing fonts from ................................................................. 1-6
importing line types from ................................................. 1-7, 16-2
part of imported drawing is missing........................................... 1-7
version .................................................................................. 10-55
what AllyCAD supports .................................................... 1-4, 1-22
Automatic Perimeter Tracking ................................................ 12-147
B
Background Colour .................................................................. 10-15
saving default.......................................................................... 13-1
Backups
.BAK files ................................................................................ 1-24
ABACKUP1.DRG ..................................................................... 1-30
ABACKUP2.DRG ..................................................................... 1-30
prompting for.......................................................................... 1-30
where stored ........................................................................... 1-30
Balloons.................................................... see Add/Rem Text Bubble
drawing................................................................................... 7-63
saving defaults........................................................................ 13-1
setting style .......................................................................... 10-51
Bearings .................................................................................. 10-12
Begin New Object ......................................................................... 9-6
Bezier Curves......................................................... 4-31, 4-33, 10-25
Bill of Materials................................................................. 1-36, 8-35
troubleshooting....................................................................... 8-44
Bitmaps
appear as hatched rectangles ................................................ 10-18
cut and paste............................................................................ 2-3
displaying .................................................. 1-14, 1-15, 1-16, 10-18
editing parameters .................................................................. 2-13
exporting to AutoCAD ............................................................. 1-24
loading........................................................................... 1-12, 1-17
moving behind other elements................................................. 1-13
placeholders.......................................................................... 10-18
real world pixel size................................................................. 1-13
resample mode...................................................... 1-14, 1-15, 1-16
saving drawings containing ............................................ 1-13, 1-24
viewing selected .................................................................... 10-18
Bitmaps to Draw ...................................................................... 10-18
Blink Current Object.................................................................. 9-25
Block Inserts
extracting information about ................................................... 8-25
Blocks
extracting information about ................................................... 8-19
purging unreferenced .............................................................. 1-52
statistics ................................................................................. 1-32
BOM ....................................................................see Bill of Materials
Bubbles ..................................... see Add/Rem Text Bubble; Balloons
C
CAD.INI ............................................................................ 13-3, 13-5
CAD.LOG ................................................................................... 13-3
CAD.MEN .................................................................................. 13-3
Calculations
in macros.............................................................................. 17-13
Cancel Button (in Perimeter Menu)......................................... 12-144
Centering Drawing on Paper..................................................... 10-20
Chained Dimensions .................................................................. 7-21
Chamfer..................................................................................... 5-27
Change Hook Point.............................................................. 9-3, 9-21
Change Magnify Factor............................................................. 10-22
Change Name...................................................................... 9-3, 9-19
Change Text Parameters............................................................... 7-6
Circle (Draw) ................................................................................ 4-9
Circle (Geometry).......................................................................... 6-7
Circle 2 Point ............................................................................. 4-11
Circle 3 Pt .................................................................................. 6-27
Circle Diameter (Draw) ............................................................... 4-10
Circle Diameter (Geometry)........................................................... 6-8
Circle Tan 3L ............................................................................. 6-19
Circle Tan CC............................................................................. 6-14
Circle Tan CPtRad...................................................................... 6-23
Circle Tan LC ............................................................................. 6-11
Circle Tan LL................................................................................ 6-9
Circle Tan LPtRad ...................................................................... 6-21
Circles ................................................................................. see Arcs
isometric ............................................................................... 10-11
Circular Copy............................................................................. 5-13
Circular Spline ........................................................................... 4-28
Clear Selection ........................................................................... 2-22
Clipboard .............................................................................. 2-3, 2-4
Colour, Background ................................................................. 10-15
saving default.......................................................................... 13-1
COMPASS.DRG.......................................................................... 13-3
COMPASSN.DRG ....................................................................... 13-3
Macros....................................................................................... 18-1
Compiled Macro ......................................................................... 18-1
Control Bar Font ...................................................................... 10-15
Coordinate Display
absolute or polar coordinates ................................................ 10-14
Coordinate System ..................................................................... 10-9
Coordinates
displaying ............................................................................. 10-14
extracting................................................................................ 8-17
in macros.............................................................................. 17-11
labelling .................................................................................. 7-77
linking information to.............................................................. 8-31
linking text to.......................................................................... 8-31
listing...................................................................................... 7-77
querying.................................................................................. 8-34
saving defaults ........................................................................ 13-1
table of.................................................................................... 7-77
Copy ............................................................................................ 2-3
Copy Selected->New Layer.......................................................... 5-41
Copying...................................................................................... 5-17
by cursor ....................................................................... 2-12, 2-14
circular copy ........................................................................... 5-13
items to another layer ............................................................. 5-41
linear copy .............................................................................. 5-13
polar copy ............................................................................... 5-13
to Clipboard .............................................................................. 2-3
Corrupted Drawings................................................................... 1-51
Counting Objects ....................................................................... 9-13
Create Block .............................................................................. 9-27
Cross ........................................................................................... 6-2
Cubic Spline .............................................................................. 4-29
Current Layer ............................................................... 10-68, 10-72
Current Object
highlighting............................................................................. 9-25
selecting ................................................................................. 9-25
Cursor
changing locked angle by 120 degrees ....................................... 8-4
changing locked angle by 90 degrees......................................... 8-3
locking...................................................................................... 8-4
locking to a user-defined angle.................................................. 8-3
locking to isometric angles ........................................................ 8-4
locking to the angle of a geometry line ....................................... 8-3
locking to the angle of a line...................................................... 8-3
select cursor (arrow-shaped) ..................................................... 2-6
unlocking permanently ............................................................. 8-6
unlocking temporarily ............................................................... 8-4
Customising AllyCAD
accelerator (short-cut) keys ..................................................... 14-6
icons....................................................................................... 14-2
toolbars .................................................................................. 14-2
Cut .............................................................................................. 2-3
Cut and Rub .............................................................................. 5-33
Cut Dimension Line ................................................................... 7-54
D
Data Items ................................................................................. 8-31
editing .................................................................................... 8-33
viewing ................................................................................. 10-18
Debugging Macros ..................................................................... 17-7
Decimal Places
number of angular ................................................................ 10-12
number shown on dimensions .............................................. 10-44
number that AllyCAD is accurate to ...................................... 10-11
Define Zoom View ........................................................................ 3-8
Degrees, Minutes and Seconds................................................. 10-12
Delete .......................................................................................... 2-5
Delete All Geometry.................................................................... 6-39
Delete Geometry El..................................................................... 6-38
Deleting ....................................................................................... 2-5
duplicate entities............................................................ 1-52, 8-45
everything inside a box or circle .............................................. 5-36
everything outside a box or circle ............................................ 5-36
geometry ........................................................................ 6-38, 6-39
layers .................................................................................... 10-71
overlapping entities ................................................................. 8-45
part of a defined perimeter .................................................. 12-148
part of a dimension witness line .............................................. 7-54
part of a line or arc..................... 5-20, 5-22, 5-23, 5-29, 5-33, 5-36
part of an ellipse ............................................................ 4-26, 5-42
redundant lines....................................................................... 8-45
snipping.................................................................................. 5-36
trimming .................................... 5-20, 5-22, 5-23, 5-33, 5-36, 8-45
unreferenced blocks ................................................................ 1-52
unused layers ......................................................................... 1-52
users....................................................................................... 13-4
very short lines ....................................................................... 8-45
Demagnify.................................................................................. 3-12
changing demagnify factor..................................................... 10-22
Deselecting
everything ...................................................................... 2-18, 2-22
individual primitives / objects ................................................... 2-8
Digitizer ..................................................................................... 8-45
Digitizer Settings ...................................................................... 10-58
Dimensioning
angles ..................................................................................... 7-36
arc lengths .............................................................................. 7-36
diameters ................................................................................ 7-45
radii ........................................................................................ 7-45
Dimensions....................................................... see Set Dim Defaults
adding notes to ....................................................................... 7-52
angular ................................................................................... 7-36
architectural style ........................................................ 7-27, 10-44
arrow style ............................................................................ 10-41
associative .............................................................................. 7-20
chained................................................................................... 7-21
deleting parts of witness lines.................................................. 7-54
editing............................................................................ 2-13, 7-52
editing arrow heads................................................................. 7-52
editing text and resizing object to fit .................see Alter Dimension
editing text without affecting dimensioned object............ 7-25, 7-52
editing witness line colour ....................................................... 7-52
extracting information about ................................................... 8-22
free ......................................................................................... 7-22
generic............................................................. see Alter Dimension
horizontal ............................................................................... 7-20
isometric...................................................................... 7-30, 10-11
mechanical style .......................................................... 7-21, 10-43
number of decimal places shown........................................... 10-44
ordinate .................................................................................. 7-48
radial ...................................................................................... 7-45
running .................................................................................. 7-21
saving defaults........................................................................ 13-1
sloped ..................................................................................... 7-30
style...................................................................................... 10-41
survey..................................................................................... 7-50
survey dimension style.......................................................... 10-46
switching off ......................................................................... 10-15
text ......................................................................................... 7-24
text disappears .......................................................... 10-15, 10-19
text drawn as boxes ................................................... 10-16, 10-19
text drawn as dots ................................................................ 10-19
text style ............................................................................... 10-44
tolerances ...................................................................... 7-24, 7-52
vertical.................................................................................... 7-29
witness line style................................................................... 10-41
Display Scroll Bars .................................................................. 10-18
Distance, Measuring .................................................................. 8-28
Distribution ............................................................................... 7-15
Divide/Edit ................................................................................ 5-30
Divide/Extend ........................................................................... 5-29
Dividing Lines or Arcs ................................................................ 5-29
DOM .......................................................see Drawing Office Manager
DOM.TXT................................................................................... 13-3
Dos Conversion........................................................................ 10-56
Dotted (in Perimeter Menu) .................................................... 12-148
Double Click Editing .................................................................. 2-12
Drag and Snap........................................................................... 2-12
Dragging ........................................................................... 2-12, 2-14
Draw All Hatch .......................................................................... 7-73
Draw Menu .................................................................................. 4-1
Draw Selected Hatch.................................................................. 7-73
Drawing Border................................................... see Load Title Block
Drawing Description .................................................................. 1-32
Drawing Frame ................................................... see Load Title Block
Drawing Information .................................................................. 8-17
Drawing Office Manager .................................. 1-25, 1-26, 1-31, 1-32
Drawing Scale..................................................................... see Scale
Drawing Settings........................................................................ 10-2
Drawing Sheet..................................................... see Load Title Block
Drawing Statistics ...................................................................... 1-32
Drawing Units ............................................................................ 10-6
area ........................................................................................ 10-7
changing ................................................................................. 10-8
imperial and metric on same drawing...................................... 10-8
linear ...................................................................................... 10-7
saving default.......................................................................... 13-1
Drawing won't Load.................................................................... 1-51
DrawingCliptidy ......................................................................... 8-51
Drawingsnaptidy ........................................................................ 8-49
Drop .......................................................................................... 5-17
Dump Data ................................................................................ 8-17
Duplicate Entities, Deleting ............................................... 1-52, 8-45
DWG Files..................................................................... see AutoCAD
DXF Files ...................................................................... see AutoCAD
DXF/DWG Conversion Settings................................................ 10-54
E
Edit Data Item ........................................................................... 8-33
Edit Description ......................................................................... 1-32
Edit Dimension .......................................................................... 7-52
Edit Dimension Properties.......................................................... 7-52
Edit Macro ................................................................................. 1-50
Edit Object................................................................................. 9-19
Edit Text ...................................................................................... 7-5
Elements...................................................................... see Primitives
Ellipse2Arcs ...................................................................... 5-42, 5-44
Ellipses ...................................................................................... 4-25
extracting information about ................................................... 8-21
hatching ........................................................................ 4-26, 5-42
jumping and snapping to ............................................... 4-26, 5-42
part ellipses ............................................................................ 4-26
snipping part of.............................................................. 4-26, 5-42
Encode Macro ............................................................................ 1-50
Enter Hatch/Solid Fill ................................................................ 7-66
Entities ........................................................................ see Primitives
Erasing ........................................................................... see Deleting
Error Messages .......................................................................... 1-51
Exec Macro ....................................................................... 1-50, 17-8
Exit............................................................................................ 1-58
Expand ............................................................................. 8-53, 8-60
Export Macro .................................................................... 1-40, 17-6
Export Text ................................................................................ 1-41
Exporting
ASCII ...................................................................................... 1-41
drawing data........................................................................... 8-17
DWG files................................................................... see AutoCAD
DXF files .................................................................... see AutoCAD
HPGL ...................................................................................... 1-46
Plot Files ................................................................................. 1-46
via Clipboard ............................................................................ 2-3
Extending Lines ......................................................................... 8-45
Extending Lines or Arcs .................................. 5-20, 5-22, 5-23, 5-29
F
File Menu..................................................................................... 1-1
Fill Geom ................................................................................... 4-21
Fill Geom Arc ............................................................................. 4-23
Fill Geometry Cir........................................................................ 4-22
Fillet .......................................................................................... 5-23
Filters ........................................................................................ 2-17
Fonts ......................................................................... 10-36, see Text
exporting to AutoCAD ............................................................. 1-23
importing from AutoCAD........................................................... 1-6
on the Control Bar ................................................................ 10-15
FP Error Message....................................................................... 1-51
Free Dimensions ........................................................................ 7-22
Freehand Drawing ..................................................................... 4-44
G
Geom Intersection (jump) ............................................................. 8-8
Geometry
circle by centre point and diameter ........................................... 6-8
circle by centre point and radius ............................................... 6-7
circle tangent to circle ............................................................. 6-23
circle tangent to line................................................................ 6-21
circle tangent to line and circle................................................ 6-11
circle tangent to three lines ..................................................... 6-19
circle tangent to two circles ..................................................... 6-14
circle tangent to two lines.......................................................... 6-9
circle through three points ...................................................... 6-27
colour ................................................................................... 10-34
concentric circles ...................................................................... 6-8
crossed lines ............................................................................. 6-2
deleting.......................................................................... 6-38, 6-39
inking in ................................................................................. 4-21
line perpendicular to another line............................................ 6-32
line perpendicular to two points .............................................. 6-32
line tangent to circle................................................................ 6-28
line tangent to two circles........................................................ 6-30
line through point at specific angle............................................ 6-3
line through two points ............................................................. 6-4
loading saved .......................................................................... 1-12
parallel lines / circles................................................................ 6-5
projecting from existing lines / arcs ........................................ 6-36
saving ................................................................... 1-24, 1-31, 1-34
switching on and off ..................................................... 6-37, 10-15
tracing over ............................................................................. 4-21
Geometry Trace-Over ................................................................. 4-21
Grid ........................................................................................... 8-26
can't jump or snap to .............................................................. 8-27
isometric ...................................................................... 8-26, 10-11
Grid Display Density .................................................................. 8-26
Group Into Object ........................................................................ 9-7
Guest Sub-directory ................................................................... 13-2
H
Handles ................................................................................ 2-6, 2-8
rotating with ........................................................................... 2-11
stretching and scaling with ....................................................... 2-9
turning off temporarily .............................................................. 2-8
Hatch -> Lines ........................................................................... 7-76
Hatch or Solid Fill Dialogue Box ................................................. 7-68
Hatch Patterns
defining................................................................................... 15-2
defining, example 1 - line ........................................................ 15-5
defining, example 2 - dash ...................................................... 15-6
defining, example 3 - newbrick ................................................ 15-7
defining, example 4 - triang................................................... 15-11
Hatch Perimeters
viewing.................................................................................... 9-11
Hatch to Draw.......................................................................... 10-18
HATCH.PAT....................................................................... 13-3, 15-1
Hatching .................................................................................... 7-66
combining solid fills with bitmaps ........................................... 7-71
combining solid fills with cross hatches................................... 7-70
converting to lines ................................................................... 7-76
disappears .......................................................... 7-67, 7-73, 10-18
editing..................................................................................... 7-72
ellipses........................................................................... 4-26, 5-42
selecting.................................................................................. 2-20
solid fill colours....................................................................... 7-71
switching off.......................................................................... 10-18
tips ......................................................................................... 7-70
viewing selected ........................................................... 7-73, 10-18
Healing Breaks in Lines..................................................... 5-29, 5-31
Hold............................................................................................. 8-4
Home Directories .......... see also Progam Home Directory; User Home
Directory
Hook Point .......................................................................... 9-3, 9-15
changing.......................................................................... 9-3, 9-21
Horizontal Dimension ................................................................ 7-20
HPGL files
accuracy ................................................................................. 1-39
HPGL Files
exporting ................................................................................ 1-46
importing ................................................................................ 1-38
I
Icons
adding macros to .................................................................... 14-8
customising ............................................................................ 14-2
Illegal Operation Message........................................................... 1-51
Imperial Units ............................................................................ 10-6
on same drawing as metric...................................................... 10-8
Import ASCII.............................................................................. 1-39
Import HPGL.............................................................................. 1-38
Import/Export ........................................................................... 1-38
Importing
DWG Files.................................................................. see AutoCAD
DXF Files ................................................................... see AutoCAD
plot files .................................................................................. 1-38
text ......................................................................................... 1-39
via Clipboard ............................................................................ 2-4
Insert Block ............................................................................... 9-28
Invalid Backup Path Message..................................................... 1-31
Isometrics
circles ................................................................................... 10-11
dimensions .................................................................. 7-30, 10-11
grid.............................................................................. 8-26, 10-11
locking cursor to isometric angles ............................................. 8-4
Item References ............................................................. see Balloons
J
Joining Lines .................................................................... 5-31, 8-45
Joining Lines or Arcs ...................................... 5-20, 5-22, 5-23, 5-29
Jump Any Intersection ................................................................. 8-9
Jump Circle Centre .................................................................... 8-10
Jump Grid ................................................................................... 8-8
Jump Near Element ................................................................... 8-10
Jump Point .................................................................................. 8-9
Jumps ......................................................................................... 8-7
jumping to ellipses ......................................................... 4-26, 5-42
L
Label Coord................................................................................ 7-77
Landscape.................................................................................. 10-3
Compiled Macro ......................................................................... 18-4
Last Fixed (jump) ....................................................................... 8-11
Layer Control ........................................................................... 10-70
Layers
adding................................................................................... 10-71
copying and pasting between drawings...................................... 2-4
copying items to another layer................................................. 5-41
current....................................................................... 10-68, 10-72
deleting ................................................................................. 10-71
deleting unused ...................................................................... 1-52
editing................................................................................... 10-71
highlighting........................................................................... 10-72
loading specific ....................................................................... 1-10
locking .................................................................................. 10-71
magnification ........................................................................ 10-71
moving items to another layer ................................................. 5-40
name .................................................................................... 10-70
pen and line type by ................................................... 10-71, 10-73
querying which layer something is on...................................... 8-34
saving default.......................................................................... 13-1
saving specific ......................................................................... 1-33
saving visible........................................................................... 1-34
selecting everything on ............................................................ 2-20
visible ............................................................. 10-69, 10-70, 10-72
Lengths
querying.................................................................................. 8-34
Line (Chained).............................................................................. 4-2
Line Arc Line.............................................................................. 4-12
Line Defaults............................................................................ 10-23
Line Tan C ................................................................................. 6-28
Line Tan CC ............................................................................... 6-30
Line Type
by layer...................................................................... 10-71, 10-73
editing..................................................................................... 2-12
exporting to AutoCAD.............................................................. 1-24
importing from AutoCAD ........................................................... 1-7
querying.................................................................................. 8-34
saving default.......................................................................... 13-1
selecting by ............................................................................. 2-17
Line Types
exporting to AutoCAD.............................................................. 16-2
how displayed ......................................................................... 16-3
how printed ............................................................................ 16-2
importing from AutoCAD......................................................... 16-2
Line Width
by pen colour .......................................................................... 1-45
querying ................................................................................. 8-34
Linear Copy ............................................................................... 5-13
Lines
adding to a perimeter ..............................................12-145, 12-146
chained..................................................................................... 4-2
deleting part of........................... 5-20, 5-22, 5-23, 5-29, 5-33, 5-36
deleting redundant.................................................................. 8-45
deleting very short .................................................................. 8-45
dividing................................................................................... 5-29
drawing at an angle................................................see Lock Cursor
extending or shortening ...................... 5-20, 5-22, 5-23, 5-29, 8-45
extracting information about ................................................... 8-20
healing breaks ............................................................... 5-29, 5-31
joining ....................................... 5-20, 5-22, 5-23, 5-29, 5-31, 8-45
line arc line sequences ............................................................ 4-12
mid-point jump ....................................................................... 8-11
parallel ............................................................... 4-15, 4-17, 10-28
projecting to geometry ............................................................. 6-36
single ........................................................................................ 4-3
splitting .................................................................................. 5-29
trimming........................... 5-20, 5-22, 5-23, 5-29, 5-33, 5-36, 8-45
Lines (Pt to Pt).............................................................................. 4-3
LINETYPE.MAC................................................................. 13-3, 16-1
List Objects................................................................................ 9-13
Listing Coordinates .................................................................... 7-77
Load ............................................................................................ 1-9
Load Bitmap ..................................................................... 1-12, 1-17
Load Drawing............................................................................... 1-9
Load Geom................................................................................. 1-12
Load Layers ............................................................................... 1-10
Load New Menu ......................................................................... 1-18
Load Symbol File............................................................... 1-35, 8-42
Load Title Block ......................................................................... 1-19
Loading Drawings into Other Drawings .................. see Load Drawing
Lock Cursor ................................................................................. 8-2
Lock Geom Line ........................................................................... 8-3
Lock Keyboard ............................................................................. 8-3
Lock to Line ................................................................................. 8-3
Logical Operators in Macros ..................................................... 17-14
Long Pan.................................................................................... 3-14
M
Macros
accessing files ......................................................................... 17-8
adding to menus, icons or accelerator keys ............................. 14-8
arithmetic operators.............................................................. 17-14
coordinate pairs .................................................................... 17-11
debugging ............................................................................... 17-7
description of language ........................................................... 17-9
encoding ................................................................................. 1-50
examples................................................................................. 17-5
executing ....................................................................... 1-50, 17-8
exporting a drawing as a macro...................................... 1-40, 17-6
general purpose functions ..................................................... 17-16
hints and tips.......................................................................... 17-5
how do I write my first macro .................................................. 17-2
line length limitation ............................................................. 17-15
logical operators.................................................................... 17-14
special characters used in ..................................................... 17-10
statement types....................................................................... 17-9
stepping through one line at a time ......................................... 17-7
strings ......................................................................... 17-3, 17-11
trigonometric operators ......................................................... 17-14
variables ...................................................................... 17-3, 17-11
writing in Windows '95 ............................................................ 17-7
Magnify...................................................................................... 3-12
changing magnify factor ........................................................ 10-22
MainCAD caused a General Protection Fault Message ................ 1-51
Make Arcs from Lines................................................................. 1-44
Make Geometry .......................................................................... 6-36
Make Symbol .................................................................... 8-40, 9-15
Mapping Colours to Line Widths................................................. 1-45
Measure..................................................................................... 8-28
Measuring.................................................................................. 8-34
angles ..................................................................................... 8-28
areas.............................................................................. 8-29, 9-13
distances ................................................................................ 8-28
perimeters...................................................................... 8-29, 9-13
Mechanical Style Dimensions .......................................... 7-21, 10-43
Memory.................................................................................... 10-57
Menus
adding macros to .................................................................... 14-8
loading alternative................................................................... 1-18
Merging Drawings .................................................. see Load Drawing
Metafiles ...................................................................................... 2-3
Metric Units ............................................................................... 10-6
on same drawing as imperial................................................... 10-8
Mid Point Jump ......................................................................... 8-11
Mirror Image ................................................................................ 5-6
Move ............................................................................................ 5-4
Move Point ................................................................................... 5-5
Move Selected->New Layer ......................................................... 5-40
Move Text .................................................................................... 7-5
Move to Back ............................................................................. 2-23
Move to Coordinates................................................................... 8-14
Move to Front............................................................................. 2-23
Moving......................................................................................... 5-4
dragging accurately with cursor .............................................. 2-12
dragging with cursor ...................................................... 2-12, 2-14
items to another layer ............................................................. 5-40
nudging .................................................................................. 2-15
point and lines attached to it.......................... 5-5, see Select Nodes
Moving the Cursor
at an angle.............................................................see Lock Cursor
Multiple Parallel Line Defaults Dialogue Box ............................ 10-28
Multiple Users ........................................................................... 13-2
N
New ............................................................................................. 1-2
New Geometry Colour .............................................................. 10-34
Nodes ........................................................................................ 2-14
displaying ............................................................................... 8-16
moving.................................................................................... 2-14
selecting ................................................................................. 2-15
Nudge ........................................................................................ 2-15
Compiled macro....................................................................... 18-16
O
Object Extends off Edge of World Message.................................. 1-51
Object Name ......................................................... 9-3, 9-6, 9-7, 9-15
changing.......................................................................... 9-3, 9-19
querying ................................................................................. 8-34
viewing ..................................................................................... 9-9
Object Too Long Message ........................................................... 1-51
Objects
adding to a perimeter .......................................................... 12-146
aligning to a grid ....................................................................... 7-7
aligning to each other................................................................ 7-7
attributes..................................... 1-36, 4-41, 8-40, 8-42, 9-4, 9-17
bill of materials ....................................................................... 8-35
changing hook point ........................................................ 9-3, 9-21
changing object name ...................................................... 9-3, 9-19
changing parent name...................................................... 9-3, 9-19
counting ................................................................................. 9-13
current.................................................................................... 9-25
disappear .............................................................................. 10-19
drawn as boxes ..................................................................... 10-19
editing..................................................................................... 9-19
extracting details..................................................................... 8-19
hook point........................................................................ 9-3, 9-15
inserting ........................................................................ 4-38, 8-42
listing...................................................................................... 9-13
measuring areas ..................................................................... 9-13
measuring perimeters ............................................................. 9-13
name .................................................................9-3, 9-6, 9-7, 9-15
parent name ............................................................................. 9-3
properties.................................................................................. 9-2
querying.................................................................................. 8-34
rotating on insertion................................................................ 4-39
scale .............................................................................. 1-35, 4-39
search and replace ......................................................... 9-23, 9-24
selecting by cursor ........................................................... 2-7, 2-19
selecting by name.................................................................... 2-19
selecting individual primitives within......................................... 2-7
snip box ........................................................................... 9-4, 9-16
spacing evenly......................................................................... 7-15
updating ........................................................................ 9-23, 9-24
Objects Menu............................................................................... 9-1
Offsets
closing off ends ..................................................................... 10-31
saving defaults ........................................................................ 13-1
Open............................................................................................ 1-3
Ordinate Dimension ................................................................... 7-48
Orientation
of paper .................................................................................. 10-2
Overlapping Entities, Deleting .................................................... 8-45
P
Pan ............................................................................................ 3-13
Panning
Long Pan................................................................................. 3-14
Pan ......................................................................................... 3-13
Paper Orientation....................................................................... 10-2
Paper Size .................................................................................. 10-2
saving default.......................................................................... 13-1
Parallel Defaults....................................................................... 10-28
Parallel Line (Draw) .................................................................... 4-15
Parallel Line (Geometry) ............................................................... 6-5
Parallel Lines
closing off ends ..................................................................... 10-31
saving defaults........................................................................ 13-1
Parents
changing name ................................................................ 9-3, 9-19
name ........................................................................................ 9-3
Part Ellipse ................................................................................ 4-26
Paste............................................................................................ 2-4
Pen Mapping.............................................................................. 1-45
Pens
by layer...................................................................... 10-71, 10-73
editing pen of existing entities ................................................. 2-12
exporting to AutoCAD ............................................................. 1-23
geometry ............................................................................... 10-34
importing from AutoCAD........................................................... 1-6
mapping to line widths............................................................ 1-45
print all as black ..................................................................... 1-45
print very faintly ..................................................................... 1-45
querying ................................................................................. 8-34
saving default ......................................................................... 13-1
selecting by ............................................................................. 2-17
Perimeter Menu
icons on .............................................................................. 12-143
Perimeters
deleting part of defined........................................................ 12-148
measuring...................................................................... 8-29, 9-13
Perp Bisector ............................................................................. 6-32
Perpendicular (Lock Cursor)......................................................... 8-3
Pick Index from Hatch................................................................ 7-75
Pixels ................................................................................ 1-13, 1-15
Placeholder for Bitmap............................................................. 10-18
Plot Files
accuracy ................................................................................. 1-39
exporting ................................................................................ 1-46
importing ................................................................................ 1-38
Plot to Fit ................................................................................... 1-47
Plotting ........................................................................... see Printing
Point............................................................................................ 4-4
extracting information about ................................................... 8-20
style...................................................................................... 10-17
Point Style ............................................................................... 10-17
Point-Point Line ........................................................................... 6-4
Polar Copy ................................................................................. 5-13
Polar Move ................................................................................. 8-15
Polygon ...................................................................................... 4-36
Polygon Area .............................................................................. 8-29
Polyline Defaults ...................................................................... 10-25
Polylines ................................................................ 4-31, 4-33, 10-25
editing style of existing ............................................................ 2-13
extracting information about ................................................... 8-20
saving defaults ........................................................................ 13-1
Polysnip ..................................................................................... 5-39
Portrait ...................................................................................... 10-3
Preserve Black (bitmaps) ............................................................ 1-15
Preserve White (bitmaps) ............................................................ 1-15
Primitives
cannot select individual............................................................. 2-7
extracting information about ................................................... 8-17
querying.................................................................................. 8-34
selecting individual ................................................................... 2-7
Print .......................................................................................... 1-43
Print Setup ................................................................................ 1-49
Printing............................................................................. 1-43, 1-47
all colours to black .................................................................. 1-45
arcs don't print or print incorrectly.......................................... 1-45
at a scale other than your drawing scale.................................. 1-47
colours print very faintly ......................................................... 1-45
line widths by colour ............................................................... 1-45
part of a drawing..................................................................... 1-47
text prints at wrong orientation ............................................... 1-43
to fit the paper ........................................................................ 1-47
Purge Redundant Elements ............................................... 1-32, 1-52
Q
Query Entity .............................................................................. 8-34
Quit ........................................................................................... 1-58
R
Radial Dimension....................................................................... 7-45
Raster to Vector Conversion Programs........................................ 8-45
Real World Pixel Size .................................................................. 1-13
Re-Centre Paper ....................................................................... 10-20
Rectangle ..................................................................................... 4-5
Redo ............................................................................................ 2-2
Redraw ...................................................................................... 3-15
Redraws
very slow ............................................................... 1-52, 7-67, 7-73
Reference Point .......................................................... see Hook Point
drawing................................................................................... 1-31
Repair DRG File ......................................................................... 1-51
Repeat ....................................................................................... 5-13
Replace Objects................................................................. 9-23, 9-24
Resample Mode (bitmaps)......................................... 1-14, 1-15, 1-16
Rotate ........................................................................................ 5-18
Rotate Icon .................................................................................. 2-6
Rotating
by cursor ....................................................................... 2-11, 5-18
by keyboard ............................................................................ 5-18
Rubbing Out ................................................................... see Deleting
Ruler Bar
turning on and off ................................................................. 10-17
Running Dimensions ................................................................. 7-21
S
Save........................................................................................... 1-20
Save AllyCAD DOS ..................................................................... 1-29
Save As...................................................................................... 1-21
Save Geometry ........................................................................... 1-34
Save Layer ................................................................................. 1-33
Save Options.............................................................................. 1-30
Save Selected ............................................................................. 1-33
Save Settings ............................................................................. 1-30
Save Visible ............................................................................... 1-34
Saving Selected Entities .................................................... 1-21, 1-33
Scale.......................................................................................... 10-3
changing................................................................................. 10-6
more than one on a drawing.................................................. 10-71
saving default ......................................................................... 13-1
Scale (Scaling Entities) ................................................................. 5-9
Scale Text .................................................................................... 7-6
Scales
more than one on a drawing........................................... 8-53, 8-60
Scaling (Entities)
by cursor ........................................................................... 2-9, 5-9
by keyboard .............................................................................. 5-9
Scroll Bars
switching on and off.............................................................. 10-18
Search and Replace Objects .............................................. 9-23, 9-24
Security ..................................................................................... 1-53
Select........................................................................................... 2-6
Select All.................................................................................... 2-18
Select by Polygon ....................................................................... 2-16
Select Cursor ............................................................................... 2-6
Select Nodes .............................................................................. 2-14
Selecting
by colour................................................................................. 2-17
by entity type .......................................................................... 2-17
by line type ............................................................................. 2-17
can’t select individual primitive ................................................. 2-7
everything on a layer ............................................................... 2-20
everything on the drawing ....................................................... 2-18
everything within a polygon............................................ 2-16, 2-18
everything within a rectangle..................................................... 2-8
hatches ................................................................................... 2-20
individual primitives.................................................................. 2-7
individual primitives within objects ........................................... 2-7
nodes ...................................................................................... 2-15
objects by cursor.............................................................. 2-7, 2-19
objects by name ...................................................................... 2-19
using the nodes cursor............................................................ 2-14
zoom into selection set .............................................................. 3-7
Selection Filters ......................................................................... 2-17
Send to Back.............................................................................. 2-23
Send to Front............................................................................. 2-23
Set Alignment .............................................................................. 7-7
Set Arrow Defaults ................................................................... 10-49
Set Balloon Defaults................................................................. 10-51
Set Current Layer..................................................................... 10-68
Set Dim Defaults ...................................................................... 10-41
Set Survey Defaults.................................................................. 10-46
Set Text Defaults...................................................................... 10-35
Set Text Defaults Dialogue Box................................................. 10-35
Set Visible Layers..................................................................... 10-69
Settings for Dos........................................................................ 10-56
Settings Menu............................................................................ 10-1
Sheet Size ................................................................................ 10-21
Shortening Lines ........................................................................ 8-45
Shortening Lines or Arcs ............... 5-20, 5-22, 5-23, 5-29, 5-33, 5-36
Show Arc Centres..................................................................... 10-15
Show Coordinates .................................................................... 10-14
Show Data Items...................................................................... 10-18
Show Geometry ........................................................................ 10-15
Show Nodes ............................................................................... 8-16
Show Objects ............................................................................... 9-9
Sketch ....................................................................................... 4-44
Slope Dimension ........................................................................ 7-30
Slope Line .................................................................................... 6-3
Slow Drawings ......................................................... 1-52, 7-67, 7-73
Snap Modes
snapping to ellipses........................................................ 4-26, 5-42
Snip ........................................................................................... 5-36
Snip Box ............................................................................. 9-4, 9-16
Splines....................................................................................... 4-28
Bezier curves.................................................................. 4-31, 4-33
circular ................................................................................... 4-28
cubic....................................................................................... 4-29
Splitting Lines or Arcs................................................................ 5-29
STARTUP.DRG........................................................................... 13-3
Statistics, Drawing..................................................................... 1-32
Stretch......................................................................................... 5-2
Stretching By Cursor ................................................................... 2-9
Survey Dimension...................................................................... 7-50
style...................................................................................... 10-46
Switch Geometry On/Off............................................................ 6-37
Symbol (Function)............................................................. 4-38, 8-42
Symbol Libraries
loading.................................................................................... 1-35
System Settings ....................................................................... 10-63
T
Tangents
circle tangent to circle ............................................................. 6-23
circle tangent to line................................................................ 6-21
circle tangent to line and circle................................................ 6-11
circle tangent to three lines ..................................................... 6-19
circle tangent to two circles ..................................................... 6-14
circle tangent to two lines.......................................................... 6-9
line tangent to circle................................................................ 6-28
line tangent to two circles........................................................ 6-30
Text ........................................................see Fonts; Set Text Defaults
adding to a drawing .................................................................. 7-2
aligning........................................