AllyCAD Reference
AllyCAD Reference
AllyCAD Reference
Reference Manual
Copyright 2004
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-7
Load Drawing 1-7
Load Layers 1-8
Load Geom 1-9
Load Bitmap 1-9
Load Menu 1-13
Load Title Block 1-13
Save 1-14
Save As 1-15
Saving an AutoCAD DWG file or a DXF file 1-15
Saving an AllyCAD DRG file 1-16
Drawing Office Manager 1-18
Save AllyCAD DOS 1-21
Save Options 1-22
Save Settings 1-22
Edit Description 1-24
Save Selected 1-25
Save Layer 1-25
Save Visible 1-26
Save Geometry 1-26
Load Symbol File 1-27
Import/Export 1-29
Import HPGL 1-29
Import ASCII 1-30
Import ShapeFile 1-31
Export Macro 1-31
Export Text 1-32
Export ShapeFile 1-33
Print 1-34
Printer Defaults 1-35
i
Printing to a pen plotter 1-37
Creating an HPGL file 1-37
Zoom Print 1-38
Print Setup 1-40
Exec Macro 1-41
Encode Macro 1-41
Edit Macro 1-41
Repair DRG File 1-42
Purge Redundant Elements 1-43
Security 1-44
Hasp Dongle Overview 1-47
NetHasp 1-47
Exit 1-49
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-22
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
ii
Zoom Paper 3-6
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-16
Geometry Trace-Over 4-20
Fill Geom 4-20
Fill Geometry Cir 4-21
Fill Geom Arc 4-22
Ellipses 4-24
Ellipse 4-24
Part Ellipse 4-25
Splines 4-27
Circular Spline 4-27
Cubic Spline 4-28
Polyline 4-30
Polygon 4-32
Symbol 4-33
Options on the control bar 4-34
Entering Symbols without AutoR checked 4-35
Entering Symbols when AutoR is Checked 4-36
Sketch 4-38
iii
MODIFY MENU
Stretch 5-2
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-16
Rotate 5-17
Rotating by angle 5-17
Rotating by cursor 5-18
Trim 5-19
Update 5-19
Use 5-20
Fillet 5-22
Update 5-23
Use 5-23
Radius 5-25
Chamfer 5-26
Chamfer by angle and one length 5-27
Chamfer by two lengths 5-27
Divide/Extend 5-28
Splitting a line or arc 5-28
Extending a line or arc 5-28
Divide/Edit 5-29
Join Lines 5-30
Cut and Rub 5-32
Cutting in one place 5-33
Cutting in two places 5-34
Snip 5-35
Snipping inside or outside a box. 5-36
Snipping inside or outside a circle 5-37
Polysnip 5-38
Move Selected->New Layer 5-39
Copy Selected->New Layer 5-40
Ellipse2Arcs 5-41
GEOMETRY MENU
Cross 6-2
iv
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-18
Circle Tan LPtRad 6-20
Circle Tan CPtRad 6-22
Circle 3 Pt 6-26
Line Tan C 6-27
Tangent line at a fixed angle 6-28
Tangent line through point 6-28
Line Tan CC 6-29
Perp Bisector 6-31
Perpendicular Bisector between two points 6-32
Perpendicular to a line which passes through a point 6-32
Make Geometry 6-33
Switch Geometry On/Off 6-34
Delete Geometry El 6-35
Delete All Geometry 6-36
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-8
Alignment 7-8
Distribution 7-14
Align 7-17
Horizontal Dimension 7-19
Mechanical Style 7-20
Architectural Style 7-26
Vertical Dimension 7-27
Slope Dimension 7-28
v
Parallel sloping dimensions 7-29
Dimensions at fixed angles 7-30
Isometric dimensions 7-31
Angular Dimension 7-33
Dimensioning angles between 2 existing lines 7-34
Dimensioning angles between three points 7-36
Dimensioning an existing arc length 7-38
Dimension an arc between three points 7-39
Radial Dimension 7-41
Ordinate Dimension 7-44
Survey Dimension 7-46
Edit Dimension 7-48
Edit Dimension Properties 7-48
Cut Dimension Line 7-50
Alter Dimension 7-51
Add Arrow 7-56
Add Balloon 7-58
Add/Rem Text Bubble 7-60
Enter Hatch/Solid Fill 7-61
Pattern hatching 7-61
Solid Fill 7-63
Tips for creating interesting hatched effects 7-65
Quick Hatch Polylines 7-66
Alter Existing Hatch 7-67
Draw All Hatch 7-68
Draw Selected Hatch 7-68
Pick Index from Hatch 7-69
Hatch -> Lines 7-70
Label Coord 7-71
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
Any Intersection 8-9
Point 8-9
vi
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
Expand 8-52
Detailed view in a box 8-53
Detailed view in a circle 8-55
General 8-56
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
Make Symbol 9-15
Edit Object 9-19
Change Name 9-19
Change Parent 9-21
Change Hook Point 9-21
vii
Update Objects 9-23
Select Current Object 9-25
Blink Current Object 9-25
Create Block 9-26
Insert Block 9-27
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-48
Set Balloon Defaults 10-50
DXF/DWG Conversion Settings 10-53
From DXF/DWG Conversion Settings 10-53
To DXF/DWG Conversion Settings 10-54
AllyCAD DOS Conversion Settings 10-55
Virtual Memory Settings 10-56
Digitizer Settings 10-57
System Settings 10-62
System Settings 10-62
Tiled Bitmaps 10-64
Set Current Layer 10-66
Set Visible Layers 10-67
Layer Settings 10-68
To Edit a Layer 10-69
To Add a Layer 10-69
To Delete a Layer 10-69
To Set the Current Layer 10-70
Setting Visible Layers 10-70
viii
Layer Highlight 10-70
Operate on 10-71
Pen and Line Type By Layer 10-71
TOOLKIT MENU
General 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-11
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 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 11-51
Cut and Fill Lines 11-52
Sewer Capture 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
Concentric Circles with Centre Lines 11-74
Add CL to Circle 11-75
Shafts 11-76
ix
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-96
Structural 11-98
Building Grid 11-99
Erf Numbers 11-103
Street Numbers 11-105
Label Coordinates 11-107
Coordinate Cross 11-108
Relative Polar Move 11-110
SG &Diagram 11-111
Edit Defaults 11-111
Trace Figure 11-114
Adjust Drawing 11-115
General Plan 11-116
Edit Defaults 11-116
Insert Titleblock 11-119
Insert Heading 11-119
Area Table 11-120
Figure Table 11-121
Block Table 11-122
Reference Marks 11-123
Trig Beacons 11-124
Add Dims 11-125
PERIMETER MENU
Accept Button 12-2
Cancel Button 12-2
Circle 12-2
Rectangle 12-3
Line (Chained) 12-3
Objects 12-4
Intersections 12-4
Auto 12-6
x
DEFAULTS
Multiple users 13-2
User Home directory 13-3
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
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
xi
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-47
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-108
Perimeter Functions 17-109
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
xii
Variables 18-11
Numeric variables 18-11
String variables 18-11
Arrays 18-11
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
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
xiii
Modify Menu 20-7
Geometry Menu 20-8
Annotate Menu 20-9
Tools Menu 20-10
Objects Menu 20-11
Settings Menu 20-12
Windows Menu 20-15
Cursor Movement 20-16
General 20-18
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 support@knowbase.co.za
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 and 2002 DXF and DWG
data except Shapes, 3D Faces, or anything in Paper Space. If you bring
3D information into AllyCAD, the z coordinates may be dropped.
Pen colours
Pens 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.
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
This function operates in the same way as File ► Open. However, if there
is already a drawing on the screen, the new drawing will be merged into
the existing drawing. This is useful if you need to add, say, a pre-drawn
detail to the drawing you are working on.
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.
Type a scale and rotation for the drawing you are loading separated by a
space. For example, if you type “1 0” the new drawing will be loaded at
the same scale as the existing drawing and will not be rotated.
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.
If there is already a drawing on the screen, the layers you have selected
will be merged into it and you will be asked for a reference point, scale
and rotation.
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.
You can change a bitmap from a placeholder to full detail or vice versa at
any stage after loading by double clicking on it, which brings up the Set
Bitmap Parameters dialog box for editing. You can also view all the
bitmaps on your drawing as placeholders, or all of them in full detail.
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.
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.
Fonts
As AllyCAD uses a standard Windows font system and AutoCAD does
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.
Line Types
By default, AllyCAD line types should appear correctly in DWG and DXF
files. The AllyCAD line types are defined in the LINETYPE.MAC file.
Bitmaps
Older versions of AutoCAD do not support bitmaps.
Scales
If you have layers at different magnifications on your drawing, AutoCAD
may crash when the DXF or DWG file is loaded into it.
Save As does not automatically save geometry unless you have specified
that it should do so in File ► Save Options ► Save Settings. You can also
save your geometry lines using File ► Save Options ► Save Geometry.
The date the drawing was started is automatically entered into the Date
Started box in the order year, month, 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
If you do not check this box you can save geometry when you want to,
using the File ► Save Options ► Save Geometry function.
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.
If you haven't selected anything you will automatically enter the Select
function. Select the primitives you want to save.
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.
A symbol is the same as an object, but the term symbol is usually used
to mean a standard part in a symbol library.
See Drawing Structure in the User Guide for full details about objects,
symbols and symbol files.
Procedure
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
Suppose that you are now working on a drawing at a scale of 1:10 and
you choose To Scale. You load the square into the drawing as a symbol. If
you dimension the square, the dimension will read 10. However if you
print the square out on paper and measure its sides, they will now
measure 1mm long. The square has been scaled so that what measured
10mm when it was drawn at 1:1 in the symbol library still measures
10mm at 1:10.
Symbol loaded into a drawing of scale
1:10, using To Scale
10
If you click on the YES button, any attributes attached to the symbols
you want to insert will be written as text next to the symbols. If you click
on the NO button, the attributes will remain invisible. If you are going to
produce a bill of materials you MUST answer NO to this question.
Although you will not see anything happening, the symbol file will be
loaded and is now in memory ready for use. Place a symbol on the
drawing using Draw ► Symbol. This provides further scaling options.
Import HPGL
Convert a HPGL (Hewlett Packard Graphics Language or plot) file into an
AllyCAD drawing.
Before you import an HPGL file, your drawing must be empty. If there is
already a drawing on your screen, save it and then delete it using the File
► Clear All function. If your drawing memory is not empty, the warning
message
You are only allowed to import DXF and HPGL into an empty
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.
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 the contents of all the layers of your drawing to be written to
the macro, click on the [Yes] button. If you just want the contents of the
visible layers to be written to the macro, click on the [No] button.
AllyCAD then prompts:
Names of objects to write to macro file (‘* *’ for all
objects)
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
the macro file. You can also use wildcards. For example, if you type
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.
Both printers and inkjet plotters are referred to as printers, and printing
refers to both printing and plotting.
If you are outputting to a pen plotter, you should use one of the plotter
fonts, Modern, Roman or Script for your text and dimensions. If you use
any other font on your drawing it will be converted for the plotter but all
your text will be plotted horizontally, regardless of its orientation on the
drawing.
You can only output bitmaps to raster devices such as printers and inkjet
plotters.
The standard Print dialog is displayed. Select the destination printer and
click on OK. The Printer Defaults dialog box is displayed. Set up the
printer profile and click on OK.
The message
Busy printing
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
AllyCAD will open the editor that you have selected in Settings ► System
Settings. (The default editor is Notepad).
Edit the macro, then save it. Alternatively, save it to a new file name if
you are unsure that the changes you have made are correct.
or drawings that simply won't load at all. Sometimes AllyCAD will warn
you that it has detected a corrupted drawing.
Before you run Repair, save the drawing if you can and if you have not
already done so. Try to save it under a different name from the name it
was previously saved under.
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?
Repair works by taking the corrupted drawing file and converting it into
an AllyCAD macro. During this conversion it detects and removes any
errors. It then executes the macro, causing the drawing to appear on the
screen. If the drawing has been repaired, click on the YES button.
If Repair was unable to fix the drawing, copy it onto a floppy disk and
send it to:
Knowledge Base
P O Box 610
Constantia 7848
South Africa
or E-mail it to:
support@knowbase.co.za
with a brief explanation of what has happened.
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 unreferenced blocks, click on the YES button. This
has the same effect as the Purge command in AutoCAD. AllyCAD will
prompt:
Remove unreferenced layers?
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.
Undo will not undo geometry or changes made by the Objects ► Update
Objects function. It will partially undo detailed views created by the
Tools ► Expand function.
Redo
Re-instate things that have been undone
Cut deletes selected items, which are placed on the Clipboard in three
formats: AllyCAD, Windows BMP and Windows Metafile. These items
can then be pasted back into AllyCAD or into another Windows
application using that application's Paste command.
Before you use Cut, you must select the items you want to cut using
Select or the Selection Filters. If you have not selected anything, the Cut
command will appear grayed out on the Edit Menu and you will not be
able to use it.
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.
If you delete something by accident, you can replace it using the Undo
function.
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.
Sometimes primitives have been grouped so that when you click on one
primitive, the whole group is selected. To ungroup such primitives, click
on them to select the group, then use Objects ► Explode Objects. You will
then be able to select a single primitive within the group.
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.
Scaling accurately
To scale accurately move the cursor into the X= box on the Control Bar
and click. Use your [Delete] or [Backspace] keys to delete the contents of
the box. Type a scale factor. Press the [TAB] key to move the cursor into
the Y= box. Type a scale factor. Then press [Enter]. The selection set will
be accurately scaled by the factors you have typed.
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.
Draw a polygon around the elements to be selected. You can also access
Polygon using Edit ► Select by Polygon.
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 called CLOSET, whether their parent names are,
for example KITCHEN CLOSET, BATHROOM CLOSET etc. Typing
* *
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.)
The text string is not case sensitive and matches if any part of the text on
the drawing contains the match string.
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 Next reverses the action of Zoom Last, similar to redoing actions
that have been undone.
You can move forwards through all the zooms that have been reversed
using the Zoom Last function.
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
Enter the end point of another line, or cancel line drawing by choosing
another function, pressing the [Space Bar] or clicking on Done.
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
Enter the first point of another line, or cancel line drawing by choosing
another function, pressing the [Space Bar] or clicking on Done.
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 corner of a rectangle to be and
press [Enter] or click.
Enter second corner of rectangle
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
Enter one end of another arc, or cancel arc drawing by choosing another
function, pressing the [Space Bar] or clicking on Done.
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.
will be displayed. AllyCAD will automatically set the radius to L/2 (half
the distance between the two points) and draw the arc. If you want to
measure the distance between the two points, use the Tools ► Measure
command.
Enter start point of arc
Enter one end of another arc, or cancel arc drawing by choosing another
function, pressing the [Space Bar] or clicking on Done.
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
This function inserts an arc with a specified radius at corners while you
are drawing to create a smooth sequence of lines and arcs.
AllyCAD 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.
AllyCAD will prompt:
Enter corner point
Position the cursor at a corner where the arc will be inserted (position b)
and press [Enter] or click. Nothing is drawn yet.
AllyCAD will continue to prompt:
Enter corner radius
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.
You can either enter another radiused corner at c on the diagram or you
can end the line arc line sequence d on the diagram.
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.
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.
If what is drawn is not what you expected, it is probable that the radius
value you entered was too large.
Press [Enter] to accept position d again. You have now selected position
d twice and the line arc line sequence will be terminated.
To produce a sequence of parallel lines and arcs, see Parallel Line. For
an alternative method of producing a line arc line sequence, see
Circular Spline.
It is sometimes helpful to determine the corner points you will be using
(b and c on the diagram below) before you start by using Geometry.
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.
When specifying radii in a line arc line sequence, ensure that these are
larger than the inside offset defined in the Parallel Defaults. If the corner
points in a line arc line sequence are too close together and the radii are
too large, your parallel lines will cross over and change sides.
While only one line will appear as you are drawing, all the parallel lines
you specified will appear once you finish line drawing, finish defining the
perimeter, or finish drawing the line arc line sequence. If your parallel
lines are unexpectedly drawn on the wrong side of the line, perimeter, or
line arc line sequence, use Undo to delete them and check your offsets.
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.
Parallel element will appear this side Position the cursor next to the existing
of the existing line
line, arc or circle and on that side of it
where you want the parallel element to
appear. Press [Enter] or click.
Parallel element will appear this side Position the cursor next to the existing
of the existing line
line, arc or circle and on that side of it
where you want the parallel element to
appear. Press [Enter] or click.
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
Position the cursor next to the intersection of geometry lines at one end
of a geometry element you want to trace over and press [Enter] or click.
The cursor snaps exactly onto the intersection.
Select another geometry element to turn into a solid line or arc or cancel
the function by choosing another function, pressing the [Space Bar] or
clicking on Done.
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
Enter one end of another arc, or cancel arc drawing by choosing another
function, pressing the [Space Bar] or clicking on Done.
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)
Position the cursor at a point on the ellipse boundary where you want
one end of the ellipse part to be and press [Enter] or click.
First snip point
If you want to achieve the result illustrated above, you must choose the
first snip point as indicated.
Enter 2nd snip point
Position the cursor at a point on the ellipse boundary where you want
the other end of the ellipse part to be and press [Enter] or click.
The unwanted parts of the ellipse are cut away.
AllyCAD continues to prompt:
Enter ellipse centre point
Enter the centre point of another part ellipse, or cancel ellipse drawing
by choosing another function, pressing the [Space Bar] or clicking on
Done.
Circular Spline
Draw a spline composed of arcs.
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.
Position the cursor at another point on the spline and press [Enter] or
click. This represents the end point of an arc. The arc is drawn.
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:
Enter number of divisions per spline segment
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.
A polyline is defined by its vertices, i.e. the beginnings and ends of the
line segments within it (marked by squares in the polylines on the left).
You can also use the Polyline function to draw 3 point and 4 point Bezier
curves.
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.
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.
When you move the cursor and the symbol moves with it, the symbol is
attached to the cursor at its hook point. For details on symbols and how
to create them see Drawing Structure in the User Guide.
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.
For more information on symbols and scale, see Load Symbol File.
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. Otherwise,
The freehand sketch is composed of many small line segments and finer
intervals will result in smoother lines but consume more memory. It is
advisable not to use many sketches on your drawing as these can
seriously slow down AllyCAD's operation.
AllyCAD will prompt:
Enter minimum distance (in mm) between freehand drawn points
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
If you haven't selected anything you will automatically enter the Select
function. Select the primitives you want to move.
AllyCAD will prompt:
Enter point that must move
Position the cursor on a point on the selection set. Press [Enter] or click.
This point is the reference point that you will use to define the
movement.
AllyCAD will now prompt:
Enter point it should move to
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 haven't selected anything you will automatically enter the Select
function. Select the primitives you want to mirror.
The mirror options will be displayed on the Control Bar:
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
Different scales can be applied to the selection set in the horizontal and
vertical directions. If you haven't selected anything you will
automatically enter the Select function. Select the primitives you want to
scale.
AllyCAD will prompt:
Enter point about which to scale
Alternatively you can type specific horizontal and vertical scaling factors
from the keyboard. For example, typing "2 0.5" will scale the selection set
by a factor of 2 in the horizontal direction and by a factor of 0.5 in the
vertical direction. To type the scaling factors, click on the NO button and
follow the instructions in "Scaling from the Keyboard".
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
If you haven't selected anything you will automatically enter the Select
function. Select the primitives you want to repeat.
AllyCAD will prompt:
Repeat how many times
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
Unlike Repeat, Drop does not assume a regular interval between copies
of the selection set. Copies are positioned individually.
If you haven't selected anything you will automatically enter the Select
function. Select the primitives to copy.
AllyCAD will prompt:
Enter a point on selection set
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.
If you haven't selected anything you will automatically enter the Select
function. Select the primitives to rotate.
AllyCAD will prompt:
Enter point about which to rotate
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
Before After
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.
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.
It does not matter whether the lines to be chamfered join, cross or do not
intersect at all.
The Control Bar will display the options and the cursor switches to
Freehand mode.
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 on the line or arc to be divided or extended and press
[Enter] or click. AllyCAD will then prompt:
Enter point where you want to divide element (or point to
extend it to)
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 on the line or arc to be divided or extended and press
[Enter] or click. AllyCAD will then prompt:
Enter point where you want to divide element (or point to
extend it to)
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)
If you want to snip everything inside or outside a box, click on the YES
button. If you want to snip everything inside or outside a circle, click on
the NO button.
Remove elements on inside? (else outside)
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
Position the cursor at a point on the snip circle's circumference and press
[Enter] or click. The elements inside or outside the circle will be deleted.
AllyCAD will continue to prompt:
Enter new centre point of snip circle
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.
If you haven't selected anything you will automatically enter the Select
function. Select the primitives you want to move to another layer.
AllyCAD will display the following dialog:
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.
If you haven't selected anything you will automatically enter the Select
function. Select the primitives you want to copy to another layer.
AllyCAD will display the following dialog:
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.
This function converts ellipses into 12 arcs so that they can be snipped,
hatched or snapped to.
AllyCAD will prompt:
Enter polygon about ellipses to be converted to arcs
Draw a polygon around the ellipses to be converted. Use the [Space Bar]
to close the polygon.
The enclosed ellipses will be converted.
AllyCAD will continue to prompt:
Enter polygon about ellipses to be converted to arcs
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 a point through which you want a geometry line to
pass and press [Enter] or click.
AllyCAD will now prompt:
Enter slope of line (in degrees)
Position the cursor at a point through which you want another geometry
line and press [Enter] or click. Alternatively, cancel line drawing by
choosing another function, pressing the [Space Bar] or clicking on Done.
Position the cursor at one point through which a geometry line should
pass and press [Enter] or click.
AllyCAD will then prompt:
Enter second point
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
Type the diameter of the tangent circle and click on or press [Enter].
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
Type the diameter of the tangent circle and click on or press [Enter].
AllyCAD will prompt:
Select line
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
Type the diameter of the tangent circle and click on or press [Enter].
AllyCAD will then prompt:
Select first circle (inside or outside)
Where the tangent circle will appear is also dependent on which side of
the first existing circle the cursor is positioned on.
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.
If the circle is accidentally placed inside the triangle formed by the three
lines instead of outside it, try selecting the three lines again, this time
selecting them further away from the triangle.
The centroid of three points determines the tangent circle. If the three
geometry lines are parallel, no circle will be drawn.
Position the cursor close to another line in order to draw another circle
and press [Enter] or click. Alternatively cancel circle drawing by
choosing another function, pressing the [Space Bar], clicking on Done or
.
Point
will be displayed. Try again, but enter a different radius or position the
point differently.
AllyCAD will continue to prompt:
Circle tangent to line through point... select geometry line
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
Generally, two circles are possible, as shown in this diagram. Which one
is drawn is also dependent on the cursor position as shown below.
Point
Point
If you position the cursor on this side of
the existing circle ...
Point
Type in the radius of the tangent circle and click on or press [Enter].
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.
6-24 AllyCAD Reference Manual
If a circle cannot be drawn tangent to the line and through the point, the
message
Tangent circle not possible
will be displayed. Try again, but enter a different radius or position the
point differently.
AllyCAD will continue to prompt:
Circle tangent to circle through point...select geometry
circle
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
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
This function is useful for determining line and arc intersection points,
and for projecting existing lines to another part of the drawing.
AllyCAD will prompt:
Select element to be copied to
geometry
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
This function deletes all geometry permanently, unless you have saved it
first using the File ► Save Options ► Save Geometry function.
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 TooKit 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.
You can also edit text parameters using the Settings ► Set Text Defaults
function. You can edit the text parameters of a single text item by
double clicking on it with the Select cursor.
Set the options you require and click on the Apply button to align the
selection set.
Align Align
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.
The appearance (text height, arrow size, number of decimals, etc.) of the
dimension is set using Settings ► Set Dim Defaults. These settings affect all
the dimensions on your drawing, including previously drawn ones. This
means that if you are not satisfied with the way your dimensions look,
you can change them at any stage.
The spacing between subsequent dimensions is determined by the
Linefeed option in Settings ► Set Dim Defaults.
You can change the text content, arrow type and witness line colour of
individual dimensions using Annotate ► Edit Dimension ► Edit Dimension
Properties.
Horizontal dimensions are fully associative. This means that if you
change the size of a dimensioned object using, for example, Modify ►
Stretch or Modify ► Scale, the dimensions will automatically update to
reflect the new size.
You can also edit a horizontal dimension so that it will change the size of
object on which it is based. See Alter Dimension.
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
The text will automatically 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.
If you are drawing Running or Chained dimensions and you position the
cursor close to an existing dimension, the new dimension text and line
will be drawn relative to this existing dimension regardless of the cursor
position.
34.3
34.3
34.3
50
The distance between the two points is measured and is displayed in the
Control Bar. To accept the dimension as it is, click on or press [Enter].
Alternatively, you may now:
1. Add Tolerances
To add tolerances to the dimension you must type certain characters
after the measured distance in the Control Bar.
+.2
100 -.1 The following examples illustrate the
use of the special characters to
produce tolerances:
Free dimensions
If you are drawing Free dimensions, AllyCAD will prompt:
Enter text position
56.9
18.6 19.3
37.9
18.6
45°
A dimension at a fixed angle that you type
.3
typed.
10
The distance between the two points 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].
AllyCAD will prompt:
Enter text position
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. If you are working in decimal angles,
you will be asked to enter the bearing in the form dd.dddd (e.g. 45.5
degrees). If you are working in degrees, minutes and seconds, you will
be asked to enter the bearing in degrees, minutes and seconds, ie.
"dd.mm.ss". When you have entered the angle click on or press
[Enter].
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.
AllyCAD will prompt:
Enter text part of angular dimension
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].
To obtain a degree symbol (°), type "Alt" + "0176". To do this hold down
the [Alt] key while you type in the four numbers "0176" on the numeric
keypad.
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].
To obtain a degree symbol (°), type "Alt" + "0176". To do this hold down
the [Alt] key while you type in the four numbers "0176" on the numeric
keypad.
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
The length of the arc 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]. 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
Arc centre
If you want to dimension an arc defined by three points - the arc centre
and two points on the radius - click on the NO button.
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
This function enters a radial dimension onto an arc or circle. In the case
of arcs, the radius is measured and is indicated by an R. In the case of
circles, the diameter is measured and is indicated by a Ø (the diameter
sign).
Dimension appearance (text height, arrow size, number of decimals, etc.)
is set using Settings ► Set Dim Defaults. These settings will affect all the
dimensions on your drawing, including previously drawn ones. This
means that if you are not satisfied with the way your dimensions look,
you can change them at any stage.
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.
The direction of the first to the second point is calculated in that order.
There will be a 180 degree difference if points are entered in the reverse
order.
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.
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 option
to "None". This means that hatches will not be drawn on redraws. If you
then want to see your hatches, you can display them when you want to
with Annotate ► Draw All Hatch function.
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 number 12 at the beginning of the last three lines changes the hatch
colour from red to white. You might also want to make the hatch lines
thicker. In this case edit the hatch definition so that it looks like this:
*brick,Brick or masonry-type surface
10, 0
12, 2, 0, 0,0, 0,.25
12, 2, 90, 0,0, 0,.5, .25,-.25
12, 2, 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:
Select hatch to change
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.
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.
The number of decimals and separator characters for the coordinates are
set in Settings ► Set Dim Defaults. The format string is used to enter point
numbers, if required, and spacing between coordinates.
For example, a format string of:
Pt1 %s %s
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.
The order in which coordinates displayed depends on the way you have
set up Northings and Eastings in Drawing Settings in the Settings
Menu.
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.
Suppose you select Draw ► Line (Chained) and enter the first point of the
line. You then select Hold by pressing the [+] key, in order to draw the
line at the locked angle, say 45 degrees.
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.
Move your cursor close to the geometry intersection you want to jump to
and press [Enter] or click. The cursor jumps exactly onto the geometry
intersection.
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 :
* *
information about all the objects on the specified layers will be dumped.
AllyCAD will prompt:
Do you want data from all elements (else just object
headers)
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.
Pens (colors) are numbered from 1 to 255 in the Color toolbar. 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.
Points are represented as lines whose start and end coordinates are the
same.
Polylines
For further information on the above text properties, see Settings ► Set
Text Defaults.
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.
If the Grid Snap mode or the Grid Jump do not appear to be snapping
to grid points, it is probable that they are snapping to invisible grid
points. In order to see these invisible points, zoom into your drawing or
increase the maximum number of grid dots across screen.
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.
This function measures the area and perimeter of polygons. When you
select this function, you will enter the Perimeter Menu.
Once you have defined the perimeter you wish to measure, an
information box will appear displaying its length, the area inside it and
the centroid of the points used to calculate the area. These
measurements will be presented in the currently selected linear and area
units.
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.
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).
If you don't know what an object name, a parent name or a hook point
is, see Drawing Structure in the User Guide.
User-defined Attributes
Three user-defined attributes have been used in the template:
MANUFACTURER, PART_NO and COLOUR.
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.
Type a name for an attribute. For example, if the object is a bath and
one of the bath's attributes is colour, type COLOUR. Then press
[Enter] or click on .
AllyCAD prompts:
Enter attribute default value
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
Enter the radius of the nodes to be added. A value of between one and
two millimeters is reasonable. Press [Enter] or .
AllyCAD will prompt:
Enter next node position
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
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
If you would like the box or circle to be drawn around the detailed view
as shown above click on the YES button.
Choose a layer for the detailed view to be copied into by clicking on the
appropriate layer in the list.
AllyCAD will prompt:
Enter new magnification for layer ‘newlayer’
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
This question is only asked if you have chosen to draw an expand circle
around the detailed view.
If you want to join the two circles with an arrow, click on the YES button,
otherwise click on the NO button.
Choose a layer for the detailed view to be copied into by clicking on the
appropriate layer in the list.
AllyCAD will prompt:
Enter new magnification for layer ‘newlayer’
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].
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.
Suppose you have three objects in a drawing, one of them hatched. When
you select Show Objects, each object will be shown on the screen in turn.
Its hook point will be displayed as a star, and the snip box will be
displayed.
It's parent name, object name and layer will be displayed in the prompt
area. If the object is a hatch perimeter, the perimeter’s reference point
will be shown as a cross, and the hatch index used to hatch the perimeter
will also be displayed in the prompt area.
AllyCAD prompts:
What layer do you want to show objects from (enter “*” for
all layers)
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.
where SHAPES is the parent name, TRIANGLE 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.
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.
This function groups drawing primitives into a symbol after they have
been drawn.
Make Symbol has three advantages over the other methods of object
creation:
1. It asks you a series of questions allowing you to place the object's
hook point at a position of your choice. The position of the hook
point is very important if you are going to import an object from one
drawing into another as a symbol, because the object will appear in
the second drawing with its hook point at the cursor position.
If you were to use Begin New Object or Group Into Object to create
the object, you would have to position the hook point separately
using the Objects ► Edit Object ► Change Hook Point function.
It allows you to attach attributes to objects. For example, if you draw a
fuse, you might want to attach an attribute to it stating that its current
rating is 2 amps. Attributes can be extracted in a bill of materials. Refer
to Bill of Materials in the Tools Menu for more details.
It allows you to define your own snip box around the object. This can
automatically erase any part of the drawing over which the symbol is
placed.
AllyCAD will prompt:
Enter name for new symbol (blank to stop making symbols)
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.
In the following examples, a window symbol has been inserted into a wall
and the wall has been snipped away to accommodate the window, and a
fuse has been inserted into a circuit and the circuit has also been snipped
away.
If you enclose any hatches within the polygon, these will be converted
to lines.
The attribute prompt is the name or description for the information, for
example "RESISTANCE" for a resistor, "WEIGHT" for a piece of steel,
"MATERIAL" for what a window is to be manufactured from or
"CURRENT" for the current rating of a fuse.
If you want to attach attribute information to the object type in the name
and click on or press [Enter].
AllyCAD will prompt:
Enter attribute default value
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
When you insert the object into another drawing using Draw ► Symbol
the attributes can be displayed as text or extracted in a bill of materials.
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 a prompt for another attribute and click on or press [Enter]. You
may add other attributes or stop adding attributes by leaving the Control
Bar blank and clicking on or pressing [Enter].
AllyCAD will prompt:
Enter name for new symbol (blank to stop making symbols)
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
This option allows you to rename an object or objects. Both the object
and parent names may be changed.
You can select the object whose name must be changed by clicking on it
with your cursor. Alternatively, you can select one or several objects
whose names must be changed by specifying the name of those objects.
AllyCAD will prompt:
Enter object name to be changed or select object with cursor
Select by cursor
AllyCAD will prompt:
Select object for name change
Position the cursor on the object whose name is to be changed and press
[Enter] or click. The object's current parent and object names are
displayed in the Control Bar.
AllyCAD will prompt:
Enter new parent and object names (separated by a space)
Type the new parent and/or object name for the object you have selected
and click on or press [Enter].
Position the cursor on the object whose name is to be changed and press
[Enter] or click. Alternatively cancel the function by choosing another
function, pressing the [Space Bar], clicking on Done or .
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
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.
This function toggles the highlighting of the current object. In this way
the current pattern can be made to “blink” which is a useful method of
determining what the current object is.
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
Rotate the block dynamically or type in the exact rotation angle on the
Control bar.
You can abort the scaling and rotation by pressing the {Esc] key or the
[Space Bar].
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 the
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.
Changing scale does not change dimensions. For example, if a line has a
dimension of 100mm, and the scale is changed, then that line will still
have a dimension of 100mm. It will merely look smaller or larger in
relation to the paper size.
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
Additionally, you can choose to display points with circles, boxes and/or
diamonds around them.
If you type a negative point size, it is interpreted as a 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.
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
This function is especially useful for centering drawings that have been
imported via DXF or DWG on the paper. The edges of your sheet of
paper are marked by purple dotted lines. Sometimes you may need to
centre your drawing on the paper.
AllyCAD will prompt:
Enter new paper centre
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.
In the USA, the sheet size numbers correspond to the numbers given in
the macro description. In South Africa and Europe, this function is
executed from the menu via a macro, which subtracts 10 from each
sheet number (I.e. A0 was 10 and becomes 0, A1 was 11 and becomes 1
etc.) This is for compatibility with older versions of the CAD.
This option changes the magnification factor used in the Magnify and
Demagnify functions.
AllyCAD will prompt:
Enter new magnification factor
Type the magnification factor you want to use, then click on or press
[Enter].
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 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.
Pen
Right click on the pen cell to display the color palette to change the line
color.
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 are
Setting out line drawing…
Perimeter
while parallel lines with a negative offset
Parallel line will appear on the same side.
End
45°
Start In this example, the starting and ending
angles for the parallel lines were 135
degrees for the start angle and 45 degrees
Di r
ect for the end angle.
i on 135°
of
dra
win
g
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
Witness lines often print very faintly on high resolution inkjet printers.
To overcome this set aside one pen (colour) for the witness lines. When
you print map that pen to the desired thickness. See Print.
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.
The dimension defaults loaded each time you enter AllyCAD or select
File ► New are stored in a drawing called STARTUP.DRG.
This function allows you to set the parameters of new and existing
survey dimensions.
The following dialog box is displayed:
" 338
° 23 Text follows bearing direction
'40 25.1 '40"
3°41 .6
3 24
The dimension text will always follow the
24
25. 0'40"
1
°5
36. 3'20"
2
150
°5
it is sometimes upside down.
25. 0'40"
150
°5 right way up, regardless of the bearing
2
°5
36. 3' 20" direction.
240
1
0"
10°25'2 Bearing on top, Distance on bottom.
40.9
m
0 40.9 Both bearing and distance on top.
10.25.2
8.55"
10°25'1 Round to 0 seconds.
40.9 m
9"
10°25'1 Round to 1 second.
40.9
0"
10°25'2 Round to 10 seconds.
40.9
The number of decimal places is set in the Angular Format option of the
Drawing Settings.
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 section defines how DXF/DWG stroke fonts must be converted into
AllyCAD fonts.
The list of fonts is stored in the FromDXFFonts section of the CAD.INI
file in your user directory. You can add further fonts by opening the
CAD.INI file in your user directory into a word processor and adding the
required font names to the existing listing.
If the DXF/DWG file contains an unknown AutoCAD font add
"UNKNOWNNAME" as the font name in the For DXF Font section of the
The list of fonts is stored in the ToDXFFonts section of the CAD.INI file
in your user directory. You can add further fonts by opening the
CAD.INI file in your user directory into a word processor and adding the
required font names to the existing listing.
The pens and line types are mapped across exactly.
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.
You can configure AllyCAD to use Windows virtual memory or to use it's
own virtual disk swapping technology.
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 as 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.
This minimum distance affects all commands, even the Done command.
If you have drawn the last point of a line and you are going to use the
Done button on the puck to finish the line, you must move the puck
away from the last point of the line before pressing Done.
Refer to the Tools ► Tidy Polygons and Tools ► Line To PolyLine functions
as this can help tidy up digitized input.
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.
Locked Layers
AllyCAD's functions will not work on locked layers. For example, you
cannot select or accidentally move entities on a locked layer. Locked
layers are marked by the word "Yes" in the Lock column. To toggle the
layer lock status simply right click in the Lock 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 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
You cannot undo a layer delete! To delete layers with nothing on them,
you can also use the File ► Purge Redundant Elements function.
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
Before batch printing uncheck the Open Creates a new window option in
the System Settings.
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.
Before batch printing uncheck the Open Creates a new window option in
the System Settings.
Procedure
AllyCAD will display a list of files that can be
converted. Select the file type you wish to convert.
The default column width is calculated based on the drawing scale, layer
magnification and units.
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
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
Indicate the position you want the date/layer information placed on the
drawing. A list similar to that below will be placed on the drawing using
the current text defaults.
SURV_PHOTO_CONTROL
SURV_TREE_SYMB
SURV_CADAST_BOUND
SURV_STORMWATER
SURV_WATER
SURV_FENCES
SURV_PATHS
SURV_FLUVIAL
SURV_FLOODLINES
SURV_WALLS
SURV_TREES
SURV_SUB_STRUCTURES
SURV_BUSH_SYMB
SURV_SIGNS
SURV_BANKS
SURV_STRUCTURES
SURV_BUILDING_HATCH
SURV_BUILDINGS
SURV_SERVICE
SURV_ROADS
SURV_SPOT_HEIGHTS
SURV_CONTOURS_INDEX
SURV_CONTOURS_INTER
SURV_TEXT
SURV_CADAST_POINTS
SURV_CONSTR_CLASS
0
Divide an Angle
Equally divide an angle into multiple parts
Procedure
AllyCAD will prompt:
Select first line (Space to exit)
Divide a Line
Divide a line into equal segments
This function divides or marks a line into equal segments with or without
a tick or a circle indicating the 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 Only
This option divides the line into equal segments without marking it.
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.
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
Indicate the position of the corner of the next wall moving in a clockwise
direction or anticlockwise direction depending on the drawing direction
that you have selected in the dialog. AllyCAD will continue with this
prompt until you press the space bar and then the first promp will
appear again. Press the spacebar to exit the function or start drawing
another wall repeating the above steps.
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.
The following figure illustrates the options available for drawing a wall
around a perimeter:
The following figure illustrates the options available for tracking a line:
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.
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 cross section
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. AllyCAD will draw
the truss and return to original prompt (step 3) and you can start
another cross section or exit the function.
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:
The stairs setup dialog consists of three tabbed pages: general, railings
and treads. These are discussed in detail in Stairs Setup Dialog
Select the drawing pen colour, linetype, layers and arrow head
dimension on the general page. Select a railing from the drop-down list,
or fill in the relevant data on the railings page and select a tread from the
drop-down list, or fill in the relevant data on the treads page.
Before closing the dialog select the stair type. If you want straight stair
section drawn select the straight section button or if you want landings
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)
If you are drawing a plan view of a straight section, indicate the position
of the base of the staircase on the plan view. If you are drawing a
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:
There are 3 types of landing dimensions and shapes are specified on the
drawing plan view, viz. U-shaped, L-shaped and Z-shaped landings.
To draw stair straight sections select the landing stair type on the general
setup page. On the railing setup page select a railing from the drop-down
list or fill in the relevant data. Only the tread width on the tread setup
page is used to draw 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 clic 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.
The elevation is drawn upside down so that it has the correct orientation
in the existing views of the drawing.
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
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.
This option allows the user to customize the appearance of bolts, nuts
and other mechanical toolkit components. This is especially useful where
industry or project standards must be followed.
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.
Select a predefined screw from the drop-down list at the top-left of the
dialog, or change the screw dimensions to your needs.
Select which view of the screw you wish to draw (top view, side view, or
both views), and which linetype to use for the head and shaft of the
screw.
If you wish to draw multiple copies of the screw, then specify a Repeat
Number greater than 1 (but less than 1000). Choose whether to repeat the
screw 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 screws will be drawn (“PCD” option), or just the spacing between the
screw centers (“Spacing” option).
You may add your own screw definitions by clicking on the Add button,
and then entering the relevant screw measurements. The screw
definition will be saved when you click on OK, or select another screw
definition from the list.
If you modify an existing screw definition, you will be asked to save it.
Select No to avoid overwriting the original screw definition.
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.
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).
You may add your own rivet definitions by clicking on the Add button,
and then entering the relevant rivet measurements. The rivet definition
will be saved when you click on OK, or select another rivet definition
from the list.
If you modify an existing rivet definition, you will be asked to save it.
Select No to avoid overwriting the original rivet definition.
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 Rivets 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.
If you modify an existing hole definition, you will be asked to save it.
Select No to avoid overwriting the original hole definition.
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
Type in the length, width, and rotation of the slot separated by spaces.
The length specified must be the total length of the slot, not the distance
between centerlines. The rotation must be specified in degrees.
AllyCAD will prompt:
Do you want to draw the slot with centerlines?
Click on “Yes” if you want the slot to be drawn with centerlines, or “No”
if you do not want centerlines to be drawn.
AllyCAD will prompt:
Click to place the slot (spacebar to exit)
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:
Select a pre-defined shaft from the drop-down list, or specify your own
parameters.
The shaft is split up into a variable number of “sections”. The length,
diameter, left trim and right trim for each section must be specified.
The “trim” can be either a fillet or a chamfer. If you do not wish to have a
left or a right trim for a specific section, enter a value of 0 (zero) for the
relevant trim in that section.
If you modify an existing shaft definition, you will be asked to save it.
Select No to avoid overwriting the original shaft definition.
The “EMPTY_SHAFT” definition is intended as a template for creating
your own shafts from scratch. You cannot overwrite it.
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:
Select a pre-defined gear from the drop-down list, or specify your own
parameters.
If you specify a shaft diameter of 0 (zero), then the shaft and keyway will
not be drawn.
If you specify a key width of 0 (zero), then the keyway will not be drawn.
You may add your own gear definitions by clicking on the Add button,
and then entering the relevant gear measurements. The gear definition
will be saved when you click on OK, or select another gear definition
from the list.
If you modify an existing gear definition, you will be asked to save it.
Select No to avoid overwriting the original gear definition.
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:
Select a pre-defined flange from the drop-down list, or specify your own
parameters.
You may add your own flange definitions by clicking on the Add button,
and then entering the relevant flange measurements. The flange
definition will be saved when you click on OK, or select another flange
definition from the list.
If you modify an existing flange definition, you will be asked to save it.
Select No to avoid overwriting the original flange definition.
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:
Procedure
Select Annotate ► Welds in the Mechanical Toolkit menu.
The Weld Annotation dialog will be displayed:
Select a predefined weld annotation from the drop-down list at the top-
left of the dialog, or change the weld annotation specs to your needs.
You may add your own weld definitions by clicking on the Add button,
and then entering the relevant weld measurements. The weld definition
will be saved when you click on OK, or select another weld definition
from the list.
If you modify an existing weld definition, you will be asked to save it.
Select No to avoid overwriting the original weld definition.
Indicate the position of the arrow tip of the annotation. AllyCAD will
prompt:
Indicate the position of the Weld indicator
Indicate where the weld symbols will be placed, on the same horizontal
as the weld indicator.
Indicate the position of tail
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 lineof 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
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 erf numbers on the centre of the erven and writes the
erven area below the area table. The text can be written at an angle or
horizontal to the erven or and a table of erf numbers, erf areas and
centroids can be written.
Procedure
Insert Erf Numbers Select this option to place erf numbers, areas in the
erven as well as a table of erf numbers, areas and
centroids.
Settings Enter text height in mm.
Enter text pen number.
Select or create the layer for erf numbers.
Help Select this option to launch this help topic.
Exit Exit the program.
Settings
Before proceeding to the "Insert Erf Numbers" menu option first set the
text height, pen colour and layer you want to work in.
1. "Enter text height in mm". Enter the text height.
2. "Enter text pen number". Enter the pen colour.
3. "Pick or create a layer from following list and Set Current".
Select and existing layer or create a new layer.
This tool places street numbers either inside, outside or at the angle to
the boundary or horizontal.
Procedure
This tool labels coordinates with the minimum of setup and provides
options for reading or adding labels to the drawing.
Procedure
Procedure
Grid Cross Point cursor at approximate position for Grid Cross and
click. You will then be prompted to accept or adjust the
current Y and X values and the cross will be drawn at
the specified position. If you require multiple crosses
answer No to the next option and type in the required
spacing and the number of horizontal, then vertical
crosses.
North Sign Draws true north signs at selected postions on the
drawing.
Set Defaults Enter the length of the cross as mm on paper and the
pen number to draw it with. Do you require Y and X on
the end of the coordinate values? Enter the length and
width of the north sign as mm on paper and the pen
number to draw it with. Specify the text height.
Help Select this option to launch this help topic.
Exit Exit the program.
North Sign
First set height, width and pen colour of True North Sign as well as text
height and colour in "Set Defaults" option from the menu.
AllyCAD will prompt:
Pick or create a layer to place the Grid Cross or North Sign
from following list and Set Current
Select or create a new layer you would like the North Sign to placed in.
Click the position on the drawing you would like the True North Sign
placed or press [SPACEBAR] to return to the menu.
Grid Cross
Set the length and pen colour of Grid Cross as well as text height and
colour in "Set Defaults" option from the menu.
This function draws a line a specified length and bearing from the closest
end of an existing line.
Procedure
Relative Polar Move Select this option to draw a line a specified length and
bearing from an existing line.
Help Select this option to launch this help topic.
Exit Exit the program.
Select the end of the line you want the new line drawn from. AllyCAD
will prompt:
Enter line length
Edit Defaults
Display the SG Diagram Setup dialog
Before you can start generating SG Diagrams, you must Load a SG *.ini
file in the Setup dialog.
Procedure
Questions Tab
Each row in the spreadsheet represents a question which will be asked
when generating the SG Diagram.
Default Text Column Enter the default text for the questions that will be asked.
Hor Coord Column Enter the Horizontal coordinate for the question text
measured from the left of the Titleblock drawing.
Ver Coord Column Enter the Vertical coordinate for the question text
measured from the bottom of the Titleblock drawing.
Pen Column Enter the Pen colour for the Question text.
Size Column Enter text size (in 10th of millimeters) of the Question
text.
Lorg Column Enter the CAD Label Origin for the Question text.
Font Column Enter the font for the Question text.
Text Tab
Stand alone Text that do not appear on the Titleblock drawing, can be
specified here.
Lines Tab
Extra lines that do not appear on the Titleblock drawing, can be
specified here.
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.
Edit Defaults
Set up the General Plan defaults
Before you start generating a general plan, you must load a General Plan
*.ini file into the Setup dialog.
Procedure
The General Plan Settings dialog will be displayed:
Default Text column Enter the default text for the questions that will be asked.
Hor Coord column Enter the Horizontal coordinate for the question text
measured from the indicated position.
Ver Coord column Enter the Vertical coordinate for the text measured from
the indicated position. An entry of "LF" (Line Feed) will
draw the particular piece of text directly underneath the
previous item that was drawn.
Pen column Enter the Pen colour for the text.
Size column Enter the text size (in 10th of millimeters) for the text.
Lorg column Enter the text Label origin.
Font Column Enter the Font
Default Text column Enter the default text for the questions that will be asked.
Hor Coord column Enter the Horizontal coordinate for the question text
measured from the left of the Title block drawing.
Ver Coord column Enter the Vertical coordinate for the text measured from
the bottom of the Title block drawing. An entry of "LF"
(Line Feed) will draw the particular piece of text directly
underneath the previous item that was drawn.
Pen column Enter the Pen colour for the text.
Size column Enter the text size (in points) for the text.
Lorg column Enter the text Label origin.
Font Column Enter the Font
Tables Tab
Each row represents a table that can be generated using the appropriate
functions.
Figure Row Trace Area function
Area Row Area Table function
Reference Marks Row Reference Marks function
Trig Beacons Row Trig beacons function
Block corners Row Block Table function
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
This function will ask the Heading questions as specified in the Setup
dialog, and insert the text at a user defined position.
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.
This function will generate an stand area table for graphically indicated
stands and number the selected stands.
Procedure
Ensure that stand 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 stand to number, you will be asked to:
Enter 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
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 Trig beacons (Done to exit)
Indicate each Trig beacon to be tabled and press Escape to draw the
table.
After indicating the Trig beacon, you will be asked to:
Enter number
Procedure
You will be asked to:
Indicate erf to dimension
Graphically Indicate the stand by clicking inside the stand. The selected
stand 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
stand.
A direction and bearing will be drawn with the current text settings and
with the separator details as specified in the Setup dialog.
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
If you want to add an existing circle or arc to the perimeter simply click
on it with your cursor. The circle or arc will start flashing.
If you want to draw a new circle to the perimeter this function operates
in the same way as the Draw ► Circle function.
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.
Add more rectangles 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
Position the cursor close to another line or arc to add to the perimeter.
Alternatively, click on one of the Done buttons, click on , or press the
[Space Bar] to stop adding entities to the perimeter.
Remember that 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 in
the direction of tracing, and lines with a negative offset will be drawn to
the left.
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
As well as creating sub-directories for different users, you can also create
sub-directories for different types of drawing.
For example, in the diagram above, all of Guest's preferred settings will
be stored in the Guest sub-directory, all of Paul's preferred settings will
be stored in the Paul sub-directory, etc.
The arch sub-directory may contain defaults suitable for architectural
drawings, e.g. a default scale of 1:50 and special brick hatch patterns.
The mech sub-directory may contain defaults suitable for mechanical
drawing, etc.
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.
[LOGFILE]
WriteLogFile=0
[PATHS]
drawpath=J:\AllyTest\
[STOREDEF]
AUTOGEOM=0
USEDOM=1
AUTOBACKUP=10
REFERENCEPROMPT=0
ASKBACKUP=0
BACKUPPATH=
[VMEM]
MaxMegAlloc=5
Vmempath=C:\WINDOWS\TEMP
[COLORS]
pen0=128 0 0
pen1=255 0 0
pen2=153 41 247
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=244 129 152
CustColor1=111 23 116
CustColor2=2 0 157
CustColor3=60 130 40
CustColor4=153 41 247
CustColor5=0 0 0
CustColor6=0 0 0
CustColor7=41 2 176
CustColor8=176 5 41
CustColor9=20 7 0
Defaults 13-5
CustColor10=176 186 184
CustColor11=214 17 64
CustColor12=118 35 246
CustColor13=0 112 165
CustColor14=176 186 184
CustColor15=0 243 165
[SETTINGS]
UseWidthInPerimeter=0
OpenCreatesNewWindow=1
CompileMacro=0
Create16BitCompatible=0
DefaultEditor=NOTEPAD.EXE
ZoomOutFactor=0
PopUpDoneButton=0
BitmapTilingThreshold=1000
CompressedTiles=0
TilePath=.
[DRAWINGS]
drawing1=I:\DTP\CIVIL DESIGNER 6\PAVEMENT.DRG
drawing2=I:\DTP\CIVIL DESIGNER 6\SKC.DRG
drawing3=J:\ALLYTEST\LINCOLN1.DRG
drawing4=D:\DEMO\DATA\DEMODATA.DRG
drawing5=C:\ALLYCAD3\DRAWING\BOMTEST.DRG
drawing6=J:\ALLYTEST\4486801.DRG
drawing7=J:\ALLYTEST\TESTDUPL.DRG
drawing8=J:\ALLYTEST\PDV\HK_CC.DRG
[TOOLBARPOSN]
Color=TOP 637 917 0 20 VISIBLE 1
File=TOP -2 399 50 82 VISIBLE 1
Main=LEFT -2 31 80 448 VISIBLE 16
Snaps=RIGHT 1249 1282 110 390 VISIBLE 12
Screen=LEFT 0 0 0 0 HIDE 16
View=TOP 397 620 50 82 VISIBLE 1
Modify=TOP 618 1027 206 238 HIDE 1
Trims=TOP -2 106 236 268 HIDE 1
Geometry=RIGHT 1249 1282 388 732 VISIBLE 18
Dimensions=LEFT -2 31 446 697 VISIBLE 13
[CONTROLBAR]
name=Arial
size=8
weight=400
italic=0
charset=0
pitchandfamily=34
[PRINTDEF]
PROFILES=SCE,PRINT
CURRPROFILE=PRINT
[PRINT_PROFILE_PRINT]
PRINTERARCS=1
ALLPENSTOBLACK=1
SCALEHATCH=0
SCALEFATLINES=1
[TEXTEDIT]
TAKERETURN=0
DLGBOXSIZE=492,392,788,603
[INFOWINDOW]
POSITION=118,301
[BOM]
COMMATABSPACE=2
FIRSTLINEFIELDNAMES=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
Defaults 13-7
UNKNOWNNAME=TXT
[DXFFlags]
ExplodeBlocks=0
TargetVersion=10
[FromDXFFonts]
STANDARD=MODERN
TXT=MODERN
MONOTXT=MODERN
ROMANS=ROMAN
SCRIPTS=SCRIPT
ROMAND=ARIAL
ROMANT=TIMES NEW ROMAN.B
ITALICT=TIMES NEW ROMAN.B.I
ROMANC=TIMES NEW ROMAN
ITALICC=TIMES NEW ROMAN.I
SCRIPTC=SCRIPT.I
UNKNOWNNAME=MODERN
[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
[DIGITIZER]
TYPE=None
FORMAT=
INITSTRING=
COMPORT=0
BAUD=0
DATABITS=0
STOPBITS=0
PARITY=0
DIGSCALE=0,1000,0,0,1000,0
SCREENSCALE=0,100,0,0,100,0
MINDIST=1
NOBUTTON=0
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 10, 11, 12, 13 or 14 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 function that is executed when you click on button number 0
with your right mouse button. This function locks the cursor to a line.
The third set of curly brackets and their contents
{Left: Toggle cursor hold. Right: Lock cursor to a line;}
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
been “pre-answered” so that Ratio Jump automatically jumps to the
midpoint of the nearest line.
CAD.MEN 14-7
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:
MENUITEM “Cut and Ru&b” {exec “.\macro\cut&rub”;} {Cut a
line and delete the segment;}
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.
On and off distances are measured in millimetres on the final paper plot,
regardless of drawing scale.
Scale
Odd line
Pen offset
Line width Y origin
Angle X origin
The line hatch pattern comprises just one line at an angle of 0 degrees.
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.
On distance =
Each alternate line is offset by
1.25mm 0.125mm. This offset is multiplied by a
Off distance =
scale of 10, so the offset is actually
-1.25mm 1.25mm.
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
Line 2 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 and 2:
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.
Pixrepeat
This is the distance over which the line type pattern is repeated on the
screen - 32 pixels for line types 1, 4 and 5; 16 pixels for line type 2 and 8
pixels for line type 3.
Pixrepeat must be a factor of 32, e.g. 4, 8, 16 or 32.
Plotrepeat Perc_off
Pixrepeat Perc_on
Percstart Perc_off
Perc_on
8mm
line type 4
50%
70%
80%
100%
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
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
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.
If you want to access a file in the macro sub-directory, give a path like
this:
.\macro\test.mac
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”
AllyCAD will look to see if there is a mechmate directory inside the user's
Program Home directory.
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
Enables you to suppress the question "Enter point to jump to" during
snaps. This question is asked if a jump is selected from a menu, a macro
or a docked toolbar. See also ENQUIRE “ASKJUMP”.
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:
BEEP 200 400
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."
This causes a popup menu to appear. When the user chooses an option,
the number of the choice is stored in A. So if the user chooses Menu
Choice 1, A is 1, etc. You can underline a letter in each menu choice by
placing an & sign in front of the letter to be underlined. This letter can
then be used to select the choice from the keyboard, as in the main
AllyCAD menu defined by the CAD.MEN file.
See dims.mac in the macro sub-directory of your user directory for an
example.
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)
Extracts a substring from string b$. Startpos is the start position of the
substring you want to extract and endpos is the end position.
Example:
a$=substr$("hello world",6,10)
a$ will be "world", because the start position is character 6 (w) and the
end position is character 10 (d). Characters are numbered from 0
upwards.
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$)
Searches for the string b$ in the string a$. If b$ is found in a$, a is the
position where b$ starts. If b$ is not found in a$, a is -1.
Example 1:
a=STRSTR("HELLODOLLY","HE")
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$)
This is the opposite of the above function, and converts an angle string to
a relative angle.
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
sets up the text parameters of the text that is going to be written onto the
screen. Often the best way to get the parameters that you need for a
particular type of text is to create a drawing containing just that piece of
text, then to export that drawing as a macro using the Export Macro
function. Then cut the WTEXTPARM statement out of the macro you
have exported and paste it into the macro you are writing.
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
Places the type of angular units you have selected into u (0 = radians, 1
= decimal degrees, 2 = d.mm.ss, 3 = d°mm’ss", 4 = Nd°m’s"W ).
Places the number of angular decimals into n. Places the position of the
zero point into z (3,6,9 or 12 o’clock).
If angles are to be measured in an anti-clockwise direction c is 1.
Otherwise it is 0. See Angular Format for an explanation.
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")
C The number of square mm contained in the unit.
Places the value of the system AskJump setting into J. AskJump enables
you to suppress the question "Enter point to jump to" during snaps. This
question is asked if a jump is selected from a menu or a dropped toolbar.
See also SETASKJUMP.
ENQUIRE “COORDS” c x y
Counts the number of objects on the drawing with matching parent and
object names. You can use wildcards, so "*" "BOLTM6" would count all
the objects with the name BOLTM6 regardless of their parent name.
"ASSEMBLY" "*" would count all the objects with the parent name
ASSEMBLY, regardless of their object name.
The number of objects counted is placed into count.
If one or more objects are found, the coordinates of the enclosing
rectangle of the first object found are placed into x1, y1, x2 and y2
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
rect [a,b] [a+50,b+50] [#]
Macros 17-31
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
This command is useful for seeing whether the cursor is locked or not. If
it's locked, h will be 1. Otherwise h will be 0.
If the cursor is not locked, the last fixed point is placed into 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 “CURMODE” a$
This function returns the cursormode in a$. Eg. “A” for Graball, “F” for
Freehand etc.
ENQUIRE “CURPOSN” x y
Enquires the current coordinate position of the cursor, and places it into
the variables x and 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$
Enquires the currently set grid x and y spacings, grid display density,
pen, and whether the grid is switched on (1) or off (0). The pen is a
number between 1 to 15.
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
P Pen number assigned to the layer: A number between 1 and
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$
Places the character "O" , "P" or "R" into H$ depending on whether layer
highlight is Off, Pen8 or Rainbow. See also the function LAYHIGHL
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".
Returns in Lindex the index of the line style given by Lname$. If Lname$
is not a line style name, then the returned index will be –1.
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 that points will always
be drawn at 2% of screen size regardless of magnification.
ENQUIRE “SCALE” s
ENQUIRE “SELDEF” Line arc text dims arrow data bitmaps polylines points
inserts
ENQUIRE “SURVDIMFORMAT” F
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
Macros 17-41
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 “TIME” t$
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.
Opens the file "filename" for reading or writing and assigns a filenumber
to that file. This filenumber must be used for all subsequent reading and
writing operations.
Only four files can be open at any time. Their numbers are 0, 1, 2 and 3. If
you use PRN as the filename then you can write to the printer. If no path
is specified in the filename, AllyCAD will search for the file in the current
macro path. See the example at the end of this section.
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
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.
Macros 17-45
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
This macro reads the three items in each line of the data file you created:
the site name (L$), the X coordinate (X) and the Y coordinate (Y). It plots
a point at the X,Y coordinate position and labels the point with its site
name, L$.
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"
Inserts data into a specified item in the other application. H is the handle
returned by DDEConnect.
Macros 17-47
DDERequest H "Item" D$
Requests the data in a specified item in the other application, and inserts
it into D$. H is the handle returned by DDEConnect.
DDEDisconnect H
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.
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 "AllyCAD" 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("AllyCAD", "system")
DDEExecute h, "opendr c:\AllyCAD\drawing\filter.drg"
Macros 17-49
DDEExecute h, "showwindow 2"
DDETerminate h
End Function
In the example above, you type "R" if you want a running dimension
and "C" if you want a chained dimension.
MIRROR [xmirror,ymirror] "Y/N" (vertical/horizontal) "Y/N"
(keep old half/discard old half)
In the example above, you type "Y" if you want to mirror vertically,
and "N" if you want to mirror horizontally. You type "Y" if you want
to keep the old half, and "N" if you don't, for example:
MIRROR [xmirror,ymirror] "Y" "Y"
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$ [#]
6. You need to put double quotes around all string parameters, such as
"R", "Y" or "Agatha".
7. If you do not give values for all the parameters, AllyCAD will prompt
for the remaining values. For example, if you type
CIR
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.
Loads the specified layers of the drawing "filename" - walls and electrical
in this example. See Load Layers.
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 a layer as "filename", where "elec" is the name of the layer to save
and x,y is the reference point of the saved layer so it can later be loaded
accurately into another drawing using Load Drawing. See Save Layer.
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
The above command causes a zoomplot to fit with a border around the
edge of the paper, see the following examples:
ZOOMPLOT "Y" 10 "Y" [#] 0 0 1 15
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
Switches automatic selection of all new entities on and off. For example,
if you use SELECTNEW 1 in a macro, all further entities you draw will
be selected. A side effect of this command is that the entites are not
drawn when first created. The entities appear when you clear the
selection using clearsel.
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
Zooms the drawing at a certain scale (scalefac) around a given point, x,y.
This scale is relative to the drawing scale, not to the current zoom. See
Zoom Scaled.
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
Macros 17-63
in the popup menu. You can also activate the toolbar popup menu by
right clicking on any toolbar between the buttons and the frame.
MAGNIFY
Magnifies about the current cursor position. See Magnify. Use SETCUR
x y before calling magnify to ensure that magnification happens at the
right spot.
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 by its centre point and a point on its circumference. See
Circle.
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 parallel lines around a perimeter using the defaults set in Parallel
Defaults in the Settings Menu. The perimeter is tracked using the Auto
method. X,y is a point inside the perimeter. See Parallel Line.
See also Perimeter Functions.
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 coordinate
identifying the element that must be parallel copied. Give a coordinate
Draws lines or arcs parallel to an existing line or arc and through a fixed
point. See 1 Parallel Element. If you want more than one parallel line,
leave out the autotrimming/no autotrimming option. x,y is a coordinate
identifying the element that must be parallel copied. Give a coordinate
just next to the element, on the side you want the parallel elements to
appear on. Examples:
PARLL1 "N" 5 [0,1] [0,10] [#]
Copies the geometry circle at the coordinate location x,y to a solid circle.
See Fill Geom Cir.
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.
Mirrors the selection set about a horizontal or vertical axis. See Mirror.
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.
Copies the selection set multiple times. X0,y0 is a point on the selection
set. Xd1,yd1, xd2,yd2 etc. are the positions to which it is copied. See
Drop.
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
DIVIDE [xselect,yselect] [xcut,ycut] [#]
Joins the line closest to coordinate x1,y1 to the line closest to coordinate
x2,y2. See Join Lines.
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) [#]
Draws a geometry circle with the diameter dia, which is tangent to the
two geometry lines identified by x1,y1 and x2,y2. See Circle Tan LL.
Macros 17-73
GCTANLC dia [xl,yl] (line) [xc,yc] (circle) [#]
Draws a geometry circle with the diameter dia, which is tangent to the
geometry line identified by xl,yl and the geometry circle identified by
xc,yc. See Circle Tan LC.
Draws a geometry circle with the diameter dia, which is tangent to the
geometry circle identified by xl,yl and the geometry circle identified by
x2,y2. See Circle Tan CC.
Draws a geometry circle with the radius rad whose circumference passes
through the point xt,yt. The circle is tangent to the geometry circle
identified by x,y. See Circle Tan CPtRad.
Draws a geometry circle with the radius rad whose circumference passes
through the point xt,yt. The circle is tangent to the geometry line
identified by x,y. See Circle Tan LPtRad.
Draws a geometry line tangent to the geometry circle closest to x,y. The
line passes through the point xl,yl. See Line Tan C.
Draws a geometry line tangent to the two circles identified by x1,y1 and
x2,y2. See Line Tan CC.
Copies the solid elements closest to x1,y1, x2,y2 etc. to geometry. See
Make Geometry.
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
Enters slope dimensions when the slope of the dimension is taken from
the points being dimensioned. See Slope Dimension. To enter several
slope dimensions at once you can use the following:
SDIM "N" (angle from points) [x1,y1] [x2,y2] !
[xtext1,ytext1] [x3,y3] [x4,y4] ! [xtext2,ytext2]... [#]
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] ! [#]
Enters a free sloped dimension at a fixed angle, where ang is the angle.
See Slope Dimension. To enter several free dimensions at once you can
use the following:
SDIM "Y" (fixed angle) ang "F" (Free) [xtext1,ytext1]
[x1,y1] [x2,y2] ! [xtext2,ytext2] [x3,y3] [x4,y4] !... [#]
SDIM "Y" (fixed angle) ang [xtext,ytext] [xlead] [ylead] [x1,y1] [x2,y2] ! [x3,y3] !
[x4,y4] !... [#]
Enters sloped dimensions when you are using Architectural Style in Set
Dim Defaults. xlead,ylead is the point the leader lines extend to.
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] ! [#]
Enters a free isometric dimension at a fixed angle, where ang is the angle
of the dimension line. See Slope Dimension. To enter several free
dimensions at once you can use the following:
SDIM "Y" (fixed angle) ang "Y/N" (witness lines at +60/+120
degrees) "F" (Free) [xtext1,ytext1] [x1,y1] [x2,y2] !
[xtext2,ytext2] [x3,y3] [x4,y4] !... [#]
"N" means not satisfied with the arc radius, and xn,yn is the new arc
radius position. See Angular Dimension.
Enters a radial dimension. Xa,ya identifies the arc or circle. See Radial
Dimension.
Enters a radial dimension. Xa,ya identifies the arc or circle. Xt,yt is the
text position. See Radial Dimension.
Enters an ordinate dimension where x1,y1 is the base point, x2,y2 is the
text position and x3,y3 x4,y4 etc. are the points being dimensioned. See
Ordinate Dimension.
Enters survey dimensions between points x1,y1, x2,y2 etc.. See Survey
Dimension.
Edits the dimension text at position x,y so that it reads "newtext". See
Edit Dimension Properties.
Edits the dimension arrow at position xa,ya. The arrow belongs to the
dimension whose text is at position x,y. See Edit Dimension Properties.
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] [#]
Cuts the dimension line of the dimension whose text is at position x,y,
within the box defined by the coordinates x1,y1 and x2,y2. See Cut
Dimension Line.
Searches for the dimension text "text" 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.
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
Selects the hatch to be altered at position x,y and enters the Hatch/Solid
Fill dialog box. See Alter Existing Hatch.
Shows all the hatching on the screen. See Draw All Hatch.
PLOTWHAT
Converts the hatches within the polygon defined by x1,y1, x2,y2, x3,y3
etc. to lines. See Hatch->Lines.
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
JUMPCEN
Jumps to the nearest circle or arc centre. See Jump Circle Centre.
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]
Jumps to coordinate position x,y and automatically snaps to it. See Move
to Coordinates. X and y are in the order Northing,Easting or
Easting,Northing, depending on what you have specified in Drawing
Settings.
CURTOCOORD [x,y]
Jumps the specified distance and angle and automatically snaps to it. See
Polar Move. The way the angle is measured depends on how you have set
it up in Drawing Settings.
Jumps the specified distance and angle. The way the angle is measured
depends on how you have set it up in Drawing Settings.
HOME
SHOWNODE
Macros 17-85
DUMPDATA "layers" "object names" "Y/N" (all elements/header only) "filename"
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.
Places three lines of information about the element nearest to x,y into
A$, B$ and C$. See Query Entity. For example, when you query a line,
the following information is placed into A$, B$ and C$:
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.
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) !
Macros 17-87
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"
Groups the selection set 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 Group Into Object.
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 located at
Macros 17-89
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.
NEWCURP ! [x,y]
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
Does interactive block insertion with dynamic dragging for scaling and
rotation.
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
If set to 1, AllyCAD asks for a user name on startup. See Multiple Users in
the User Guide.
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
Change to surveyor coordinates and give the coordinates that the screen
centre should have. See Drawing Settings.
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
Sets the background color to pen p. Pens are numbered from 1 to 255.
See View Settings.
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
256 set 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
Sets the default linetype to draw symbol lines, where repeatfac is in mm.
Blockname must be the name of a previously entered block.
LINESTYLEAPPLY
This command with no parameters pops up the Apply What dialog box
before applying the default line style (linetype pen width symbol spline
fillcolor closed) to the entire selection set. You can set the default line
style with the LINETYPE, WIDTH, SETLINEDEF or LINESYMBOL
commands..
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.
Pitch&family and charset are numbers needed to ensure that the correct
font is used. Sometimes the font_name string is not sufficient. If you
want to ensure that you get a particular font, we suggest that you create
Macros 17-103
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 command with no parameters pops up the Apply What dialog box
before applying 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).
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
SETLAYERDEF N$ V K P L W X Y
Macros 17-105
N$ Layer name. This layer will become the current layer.
V 1 to make the layer visible, else 0.
K 1 to lock the layer, else 0.
P Pen number assigned to the layer: A number between 0 and
15. Pens are numbered from 1 to 255.
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).
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
This command with no parameters pops up the Apply What dialog box
before applying the default hatch style (Hatchindex / fillcolor, Hatch Pen,
Hatch Scaling) to all hatching within the entire selection set. You can set
the default hatch style with the STARTHATCHEX command followed by
a
STARTOBJ “”
This applies the default hatch (Hatchindex / fillcolor, Hatch Pen, Hatch
Scaling) to all hatching within the entire selection set. You can set the
default hatch style with the STARTHATCHEX command followed by a
STARTOBJ “”
Macros 17-107
Window Functions
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$
PARLLINEPERIM
QRYAREAPERIM
Macros 17-109
HATCHPERIM
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
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
This command behaves as though you had selected the Intersection Icon
from the Perimeter Menu. It allows you to trace over a perimeter by
prompting for elements and intersections in turn.
The elements you trace over are copied to the current object where they
can have parallel lines added to them or be hatched or measured using
PARLLINEPERIM, QRYAREAPERIM or HATCHPERIM.
If you do not use PARLLINEPERIM, QRYAREAPERIM or
HATCHPERIM after you have used INTERSECTPERIM, you will end
up with duplicate entities on your drawing. See the CLEARCURROBJ
command.
AUTOPERIM 1/0
Macros 17-111
where x,y identifies the perimeter to be tracked.
The 1/0 switch determines whether the first line is to be included in the
perimeter or not. AUTOPERIM 1 includes the first line in the perimeter.
Use AUTOPERIM 1 if you want to add parallel lines to the perimeter.
AUTOPERIM 0 does not include the first line in the perimeter. Use
AUTOPERIM 0 for hatching and area calculations.
When you use Autoperim, it copies the perimeter it has tracked and adds
this copy to the current object, which can then have parallel lines added
to it or be hatched or measured using PARLLINEPERIM,
QRYAREAPERIM or HATCHPERIM. See above).
If you do not use PARLLINEPERIM, QRYAREAPERIM or
HATCHPERIM after you have used Autoperim, you will end up with
duplicate lines and arcs along the perimeter. See the CLEARCURROBJ
command (below).
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
SHOWPERIM
Macros 17-113
Notes:
where filename does not include the “.MAC” extension. INT2COMP will
create a file called “filename.NEW” in the same directory as the old
macro file.
The minor incompatibilities between the old and the new syntax are
listed at the end of this chapter. In general, a program that has been
processed by the converter will not require any manual editing.
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]
The square brackets ([ ]) indicate an optional item. The vertical bar (|)
between two items indicates that one or the other is used. The constant
contains an optional sign, an optional integer portion, an optional
fractional portion, and an optional exponent. The “digits” are zero or
more decimal digits (0 through 9), and E is the exponent symbol.
You can omit either the digits before the decimal point (the integer
portion of the value) or the digits after the decimal point (the fractional
portion), but not both. You can leave out the decimal point if the number
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
If the program must supply the coordinates, represent the point as a pair
of numeric expressions, separated by a comma and enclosed in square
brackets, as follows:
[xcoord, ycoord]
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]
Arrays
A new feature of compiled macro is the ability to manipulate arrays of
numeric values. Arrays must be declared at the start of the program, and
Compiled Macros 18-11
are therefore accessible from any part of the program. Any number of
arrays may be declared, and the dimension of each array may be as large
as you wish, within the limits of available memory on the machine that is
executing the compiled macro program. The syntax of the array
declaration is:
ARRAY arrayname[dimension]
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.
The AND operator evaluates to 1 if both its operands are nonzero, and
evaluates to 0 if either of its operands is zero.
The OR operator evaluates to 1 if either of its operands is nonzero, and
evaluates to 0 if both of its operands is zero.
The NOT operator evaluates to 1 if its operand is zero, and evaluates to 0
if its operand is nonzero.
The following examples use these operators:
Example 1:
IF X << Y AND Y >> = Z
CALL DRAW_BOX
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)
The ATAN and ATAN2 functions calculate the arctangent of x and y/x,
respectively; ATAN returns a value in the range -90 to +90 degrees;
ATAN2 returns a value in the range -180 to +180 degrees. The ATAN2
function uses the signs of both parameters to determine the quadrant of
the return value.
String-related functions
There are also some functions whose parameters are string values, but
which return numeric values:
STRCMP(a$,b$)
searches for string B$ in string A$. If string B$ is found in string A$, then
the function returns the offset in string A$ where the first character of B$
was found. If string B$ is not found then it returns -1. For example:
index = STRSTR(“Hello world”,”Hello”)
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$)
This function is similar to REPLY but the default reply is NO. It returns
1 if the user presses N or [ENTER], and returns 0 if he presses Y or
[SPACE BAR].
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.
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$.
The statements inside the curly brackets are executed if the “numeric-
expression” evaluates to TRUE. Note that the numeric expression does
not have to be enclosed in parentheses, although doing so will not do any
harm. An expression is regarded as TRUE if its value is nonzero.
Note that each curly bracket must be on a line by itself, otherwise the
compiler will produce an error message. If you want to execute only one
statement if the expression is true, you can leave out the curly brackets,
as follows:
IF numeric-expression
statement
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)
}
A colon is required after each CASE constant, and after the DEFAULT.
SWITCH statements may be nested to a maximum depth of 20.
Here is an example of a SWITCH statement:
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
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)
This type of procedure would return a numeric value using the RETURN
statement.
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 have any number of string constants in a program, but no more
than 150 in each statement.
Error: found end of file before end of comment
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
The argument corresponding to the answer to the question “Do you want
tolerances on or off?” must now be a string containing “Y” or “N”, not a
numeric argument of 0 for NO or 1 for YES. This makes the syntax more
consistent.
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-16
120 deg.................................................................................................................. 8-4
A
ABACKUP1.DRG ............................................................................................ 1-22
ABACKUP2.DRG ............................................................................................ 1-22
Accelerator Keys
adding macros to .......................................................................................... 14-8
customising.................................................................................................... 14-6
Accept Button (in Perimeter Menu) ............................................................ 12-2
Accuracy of AllyCAD..................................................................................... 10-11
Add Arrow ......................................................................................................... 7-56
Add Balloon..................................................... 7-58, see Add/Rem Text Bubble
Add Data Item .................................................................................................. 8-31
Add Nodes ......................................................................................................... 8-46
Add Text .............................................................................................................. 7-2
Add/Rem Text Bubble ........................................................... 7-60, see Balloons
Adding Users .................................................................................................... 13-3
Add-Ons, Loading ............................................................................................ 1-13
Align.............................................................................................................7-7, 7-17
Alignment
aligning objects to a grid............................................................................... 7-7
aligning objects with each other ................................................................. 7-7
aligning text................................................................................................... 7-17
spacing objects evenly................................................................................. 7-14
All Colours to Black......................................................................................... 1-36
Alter Dimension ......................................................................................7-25, 7-51
Alter Existing Hatch........................................................................................ 7-67
Angles
dimensioning................................................................................................. 7-33
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-33
Angular Format.............................................................................................. 10-12
dialogue box ................................................................................................ 10-12
saving defaults...............................................................................................13-1
Annotation to Draw .......................................................................................10-15
Application Error Message.............................................................................1-42
Arc 3 Point ...........................................................................................................4-6
Arc Lengths
dimensioning .................................................................................................7-33
Arc Lengths, Querying ....................................................................................8-34
Arc Radius ...........................................................................................................4-7
Architectural Style Dimensions ........................................................ 7-26, 10-44
Arcs
adding to a perimeter ........................................................................ 12-2, 12-4
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-19, 5-28, 5-32, 5-35
dimensioning arc lengths............................................................................7-33
dimensioning diameters..............................................................................7-41
dimensioning radii .......................................................................................7-41
dividing ...........................................................................................................5-28
don't print or print incorrectly...................................................................1-36
extending or shortening .................................................................... 5-19, 5-28
extracting information about .....................................................................8-21
joining ................................................................................................... 5-19, 5-28
line arc line sequences.................................................................................4-12
parallel .......................................................................................4-15, 4-16, 10-28
projecting to geometry.................................................................................6-33
splitting ...........................................................................................................5-28
text around.......................................................................................................7-4
tracing over geometry arcs .........................................................................4-22
tracing over geometry circles.....................................................................4-21
trimming............................................................................ 5-19, 5-28, 5-32, 5-35
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-56
editing ................................................................................................. 2-13, 10-48
extracting information about .....................................................................8-24
part of arrow doesn't behave like an arrow ............................................ 7-56
saving defaults .............................................................................................. 13-1
ASCII Files
exporting ........................................................................................................ 1-32
importing ....................................................................................................... 1-30
Associative Dimensions .................................................................................. 7-19
Attributes.......................................................................................... 4-35, 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-28
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-24
centering drawings on the paper ............................................................ 10-20
drawing origin................................................................................................. 1-5
drawing scale .........................................................................................1-5, 1-16
exporting bitmaps to.................................................................................... 1-16
exporting colours to ..................................................................................... 1-16
exporting DWG files to................................................................................ 1-15
exporting DXF files to................................................................................. 1-15
exporting fonts to ......................................................................................... 1-16
exporting line types to........................................................................1-16, 16-2
imported drawings are very slow................................................................ 1-6
importing attributes from............................................................................. 1-6
importing colours from ................................................................................. 1-4
importing dimensions from.......................................................................... 1-6
importing DWG files from ............................................................. 1-3, 1-4, 1-7
importing DXF files from .............................................................. 1-3, 1-4, 1-7
importing fonts from ..................................................................................... 1-5
importing line types from ....................................................................1-5, 16-2
part of imported drawing is missing .......................................................... 1-5
version .......................................................................................................... 10-54
what AllyCAD supports ................................................................................ 1-4
Automatic Perimeter Tracking ..................................................................... 12-6
B
Background Colour ....................................................................................... 10-15
saving default ................................................................................................ 13-1
Backups
.BAK files .......................................................................................................1-16
ABACKUP1.DRG .........................................................................................1-22
ABACKUP2.DRG .........................................................................................1-22
prompting for ................................................................................................1-22
where stored ..................................................................................................1-23
Balloons..................................................................... see Add/Rem Text Bubble
drawing ...........................................................................................................7-58
saving defaults...............................................................................................13-1
setting style ..................................................................................................10-50
Bearings ...........................................................................................................10-12
Begin New Object...............................................................................................9-6
Bezier Curves........................................................................................ 4-30, 10-25
Bill of Materials....................................................................................... 1-28, 8-35
troubleshooting .............................................................................................8-44
Bitmaps
appear as hatched rectangles...................................................................10-18
cut and paste....................................................................................................2-3
displaying ........................................................................................... 1-11, 10-18
editing parameters .......................................................................................2-13
exporting to AutoCAD .................................................................................1-16
loading ..............................................................................................................1-9
moving behind other elements ..................................................................1-10
placeholders.................................................................................................10-18
real world pixel size .....................................................................................1-11
resample mode ..............................................................................................1-11
saving drawings containing.............................................................. 1-10, 1-16
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-43
statistics ..........................................................................................................1-24
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-2
Centering Drawing on Paper ...................................................................... 10-20
Chained Dimensions ....................................................................................... 7-20
Chamfer ............................................................................................................. 5-26
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-26
Circle Diameter (Draw) .................................................................................. 4-10
Circle Diameter (Geometry) ............................................................................ 6-8
Circle Tan 3L .................................................................................................... 6-18
Circle Tan CC ................................................................................................... 6-14
Circle Tan CPtRad........................................................................................... 6-22
Circle Tan LC ................................................................................................... 6-11
Circle Tan LL...................................................................................................... 6-9
Circle Tan LPtRad........................................................................................... 6-20
Circles..........................................................................................................see Arcs
isometric....................................................................................................... 10-11
Circular Copy.................................................................................................... 5-13
Circular Spline ................................................................................................. 4-27
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-71
linking information to ................................................................................. 8-31
linking text to ................................................................................................ 8-31
listing .............................................................................................................. 7-71
querying ......................................................................................................... 8-34
saving defaults...............................................................................................13-1
table of.............................................................................................................7-71
Copy ......................................................................................................................2-3
Copy Selected->New Layer...........................................................................5-40
Copying...............................................................................................................5-16
by cursor............................................................................................... 2-12, 2-14
circular copy ..................................................................................................5-13
items to another layer ..................................................................................5-40
linear copy......................................................................................................5-13
polar copy .......................................................................................................5-13
to Clipboard .....................................................................................................2-3
Corrupted Drawings ........................................................................................1-42
Counting Objects ..............................................................................................9-13
Create Block ......................................................................................................9-26
Cross......................................................................................................................6-2
Cubic Spline ......................................................................................................4-28
Current Layer ..................................................................................... 10-66, 10-70
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-32
Cut Dimension Line.........................................................................................7-50
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-36
Delete Geometry El ......................................................................................... 6-35
Deleting................................................................................................................ 2-5
duplicate entities .................................................................................1-43, 8-45
everything inside a box or circle ............................................................... 5-35
everything outside a box or circle............................................................. 5-35
geometry ...............................................................................................6-35, 6-36
layers............................................................................................................. 10-69
overlapping entities ..................................................................................... 8-45
part of a defined perimeter ........................................................................ 12-7
part of a dimension witness line ............................................................... 7-50
part of a line or arc...........................................................5-19, 5-28, 5-32, 5-35
part of an ellipse ..................................................................................4-25, 5-41
redundant lines............................................................................................. 8-45
snipping.......................................................................................................... 5-35
trimming ............................................................................5-19, 5-32, 5-35, 8-45
unreferenced blocks .................................................................................... 1-43
unused layers ................................................................................................ 1-43
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-57
Dimensioning
angles .............................................................................................................. 7-33
arc lengths ..................................................................................................... 7-33
diameters ....................................................................................................... 7-41
radii ................................................................................................................. 7-41
Dimensions......................................................................... see Set Dim Defaults
adding notes to.............................................................................................. 7-48
angular............................................................................................................ 7-33
architectural style .............................................................................7-26, 10-44
arrow style ................................................................................................... 10-41
associative...................................................................................................... 7-19
chained ........................................................................................................... 7-20
deleting parts of witness lines....................................................................7-50
editing ................................................................................................... 2-13, 7-48
editing arrow heads......................................................................................7-48
editing text and resizing object to fit .......................... see Alter Dimension
editing text without affecting dimensioned object ...................... 7-24, 7-48
editing witness line colour ..........................................................................7-48
extracting information about .....................................................................8-22
free ...................................................................................................................7-21
generic .............................................................................. see Alter Dimension
horizontal .......................................................................................................7-19
isometric ............................................................................................. 7-28, 10-11
mechanical style................................................................................ 7-20, 10-43
number of decimal places shown ............................................................10-44
ordinate...........................................................................................................7-44
radial ...............................................................................................................7-41
running ...........................................................................................................7-20
saving defaults...............................................................................................13-1
sloped ..............................................................................................................7-28
style................................................................................................................10-41
survey..............................................................................................................7-46
survey dimension style ..............................................................................10-46
switching off.................................................................................................10-15
text ...................................................................................................................7-23
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-23, 7-48
vertical ............................................................................................................7-27
witness line style .........................................................................................10-41
Display Scroll Bars.........................................................................................10-18
Distance, Measuring ........................................................................................8-28
Distribution .......................................................................................................7-14
Divide/Edit .........................................................................................................5-29
Divide/Extend ...................................................................................................5-28
Dividing Lines or Arcs.....................................................................................5-28
DOM ....................................................................... see Drawing Office Manager
DOM.TXT ..........................................................................................................13-3
Dos Conversion...............................................................................................10-55
Dotted (in Perimeter Menu)...........................................................................12-7
Double Click Editing........................................................................................2-12
Drag and Snap ..................................................................................................2-12
Dragging................................................................................................... 2-12, 2-14
Draw All Hatch .................................................................................................7-68
Draw Menu ..........................................................................................................4-1
Draw Selected Hatch ...................................................................................... 7-68
Drawing Border ................................................................. see Load Title Block
Drawing Description ....................................................................................... 1-24
Drawing Frame .................................................................. see Load Title Block
Drawing Information ...................................................................................... 8-17
Drawing Office Manager ....................................................1-17, 1-18, 1-23, 1-24
Drawing Scale..........................................................................................see Scale
Drawing Settings ............................................................................................. 10-2
Drawing Sheet .................................................................... see Load Title Block
Drawing Statistics............................................................................................ 1-24
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-42
DrawingCliptidy ............................................................................................... 8-51
Drawingsnaptidy.............................................................................................. 8-49
Drop .................................................................................................................... 5-16
Dump Data ........................................................................................................ 8-17
Duplicate Entities, Deleting..................................................................1-43, 8-45
DWG Files......................................................................................... see AutoCAD
DXF Files.......................................................................................... see AutoCAD
DXF/DWG Conversion Settings ................................................................. 10-53
E
Edit Data Item .................................................................................................. 8-33
Edit Description ............................................................................................... 1-24
Edit Dimension................................................................................................. 7-48
Edit Dimension Properties ............................................................................ 7-48
Edit Macro ......................................................................................................... 1-41
Edit Object......................................................................................................... 9-19
Edit Text .............................................................................................................. 7-5
Elements .......................................................................................... see Primitives
Ellipse2Arcs ...................................................................................................... 5-41
Ellipses ............................................................................................................... 4-24
extracting information about..................................................................... 8-21
hatching.................................................................................................4-25, 5-41
jumping and snapping to ...................................................................4-25, 5-41
part ellipses ................................................................................................... 4-25
snipping part of....................................................................................4-25, 5-41
Encode Macro................................................................................................... 1-41
Enter Hatch/Solid Fill ..................................................................................... 7-61
Entities ............................................................................................. see Primitives
Erasing.................................................................................................see Deleting
Error Messages .................................................................................................1-42
Exec Macro .............................................................................................. 1-41, 17-8
Exit ......................................................................................................................1-49
Expand................................................................................................................8-52
Export Macro .......................................................................................... 1-31, 17-6
Export Text........................................................................................................1-32
Exporting
ASCII...............................................................................................................1-32
drawing data ..................................................................................................8-17
DWG files.......................................................................................see AutoCAD
DXF files........................................................................................see AutoCAD
HPGL ..............................................................................................................1-37
Plot Files.........................................................................................................1-37
via Clipboard ...................................................................................................2-3
Extending Lines ...............................................................................................8-45
Extending Lines or Arcs ....................................................................... 5-19, 5-28
F
File Menu .............................................................................................................1-1
Fill Geom............................................................................................................4-20
Fill Geom Arc ....................................................................................................4-22
Fill Geometry Cir..............................................................................................4-21
Fillet ....................................................................................................................5-22
Filters..................................................................................................................2-17
Fonts ............................................................................................... 10-36, see Text
exporting to AutoCAD .................................................................................1-16
importing from AutoCAD .............................................................................1-5
on the Control Bar......................................................................................10-15
FP Error Message ............................................................................................1-42
Free Dimensions...............................................................................................7-21
Freehand Drawing ...........................................................................................4-38
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-22
circle tangent to line.....................................................................................6-20
circle tangent to line and circle .................................................................6-11
circle tangent to three lines ........................................................................6-18
circle tangent to two circles........................................................................6-14
circle tangent to two lines .............................................................................6-9
circle through three points .........................................................................6-26
colour ............................................................................................................ 10-34
concentric circles............................................................................................ 6-8
crossed lines .................................................................................................... 6-2
deleting..................................................................................................6-35, 6-36
inking in ......................................................................................................... 4-20
line perpendicular to another line ............................................................ 6-31
line perpendicular to two points ............................................................... 6-31
line tangent to circle .................................................................................... 6-27
line tangent to two circles........................................................................... 6-29
line through point at specific angle ............................................................ 6-3
line through two points ................................................................................. 6-4
loading saved................................................................................................... 1-9
parallel lines / circles ..................................................................................... 6-5
projecting from existing lines / arcs ......................................................... 6-33
saving........................................................................................... 1-16, 1-23, 1-26
switching on and off..........................................................................6-34, 10-15
tracing over.................................................................................................... 4-20
Geometry Trace-Over ..................................................................................... 4-20
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-70
Hatch or Solid Fill Dialogue Box.................................................................. 7-63
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-61
combining solid fills with bitmaps ............................................................ 7-66
combining solid fills with cross hatches .................................................. 7-65
converting to lines ........................................................................................7-70
disappears .................................................................................7-62, 7-68, 10-18
editing .............................................................................................................7-67
ellipses................................................................................................... 4-25, 5-41
selecting..........................................................................................................2-20
solid fill colours .............................................................................................7-66
switching off.................................................................................................10-18
tips ...................................................................................................................7-65
viewing selected ................................................................................ 7-68, 10-18
Healing Breaks in Lines ....................................................................... 5-28, 5-30
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-19
HPGL files
accuracy..........................................................................................................1-30
HPGL Files
exporting ........................................................................................................1-37
importing........................................................................................................1-29
I
Icons
adding macros to ..........................................................................................14-8
customising ....................................................................................................14-2
Illegal Operation Message ..............................................................................1-42
Imperial Units ...................................................................................................10-6
on same drawing as metric .........................................................................10-8
Import ASCII.....................................................................................................1-30
Import HPGL ....................................................................................................1-29
Import/Export ...................................................................................................1-29
Importing
DWG Files .....................................................................................see AutoCAD
DXF Files ......................................................................................see AutoCAD
plot files ..........................................................................................................1-29
text ...................................................................................................................1-30
via Clipboard ...................................................................................................2-4
Insert Block .......................................................................................................9-27
Invalid Backup Path Message .......................................................................1-23
Isometrics
circles ............................................................................................................10-11
dimensions ......................................................................................... 7-28, 10-11
grid....................................................................................................... 8-26, 10-11
locking cursor to isometric angles ..............................................................8-4
Item References................................................................................ see Balloons
J
Joining Lines ...........................................................................................5-30, 8-45
Joining Lines or Arcs .............................................................................5-19, 5-28
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-25, 5-41
L
Label Coord....................................................................................................... 7-71
Landscape ......................................................................................................... 10-3
Compiled Macro ............................................................................................... 18-4
Last Fixed (jump)............................................................................................. 8-11
Layer Control.................................................................................................. 10-68
Layers
adding ........................................................................................................... 10-69
copying and pasting between drawings .................................................... 2-4
copying items to another layer .................................................................. 5-40
current...............................................................................................10-66, 10-70
deleting......................................................................................................... 10-69
deleting unused ............................................................................................ 1-43
editing........................................................................................................... 10-69
highlighting ................................................................................................. 10-70
loading specific ............................................................................................... 1-8
locking .......................................................................................................... 10-69
magnification .............................................................................................. 10-69
moving items to another layer................................................................... 5-39
name ............................................................................................................. 10-68
pen and line type by .......................................................................10-69, 10-71
querying which layer something is on ..................................................... 8-34
saving default ................................................................................................ 13-1
saving specific ............................................................................................... 1-25
saving visible ................................................................................................. 1-26
selecting everything on ............................................................................... 2-20
visible..................................................................................... 10-67, 10-69, 10-70
Lengths
querying ......................................................................................................... 8-34
Line (Chained).................................................................................................... 4-2
Line Arc Line.................................................................................................... 4-12
Line Defaults................................................................................................... 10-23
Line Tan C......................................................................................................... 6-27
Line Tan CC...................................................................................................... 6-29
Line Type
by layer ............................................................................................. 10-69, 10-71
editing .............................................................................................................2-12
exporting to AutoCAD .................................................................................1-16
importing from AutoCAD .............................................................................1-5
querying..........................................................................................................8-34
saving default ................................................................................................13-1
selecting by ....................................................................................................2-17
Line Types
exporting to AutoCAD .................................................................................16-2
how displayed................................................................................................16-2
how printed....................................................................................................16-2
importing from AutoCAD ...........................................................................16-2
Line Width
by pen colour .................................................................................................1-36
querying..........................................................................................................8-34
Linear Copy .......................................................................................................5-13
Lines
adding to a perimeter ........................................................................ 12-3, 12-4
chained..............................................................................................................4-2
deleting part of ................................................................. 5-19, 5-28, 5-32, 5-35
deleting redundant.......................................................................................8-45
deleting very short........................................................................................8-45
dividing ...........................................................................................................5-28
drawing at an angle............................................................... see Lock Cursor
extending or shortening ...........................................................5-19, 5-28, 8-45
extracting information about .....................................................................8-20
healing breaks ..................................................................................... 5-28, 5-30
joining ................................................................................ 5-19, 5-28, 5-30, 8-45
line arc line sequences.................................................................................4-12
mid-point jump..............................................................................................8-11
parallel .......................................................................................4-15, 4-16, 10-28
projecting to geometry.................................................................................6-33
single .................................................................................................................4-3
splitting ...........................................................................................................5-28
trimming...................................................................5-19, 5-28, 5-32, 5-35, 8-45
Lines (Pt to Pt) ....................................................................................................4-3
LINETYPE.MAC.................................................................................... 13-3, 16-1
List Objects ........................................................................................................9-13
Listing Coordinates..........................................................................................7-71
Load ......................................................................................................................1-7
Load Bitmap........................................................................................................1-9
Load Drawing .....................................................................................................1-7
Load Geom ..........................................................................................................1-9
Load Layers.........................................................................................................1-8
Load New Menu............................................................................................... 1-13
Load Symbol File....................................................................................1-27, 8-42
Load Title Block............................................................................................... 1-13
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-41
examples ........................................................................................................ 17-5
executing...............................................................................................1-41, 17-8
exporting a drawing as a macro .......................................................1-31, 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-42
Make Arcs from Lines..................................................................................... 1-35
Make Geometry ................................................................................................ 6-33
Make Symbol ...........................................................................................8-40, 9-15
Mapping Colours to Line Widths.................................................................. 1-36
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-20, 10-43
Memory ............................................................................................................10-56
Menus
adding macros to ..........................................................................................14-8
loading alternative........................................................................................1-13
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-39
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-39
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-42
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-42
Objects
adding to a perimeter .................................................................................. 12-4
aligning to a grid............................................................................................. 7-7
aligning to each other.................................................................................... 7-7
attributes...........................................................1-28, 4-35, 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-33, 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-34
scale........................................................................................................1-27, 4-34
search and replace ....................................................................................... 9-23
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-14
updating ......................................................................................................... 9-23
Objects Menu ...................................................................................................... 9-1
Offsets
closing off ends ........................................................................................... 10-31
saving defaults .............................................................................................. 13-1
Open ..................................................................................................................... 1-3
Ordinate Dimension ........................................................................................ 7-44
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-25
Paste......................................................................................................................2-4
Pen Mapping .....................................................................................................1-36
Pens
by layer ............................................................................................. 10-69, 10-71
editing pen of existing entities...................................................................2-12
exporting to AutoCAD .................................................................................1-16
geometry.......................................................................................................10-34
importing from AutoCAD .............................................................................1-4
mapping to line widths ................................................................................1-36
print all as black............................................................................................1-36
print very faintly ...........................................................................................1-36
querying..........................................................................................................8-34
saving default ................................................................................................13-1
selecting by ....................................................................................................2-17
Perimeter Menu
icons on ...........................................................................................................12-1
Perimeters
deleting part of defined ...............................................................................12-7
measuring............................................................................................. 8-29, 9-13
Perp Bisector.....................................................................................................6-31
Perpendicular (Lock Cursor) ...........................................................................8-3
Pick Index from Hatch ....................................................................................7-69
Pixels......................................................................................................... 1-11, 1-12
Placeholder for Bitmap .................................................................................10-18
Plot Files
accuracy ......................................................................................................... 1-30
exporting ........................................................................................................ 1-37
importing ....................................................................................................... 1-29
Plot to Fit ........................................................................................................... 1-38
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-32
Polygon Area..................................................................................................... 8-29
Polyline Defaults ............................................................................................ 10-25
Polylines..................................................................................................4-30, 10-25
editing style of existing ............................................................................... 2-13
extracting information about..................................................................... 8-20
saving defaults .............................................................................................. 13-1
Polysnip ............................................................................................................. 5-38
Portrait ............................................................................................................... 10-3
Preserve Black (bitmaps) ............................................................................... 1-12
Preserve White (bitmaps)............................................................................... 1-12
Primitives
cannot select individual ................................................................................ 2-7
extracting information about..................................................................... 8-17
querying ......................................................................................................... 8-34
selecting individual ........................................................................................ 2-7
Print.................................................................................................................... 1-34
Print Setup ........................................................................................................ 1-40
Printing .....................................................................................................1-34, 1-38
all colours to black ....................................................................................... 1-36
arcs don't print or print incorrectly.......................................................... 1-36
at a scale other than your drawing scale ................................................. 1-38
colours print very faintly ............................................................................ 1-36
line widths by colour ................................................................................... 1-36
part of a drawing .......................................................................................... 1-38
text prints at wrong orientation ................................................................ 1-34
to fit the paper............................................................................................... 1-38
Purge Redundant Elements .................................................................1-24, 1-43
Q
Query Entity...................................................................................................... 8-34
Quit ..................................................................................................................... 1-49
R
Radial Dimension .............................................................................................7-41
Raster to Vector Conversion Programs .......................................................8-45
Real World Pixel Size ......................................................................................1-11
Re-Centre Paper.............................................................................................10-20
Rectangle .............................................................................................................4-5
Redo ......................................................................................................................2-2
Redraw ...............................................................................................................3-15
Redraws
very slow......................................................................................1-43, 7-62, 7-68
Reference Point ............................................................................see Hook Point
drawing ...........................................................................................................1-23
Repair DRG File ...............................................................................................1-42
Repeat.................................................................................................................5-13
Replace Objects ................................................................................................9-23
Resample Mode (bitmaps) ..............................................................................1-11
Rotate..................................................................................................................5-17
Rotate Icon...........................................................................................................2-6
Rotating
by cursor............................................................................................... 2-11, 5-17
by keyboard ...................................................................................................5-17
Rubbing Out .......................................................................................see Deleting
Ruler Bar
turning on and off.......................................................................................10-17
Running Dimensions .......................................................................................7-20
S
Save .....................................................................................................................1-14
Save AllyCAD DOS ..........................................................................................1-21
Save As ...............................................................................................................1-15
Save Geometry..................................................................................................1-26
Save Layer .........................................................................................................1-25
Save Options .....................................................................................................1-22
Save Selected ....................................................................................................1-25
Save Settings.....................................................................................................1-22
Save Visible .......................................................................................................1-26
Saving Selected Entities ....................................................................... 1-15, 1-25
Scale ....................................................................................................................10-3
changing .........................................................................................................10-6
more than one on a drawing ....................................................................10-69
saving default ................................................................................................13-1
Scale (Scaling Entities) .....................................................................................5-9
Scale Text ............................................................................................................7-6
Scales
more than one on a drawing ......................................................................8-52
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
Security .............................................................................................................. 1-44
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-48
Set Balloon Defaults...................................................................................... 10-50
Set Current Layer.......................................................................................... 10-66
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-67
Settings for Dos .............................................................................................. 10-55
Settings Menu................................................................................................... 10-1
Sheet Size ........................................................................................................ 10-21
Shortening Lines ............................................................................................. 8-45
Shortening Lines or Arcs................................................... 5-19, 5-28, 5-32, 5-35
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-38
Slope Dimension ..............................................................................................7-28
Slope Line ............................................................................................................6-3
Slow Drawings ...............................................................................1-43, 7-62, 7-68
Snap Modes
snapping to ellipses ............................................................................ 4-25, 5-41
Snip .....................................................................................................................5-35
Snip Box..................................................................................................... 9-4, 9-16
Splines ................................................................................................................4-27
Bezier curves .................................................................................................4-30
circular............................................................................................................4-27
cubic ................................................................................................................4-28
Splitting Lines or Arcs ....................................................................................5-28
STARTUP.DRG................................................................................................13-3
Statistics, Drawing ...........................................................................................1-24
Stretch ..................................................................................................................5-2
Stretching By Cursor.........................................................................................2-9
Survey Dimension............................................................................................7-46
style................................................................................................................10-46
Switch Geometry On/Off.................................................................................6-34
Symbol (Function) ................................................................................. 4-33, 8-42
Symbol Libraries
loading ............................................................................................................1-27
System Settings ..............................................................................................10-62
T
Tangents
circle tangent to circle .................................................................................6-22
circle tangent to line.....................................................................................6-20
circle tangent to line and circle .................................................................6-11
circle tangent to three lines ........................................................................6-18
circle tangent to two circles........................................................................6-14
circle tangent to two lines .............................................................................6-9
line tangent to circle.....................................................................................6-27
line tangent to two circles ...........................................................................6-29
Text .........................................................................see Fonts; Set Text Defaults
adding to a drawing........................................................................................7-2
aligning ...........................................................................................................7-17
around an arc .................................................................................................. 7-4
at top of screen is too big or small .......................................................... 10-15
changing style of existing text ................................................................. 10-39
dimension ................................................................................. see Dimensions
disappears.........................................................................................10-15, 10-19
drawn as boxes ................................................................................10-16, 10-19
drawn as dots .............................................................................................. 10-19
editing.......................................................................................2-12, 7-3, 7-5, 7-6
exporting ........................................................................................................ 1-32
extracting information about..................................................................... 8-22
importing ....................................................................................................... 1-30
inside a balloon / bubble ....................................................................7-58, 7-60
matching the style of existing text .......................................................... 10-39
moving ........................................................................................7-5, see Moving
prints at wrong orientation ........................................................................ 1-34
saving defaults .............................................................................................. 13-1
scaling.........................................................................................7-6, see Scaling
switching off ................................................................................................ 10-15
Text Entry Dialogue Box.................................................................................. 7-2
Thin Pixels (bitmaps) ...................................................................................... 1-12
Tidy Polygons ................................................................................................... 8-45
Tidy Up Boundaries ........................................................................................ 8-47
Tiled Bitmaps ................................................................................................. 10-64
Title Block ........................................................................... see Load Title Block
To DXF/DWG Conversion Settings Dialogue Box.................................. 10-54
Tolerance (in Perimeter Menu) .................................................................... 12-7
Tolerances ................................................................................................7-23, 7-48
Toolbar
customising.................................................................................................... 14-2
Toolbars ............................................................................................................. 3-11
Tracking Perimeters Automatically............................................................. 12-6
Trigonometric Operators
in macros...................................................................................................... 17-14
Trim .................................................................................................................... 5-19
Trimming...............................................................................5-19, 5-32, 5-35, 8-45
U
Undo ..................................................................................................................... 2-2
Units of Measure .............................................................................................. 10-6
area.................................................................................................................. 10-7
changing......................................................................................................... 10-8
imperial and metric on same drawing ..................................................... 10-8
linear ............................................................................................................... 10-7
saving default ................................................................................................ 13-1
Unlock (Cursor) .................................................................................................. 8-6
Unlocking Cursor
permanently.....................................................................................................8-6
temporarily ......................................................................................................8-4
Unreferenced Blocks
purging............................................................................................................1-43
Update Objects..................................................................................................9-23
Use Plotter Arcs................................................................................................1-35
User Home Directory.......................................................................................13-3
Users
adding .............................................................................................................13-3
deleting ...........................................................................................................13-4
V
Variables ................................................................................................ 17-3, 17-11
Vertical Dimension ..........................................................................................7-27
View Settings...................................................................................................10-14
Virtual Memory Settings ..............................................................................10-56
Visible Layers...................................................................................... 10-67, 10-70
W
Windows '95
writing macros in..........................................................................................17-7
Z
Zoom All ...............................................................................................................3-5
Zoom Last ............................................................................................................3-4
Zoom Next ...........................................................................................................3-5
Zoom Print.........................................................................................................1-38
Zoom Scaled ........................................................................................................3-6
Zoom Selected.....................................................................................................3-7
Zoom Sheet..........................................................................................................3-6
Zoom View ...........................................................................................................3-7
Zoom Window .....................................................................................................3-2
Zooming
pre-defined views.................................................................................... 3-7, 3-8
show drawing at specific scale .....................................................................3-6
show selected entities ....................................................................................3-7
show whole drawing ......................................................................................3-5
show whole sheet of paper............................................................................3-6
step backwards through zoom sequence...................................................3-4
step forwards through zoom sequence ......................................................3-5