Program
Name
|
File Name
|
Program Description
|
Cadsetup
|
600.ABE
|
Cadsetup is the main module for CADUTILS, it reads and writes the configuration files and sets variables needed by other modules/programs. There are eleven configurable parts to the Cadsetup dialog box, Acad.Rx, Acad.Ads, Acad.Lsp, Acad.Pgp, Acad.Abc, Start CFG, Text Heights Styles and Layers, Variables, Blocks, Layers and the configuration dialog box which allows you to save the selected cfg files to a file which is then run by Cadstart.
|
Cadstart
|
601.ABE
|
Cadstart reads the CADUTILS initialization file (cadutils.ini) and then runs the programs that have been toggled to run at drawing startup. The order that the files are processed if toggled on are Block cfg file, Text Heights Styles and Layers cfg file , Variables cfg file ,Layer cfg file.
|
Writeblktbl
|
602.ABE
|
The program name is self explanatory, this program writes the block tables to a comma delimited file in the form of (block name, Y). When this program is run on the command line it will create a comma delimited file of the same name as the current drawing with the extension of blk.
Example.
Block Name, Y to delete the block or N to leave
|
Writelaytbl
|
603.ABE
|
The program name is self explanatory, this program writes the layer tables to a comma delimited file in the form of (Layer name, Linetype, Colour number). When this program is run on the command line it will create a comma delimited file of the same name as the current drawing with the extension of lay.
Example.
Layer name, Linetype, Colour number
|
Ct
|
001.ABE
|
Change a single text string.
|
Ca
|
002.ABE
|
Change multiple text strings.
|
Td
|
003.ABE
|
Replace multiple text strings.
|
Jt
|
004.ABE
|
Join a text string with another text string.
|
Ts
|
005.ABE
|
Change the size and width of text and attributes.
|
CC
|
006.ABE
|
Change text case upper, lower or flip.
|
CS
|
007.ABE
|
Change the style of text or attributes.
|
TC
|
008.ABE
|
Continue a text string.
|
PRE
|
009.ABE
|
Prefix or Suffix a text string.
|
CJ
|
010.ABE
|
Change the justification of text or attributes
|
RT
|
011.ABE
|
Pick and replace text.
|
SWT
|
012.ABE
|
Swap text strings or the first word in a text string with another.
|
ED
|
013.ABE
|
Edit text or attributes in a dialog box.
|
CHATTR
|
014.ABE
|
Replace the value of an attribute EG: (CHATTR “TAG” “NEW VALUE”). The attribute tag being searched doesn’t have to have a value and all attribute tags that match will have there value replaced with the one specified.
|
CHDWGATTR
|
015.ABE
|
Replace the value of an attribute with the current drawing name EG: (CHDWGATTR “TAG” “PREFIX” “SUFFIX” “P”). The attribute tag being search doesn’t have to have a value and will be replace with the value specified. Note Prefix Suffix and “P” are optional, if “P” is specified the PREFIX and SUFFIX must also be specified if as only as “”.
If the parameter “P” is specified the path will be prefix to the drawing name, if it is omitted or doesn’t equal “P” the path will be striped from the drawing name.
|
SUF1
|
016.ABE
|
Suffix a text string. Match this function with a variable in your BATCH file and ACAD.PGP file.
Batch file Example: SET SUF1=" BC"
Acad.pgp file Example: BC, *SUF1
When the user enters BC and then selects the text string the text string will have BC suffixed to it.
|
SUF2
|
017.ABE
|
Similar in operation to SUF1.
|
SUF3
|
018.ABE
|
Similar in operation to SUF1.
|
SUF4
|
019.ABE
|
Similar in operation to SUF1.
|
SUF5
|
020.ABE
|
Similar in operation to SUF1.
|
PRE1
|
021.ABE
|
Prefix a text string. Match this function with a variable in your BATCH file and ACAD.PGP file.
Batch file Example: SET PRE1="RL "
Acad.pgp file Example: RL, *PRE1
When the user enters RL and then selects the text string the text string will have RL prefixed to it.
|
PRE2
|
022.ABE
|
Similar in operation to PRE1.
|
PRE3
|
023.ABE
|
Similar in operation to PRE1.
|
PRE4
|
024.ABE
|
Similar in operation to PRE1.
|
PRE5
|
025.ABE
|
Similar in operation to PRE1.
|
ROO
|
026.ABE
|
Rotate any selected text to 0 degrees.
|
ADT
|
027.ABE
|
Add up selected dimension text and display the total value with the option to insert the total value. Example: Select the material list mass column using a window, once you have made your selection you can insert the total mass at the top of the material list and then edit it to suit your needs.
|
ADS
|
028.ABE
|
Add up selected dimension text and display an accumulative value with the option to insert the value. Example: Select the dimension string you want to check by picking the text one by one and then compare the accumulative text to your value or insert it as text.
|
MT
|
029.ABE
|
Modify a text value, using one of the following operators you can modify any selected text values. Plus (+), Minus (-), Multiply (*), Divide (/), Raise to power (^), Square root (Sqr).
|
INCREMENT
_1_FNAME
|
030.ABE
|
Increment a character of a drawing file name at the specified offset with the increment value.
EXAMPLE: (INCREMENT_1_FNAME "OFFSET" "VALUE + OR-“ )
The offset is from the start of the text to where the value is to be inserted, the value can be numeric or alpha and positive or negative.
|
SAVEAS_
INCREMENT_1_
FNAME
|
031.ABE
|
This program will delete the current drawing from the disk and then increment a character of the drawing file name and then do a saveas.
EXAMPLE: (SAVEAS_INCREMENT_1_FNAME "OFFSET" "VALUE + OR-“)
This program is the same as the above except it deletes the drawing from the hard disk and then does a saveas with the new drawing new.
|
A_DWGNAME
|
032.ABE
|
A program that returns an AutoCad systems variable DWG of the drawing name with or without the path. Example: (A_DWGNAME "P"). Note the parameter “P” is optional.
If the parameter “P” is specified the path will be prefix to the drawing name, if it is omitted or doesn’t equal “P” the path will be striped from the drawing name.
|
REP_ATT_1
|
033.ABE
|
This program will replace an existing attribute value using the new value starting at the offset and for the number of characters with or without a suffix or prefix.
Example: (A_DWGNAME) (REP_ATT_1 "TAG" DWG "1" "3" "PREFIX" "SUFFIX"). Note the prefix and suffix are optional but if the suffix is specified the prefix must be specified also if only “”.
The above example uses the A_DWGNAME function to set the current drawing name to the AutoCad variable DWG without a path. The “1” specified is the starting offset and the “3” is the number of characters from it.
|
SAVE_DRG
|
034.ABE
|
This program will delete the current drawing from the disk and then add a prefix or suffix to the drawing file name and then do a saveas.
Example: (A_DWGNAME) (SAVEAS_DRG "21-" DWG ""). Note the suffix is optional.
The above example uses the A_DWGNAME function to set the current drawing name to the AutoCad variable DWG without a path. The prefix “21-“ is added to the drawing name when it’s saved.
|
NEWVAR
|
035.ABE
|
A program that returns an AutoCad systems variable NEWVAR that’s made up of three supplied parameters. Example: (NEWVAR "J:\\PLOT\\" “DWG” "")
|
PLOTDATE1
|
045.ABE
|
A program to write the current date and time to an attribute - DD:MM:YY format.
The user must supply one parameter for the attribute tag.
Example: (PLOTDATE1 “TAG”)
Example of output: 23:02:97 - 4:18:30pm
|
PLOTDATE2
|
046.ABE
|
A program to write the current date and time to an attribute - MM:DD:YY format.
The user must supply one parameter for the attribute tag.
Example: (PLOTDATE2 “TAG”)
Example of output: 02:23:97 - 4:18:30pm
|
DATE1
|
047.ABE
|
A program to write the current date to an attribute - DD:MM:YY format.
The user must supply one parameter for the attribute tag.
Example: (DATE1 “TAG”)
Example of output: 23:02:97
|
DATE2
|
048.ABE
|
A program to write the current date to an attribute - MM:DD:YY format.
The user must supply one parameter for the attribute tag.
Example: (DATE2 “TAG”)
Example of output: 02:23:97
|
DATE3
|
049.ABE
|
A program to write the current date to an attribute - DD:MM format.
The user must supply one parameter for the attribute tag.
Example: (DATE3 “TAG”)
Example of output: 23:02
|
DATE4
|
050.ABE
|
A program to write the current date to an attribute - MM:DD format.
The user must supply one parameter for the attribute tag.
Example: (DATE4 “TAG”)
Example of output: 02:23
|
TIME1
|
051.ABE
|
A program to write the current time to an attribute 12 hour format.
The user must supply one parameter for the attribute tag.
Example: (TIME1 “TAG”)
Example of output: 4:18:30pm
|
TIME2
|
052.ABE
|
A program to write the current time to an attribute 24 hour format.
The user must supply one parameter for the attribute tag.
Example: (TIME2 “TAG”)
Example of output: 16:18:30
|
BOLTGROUP
|
053.ABE
|
A program to write block attribute values to a file.
To run BOLTGROUP type (BOLTGROUP “BOLT_GROUP” “G:\\PROJECTS\\00092\\BOLTLIST.CSV”) on the command line. If the file doesn’t exist it will be created, if the file exists the attribute values will be appended to it.
Refer to “Bolt Block.doc” for more info.
|
UL
|
101.ABE
|
Unlock a layer.
To run the program enter UL on the command line.
Command: UL
Command: Type layers to unlock <LA1,LA2> or <ENTER> to pick:
On the command line you can type a single layer name or make a filter containing any existing layer names using a comma delimiter to separate them. When in pick mode you can select a single entity for a layer or multiple entities on different layers.
|
LL
|
102.ABE
|
Lock a layer.
Similar in operation to UL.
|
LF
|
103.ABE
|
Freeze a layer.
Similar in operation to UL.
|
LT
|
104.ABE
|
Thaw a layers.
Similar in operation to UL.
|
ON
|
105.ABE
|
Turn layers on.
Similar in operation to UL.
|
LO
|
106.ABE
|
Turn layers off.
Similar in operation to UL.
|
CL
|
107.ABE
|
Change a layer to another layer.
|
LS
|
108.ABE
|
Set selected layer to current layer.
|
LC
|
109.ABE
|
Change selected entities to current layer.
|
SL
|
110.ABE
|
Move all entities from one layer to another.
Similar in operation to UL.
|
CHLAC
|
111.ABE
|
Change the layers of all entities in a drawing including entities in blocks.
To run CHLAC type (CHLAC “LAYER.SPC” “MODIFY TABLES”) on the command line, both parameter are optional. If you specify the second parameter “MODIFY TABLES” the program will set every layer that’s specified. If you have more than one layer listed with different settings the last layer listed will be the one that’s set.
The comma delimited sample file that CHLAC requires to run is called layer.spc the program
will search the current directory first if the file is not found the program will then search the AutoCad search path.
For more info on this program read the Chlac.doc file.
|
MS
|
201.ABE
|
Make a selection set using the selected layers as a filter.
To run the program enter MS on the command line.
Command: MS
Command: Select entities on layers <LA1,LA2> or <ENTER> to pick:
On the command line you can type a single layer name or make a filter containing any existing layer names using a comma delimiter to separate them. When in pick mode you can select a single entity for a layer or multiple entities on different layers.
After you have specified your layers you then select the entities for the selection set, to edit the selection set pick previous.
|
D
|
202.ABE
|
Measure distance from point to point.
|
AD
|
203.ABE
|
Measure accumulative distance.
|
SLE
|
204.ABE
|
Swap line ends.
|
SHE
|
205.ABE
|
Show the start of a line by displaying a colored vector cross at the start.
|
SHO
|
206.ABE
|
Show all the dxf info on the entity.
|
DSYM
|
207.ABE
|
Display a specified symbol table.
|
GSYM
|
208.ABE
|
Get a symbol form the symbol tables.
|
CO
|
209.ABE
|
Center offset.
|
ORE
|
210.ABE
|
Offset and remove.
|
MO
|
211.ABE
|
Multi offset.
|
XX
|
212.ABE
|
Extend one end of a line, pick and point.
|
X1
|
213.ABE
|
Extend one end of a line, distance or pick distance.
|
X2
|
214.ABE
|
Extend Both ends of a line, distance or pick distance.
|
JL
|
215.ABE
|
Join a line, join two lines to form one line.
|
CE
|
216.ABE
|
Count entities. (similar to AutoCad list command)
|
SS
|
217.ABE
|
Stretch command using a crossing box.
|
SSP
|
218.ABE
|
Stretch command using a crossing poly box.
|
FD
|
219.ABE
|
Flip dimension text about the dimension line.
|
FT
|
220.ABE
|
Flip dimension ticks, usually do after a detail has been mirrored. The program will only select blocks of the same name as specified in the variable DIMBLK.
|
BKS
|
221.ABE
|
Change block scale in X Y and Z.
|
F
|
222.ABE
|
Fillet two non intersecting line.
|
FR
|
223.ABE
|
Fillet radius two lines.
|
SN
|
224.ABE
|
Snip/Chamfer two lines.
|
SO
|
225.ABE
|
Set osnap mode to 0.
|
RZ
|
226.ABE
|
Remove the Z coordinate from the selected entities in the WCS.
This program only processes the following entities.
Line, Circle, Arc, Insert, Polyline, Leader, Ellipse, Text, Mtext.
Please note: This program Doesn’t flatten entities it moves there insertion point.This program will not process Inserts that are not parallel to the WCS.
|
TDC
|
227.ABE
|
Move the UCS to Top Dead Center.
The X axis is aligned with the first & second pick points the Y axis is positioned in the vertical plan perpendicular to world.
This program was designed to put the UCS at the Top Dead Center of a CHS in a 3D wireframe by picking 2 points on the center line, after the points are picked the first pick point is made the origin.
|
UO
|
228.ABE
|
UCS – Origin
|
UZA
|
229.ABE
|
UCS – ZAxis
|
U3
|
230.ABE
|
Quickly create a 3 Point UCS by picking 3 points on an entity, after the points are picked the first pick point is made the origin.
|
UE
|
231.ABE
|
UCS – Object/Entity
|
UV
|
232.ABE
|
UCS – View
|
UX
|
233.ABE
|
UCS – X
|
UY
|
234.ABE
|
UCS – Y
|
UZ
|
235.ABE
|
UCS – Z
|
UP
|
236.ABE
|
UCS – Previous
|
UR
|
237.ABE
|
UCS – Restore
|
US
|
238.ABE
|
UCS – Save
|
UW
|
239.ABE
|
UCS – World
|
|
|
|
LM
|
301.ABE
|
Line about a mid point.
|
LP
|
302.ABE
|
Draw perpendicular lines and close the ends in.
|
LB
|
303.ABE
|
Line Box.
|
PB
|
304.ABE
|
Polyline Box.
|
TB
|
305.ABE
|
Text Box.
|
PH
|
306.ABE
|
Plan Hole Blocks.
User hole sizes 12,14,18,22,26,30,33,39 names of blocks used CADHOLU1 - CADHOLU8.
Any other hole size - name of block used CADHOLPC, CADHOLPO, CADHOLPH.
Note* the block reference must exist in the drawing & also the system variable symp3llayer.
|
EH
|
307.ABE
|
Elevation Hole Blocks.
Name of block inserted CADHOLEC, CADHOLEO, CADHOLEH.
Note* the block reference must exist in the drawing & also the system variable symp3llayer.
|
SECA
|
308.ABE
|
Arrow Section Marks.
Name of block inserted CADSECA1, CADSECA2, CADSECA3 & CADSECA4.
Note* the block reference must exist in the drawing & also the system variable symp3tlayer.
|
DET
|
309.ABE
|
Detail Balloon Marks.
Name of block inserted CADDET1.
Note* the block reference must exist in the drawing & also the system variable symp3tlayer.
|
LAB
|
310.ABE
|
Section/View/Detail Labels.
Name of block inserted CADLAB1.
Note* the block reference must exist in the drawing & also the system variable symp3tlayer.
|
SECB
|
311.ABE
|
Balloon Section Marks.
Name of block inserted CADSECA4, CADSECB1, CADSECB2, CADSECB3 & CADSECB4.
Note* the block reference must exist in the drawing & also the system variable symp3tlayer.
|
SECV
|
312.ABE
|
Balloon View Marks.
Name of block inserted CADSECV1, CADSECV2, CADSECV3 & CADSECV4.
Note* the block reference must exist in the drawing & also the system variable symp3tlayer.
|
|
|
|
DRP
|
401.ABE
|
Draw Plate dcl program.
User hole sizes if toggled on 12,14,18,22,26,33 & 39 names of blocks used CADHOLU1 - CADHOLU8.
Any other hole size - name of block used as specified in pull down list.
Note* the block reference must exist in the drawing.
|
RUNNER
|
402.ABE
|
Script runner dcl program.
|
VF
|
403.ABE
|
View File, view a text file in a dialog box.
|
ZIO
|
404.ABE
|
Zoom in and out dcl program.
|
DRB
|
405.ABE
|
Draw Beam dcl program. (beta)
|
|
|
|
FDELETE
|
501.ABE
|
Delete a file on the hard disk.
|
FRENAME
|
502.ABE
|
Rename a file on the hard disk.
|
FCOPY
|
503.ABE
|
Copy a file on the hard disk.
|
FREE
|
504.ABE
|
Show free space in specified drive.
|
FREESPACE
|
505.ABE
|
Show free memory in string heap space.
|
FSA
|
506.ABE
|
Save drawing to floppy disk drive A.
|
FSB
|
507.ABE
|
Save drawing to floppy disk drive B.
|
DS
|
508.ABE
|
Save current drawing to disk.
|
ES
|
509.ABE
|
End and save current drawing.
|
QE
|
510.ABE
|
Quit and end the current drawing.
|