Kevin's Cadkey CADL files web
page.
These files have been posted on the Cadkey Webforum. I have gathered and
posted them here so that there could be one location that everyone can visit
to easily download the files. This will also be helpful for persons getting
started in the CADL programming language, because they can download and see
the contents of the files to see how they work (except for the files that
have been compiled and end with a .CDX extension). Please note that there
were quite a few .CDP source files that would not compile for me, and I'm
sorry to say that I don't have the time to correct these problem files. If
someone notices that their CDX was not listed because of this problem, please
send me the corrected file and I will post it ASAP.
If you are having problems with anything related to this web page, or would
like me to post one of your CADL files, you can reach me by E-mail at
KKBulldog@aol.com
NOTE: This web page is NOT endorsed, supervised, and/or maintained
by Baystate Technologies, Inc.
I, Kevin Keur, will not be held responsible for any loss of data or
damage to files resulting from the use of any of the files contained within
this web page.
There have been
visitors
to this page since 12-28-98.
This page was last updated on 1-18-2000.
Here are several other links to sites that have CADL and/or CDE files available
for download:
http://www.ittc.co.jp/us/cadl/us_cadl.htm
http://www.ittc.co.jp/us/cadl/us_cde.htm
http://www.cadwire.com/cadkey/cadl.html
This is a handy little cdl a buddy gave me for putting a point in the center
of an arc so you don't have to do any construction lines. See what you
think...
Jon 'my 2¢" K
Posted on the Cadkey Webforum on 3-30-98
Midpoint.cdl
Heres my 2 cents worth, a lot of people asked for a program that labeled
points in world coords. So here you go.
Robert Gologranc
Posted on the Cadkey Webforum on 3-30-98
xyzwld.cdl
Hi everyone,
How can I find out the number of Text Lines (thru cadl) in a Note or Label?
Thanks for any Help! Hans Winkler
Here is some code you could try:
Scott Hansen
Posted on the Cadkey Webforum on 4-7-98
numlines.cdl
The following are a few macros that I use to change by single the line attributes
of an entity, ie. solid, hidden, center, phantom. I have found these to be
giant timesavers, for when you only have one or two entities to switch. Also
if you hit F10 before you select any entities it will bring you too the selection
menu(single, chain, ....).
Ken Odette
Posted on the Cadkey Webforum on 4-8-98
1sol.cdl
1hid.cdl
1cent.cdl
1phant.cdl
A friend complained to me that he missed a program he had for ckdos that
displayed the diameter (instead of radius like verify coords does) of a selected
circle. I was going to whip out a real simple thing with only a few lines
but I got carried away..... Anyway, here it is as a public service (grin).
Dana Hague
Posted on the Cadkey Webforum on 4-7-98
verdiam.cdp
verdiam.cdx
This macro gets a 90 deg rotated view and sets the construction plane according
to the new view.
Soli Steinberg
Posted on the Cadkey Webforum on 4-7-98
rotate.cdl
This thing is so old, but I still use it today. I wrote this back when Cadkey
first came out with the CADL language in version 3. I called it SET.CDL.
I started using Cadkey in 1985 version 2.1 and did my 2D layouts first. I
would set each part on a different level and use a different color. You only
have a few colors but I would try to keep the same colors away from each
other. After about 15 to 20 or more different parts on different levels,
I could not remember what level I needed to be on when changes occured. I
hated to keep checking the attributes every time. So when the CADL language
was out I created a program that I could run with one key stroke, pick any
entity from the object I needed to work on and all my attributes would be
match to that entity. It is so simple and works quite well. After a short
while I added the ability to match text and dimension entities as well. This
way if you were working on someone's drawing and needed to match their text
size and aspect you could just "SET" yourself to it. Well here it is if anyone
wants it.
Jeff Davis
Posted on the Cadkey Webforum on 4-8-98
set.cdl
OK, here is a CADL file I wrote Change the entire units of a drawing. This
Changes the Entire Drawing Not Just the Dimensions.
BJones
Posted on the Cadkey Webforum on 4-19-98
setunit.cdl
My users have been wanting an offset spline function that works like the
"Parallel at dist" function in Cadkey. We are currently using Fastsurf Lt's
offset spline fuction but it's not as simple to use as we would like. We
only need 2D splines to be offset. Any takers out there? I know this will
be a hard program to write. You'll need a good math background. Splines are
very math intensive. Jeff Davis
There used to be a CADL freebie around called SPLPAR.CDL, which created points
offset from a selected spline, which could then be used as nodes for a new
spline. I didn't write it, I only made some mods (I forget what) to it for
CK4 7 years ago. I haven't used it in ages, but here it is if you want to
try it (I just tried it briefly-- you will need to regen after running it,
or add a ck_regen to it, and it really should have a CLEAR statement at the
end):
Dana Hague
Posted on the Cadkey Webforum on 4-20-98
splpar.cdl
If you want to, you might want to try this one as well. I yanked it out of
my track cam drawing program. Some of the code looks similar to the old freebie,
so I probably got some of it from there many years ago. This one draws an
offset spline on both sides of the selected spline, then it is a simple matter
to delete the one you don't want. It think it is impossible to get an exact
offset spline with the same number of points as the original. There is just
not enough information there to control the spline sufficiently. That is
why the additional nodes are created in chinoff.cde I am sure. Be sure to
use a sufficient number of nodes in the original spline to get a good offset
spline. You will need to compile this with ccomp.exe because it uses compiler
specific commands for looping etc. I could post the precompiled version if
necessary, but this is much neater. Hope it posts ok.
Mark Reimer
Posted on the Cadkey Webforum on 4-21-98
spl_off.cdp
Does anyone have a good balloon cdl program. I am looking for one that
will allow me to do a split balloon (one with a horiz. line thru it with
text in both halves) that I can assign a text height and circle diameter
to. The one that comes with Draftpak is lousy. I had one for CK dos but havn't
been able to find one for windows yet. John L
John, Here is one of my first attempts at cadl. It doesn't work in layout
mode or in any viewport except view 1. Give it a try and see what you
think.
Joe Worden
Posted on the Cadkey Webforum on 4-25-98
balloon1.cdp
balloon1.cdx
Here is a CADL file I wrote that offsets arcs & circles either by distance
or "thru point" (this was requested in another forum). You will obviously
need to edit the text to remove the line numbers at the beginning of every
line, but this was the easiest way I could think of to show you which lines
were automatically wrapped to the next line, but shouldn't be. This will
offset circles and arcs in whichever plane they were created.
Kevin Keur
Posted on the Cadkey Webforum on 4-15-98
arcoff.cdl
Here's another balloon CDL that I wrote. You can start the detail number
at any number, and it will increment by one number for every successive balloon
created. You can also configure the colors, sizes, and single or split balloon.
The balloons are also created as a collective. Since it is configurable,
it creates a file called balloon.dat, and places it in your cdl directory.
Make sure to check the "READ" and "WRITE" statements (lines 6 & 163)
to see if the directory structure matches the on one your machine. Enjoy,
and please provide any feedback that you may have.
Kevin Keur
Posted on the Cadkey Webforum on 4-26-98
balloon3.cdl
OK, here is a CADL file I wrote to make and burst collectives which was requested
in another Forum.
Kevin Keur
Posted on the Cadkey Webforum on 4-13-98
collbrst.cdl
Hi everyone, I'm trying to write x,y,z coordinates of arcs I picked to
a file. My routine to pick more than one entity workes fine, my problem is,
I'm using the PRINT command to write the data out to the file since I'm using
format specifiers, but there doesn't seem to be a way to append the coordinates
if I pick more than one arc. It just keeps on overiting the first line in
the file. Thanks for any Help on this. Hans Winkler
Try this CADL file. This will allow you to pick any position (not just arcs)
and displays a note entity next to the position you picked, and also writes
the x, y and z positions out to a file called xyz.dat within the CDL directory
which are delimited by commas. Once you get all of the positions you need,
rename the xyz.dat file to something else, because any successive execution
of this CADL file will append even more lines to the current file. Hope this
helps.
Kevin Keur
Posted on the Cadkey Webforum on 7-9-98
Xyz-Pos.cdl
Here is a .cdl I have been using. It uses aspects of some .cdl's I have seen
posted here, with some modifications added by me. I cannot remember the author's
of these 'source' programs, so I hope they don't mind me not being able to
give them their due credit. This .cdl asks for you to select any entity on
display. It then identifies the level of the entity, makes it current &
turn off all other levels. It'll work with single or multiple viewports.
I hope you find it useful.
Phil Nelson
Posted on the Cadkey Webforum on 8-3-98
lvls-off.cdl
This program prompts the user for an entity ID, then turns off all the levels,
turns on the level that the indicated entity is on, and highlights the entity.
The entity will stay highlighted until the user hits Accept/Backup/Escape
at the "Hit Accept to continue" prompt. This can be used to track down entities
that are causing problems in your part file when you know their ID. (The
IGES translator reports the IDs of problem entities, for example.) This program
is not supported by Baystate Technologies, Inc.
Greg Marr
Posted on the Cadkey Webforum on 8-13-98
ent-id.cdl
G'day everyone, Here's a simple CDL I have written to write a hole position
chart, similar to (but nowhere as smart as) the one featured in Draft-Pak.
Each text entry is an individual, so it can be easily edited, & each
line & it's feature number is a collective, so deleting either will remove
all the details. The spacing between each entry can be changed by editing
the spacing statements, which should be self-explanatory.
Phil Nelson
Posted on the Cadkey Webforum on 8-25-98
holechrt.cdl
Hi everyone, I have a cadl to share. It makes generating a BOM (together
with item balloons) quite easy. There are 2 things to note: 1)The sizes are
all in metric, so they will need to be converted to inches if you work in
inch units. 2)The balloon code was not written by me, and I have given credit
to it's author in the header. It will write a BOM in a fixed format. If you
don't like it, change it yourself or send me your requirements & I'll
change it for you. Briefly, things to be aware of during use are: 1)If you
don't want to insert an entry in a BOM field, just hit enter. 2)You are given
3 ways to specify material size, input via the keyboard, skipping size entry,
and picking points. Picking points asks you to specify 2 points that are
the extremities of the item in the x, y & z direction. This allows you
to specify material size directly from your drawing without the need to measure
the item. The code is rather long-winded, and I am sure all you cadl experts
out there will agree. It is pretty bug-free, but if you find any problems
I would appreciate an e-mail to let me know what they are so I can correct
them. Any feedback or suggestions for improvement would also be appreciated,
either by e-mail or posted on this forum.
Phil Nelson
Posted on the Cadkey Webforum on 12-9-98
bom.cdl
Hi Phil,
Well, I spent the rest of my Christmas/New Years holiday revising this fine
CADL utility. Guess I'm a glutton for punishment. It still generates a BOM
in a fixed format, but here are the changes I've made:
1) The "sizes" have been changed to inches
2) The ballooning part has been changed to incorporate the changes that I
made to Kevin's original ballooning utility. (See "Yet another Balloon CDL"
in this forum) This allows for single, split and stacked balloons.
3) The utility now asks for "drawing scale". This is the scale that the drawing
will be printed in. The utility then automatically resizes the balloons and
BOM to fit that scale. This is for those of us that can't print everything
full scale. I have to use half and quarter a lot, and sometimes double scale,
so I have to change my border size accordingly.
4) Again, this is a FIXED format. My BOM has one additional column compared
to Phil's but you can change it to suit. (Or Phil can. Or I can.)
Well, anyway, here ya go. Have fun:
Roger Lear
Posted on the Cadkey Webforum on 1-4-99
bom2.cdl
I need a CADL file to label the length of an arc. Anyone have one there
willing to share? Fred Biacsi
Here, try this and see if it works for you.
Kevin Keur
Posted on the Cadkey Webforum on 12-7-98
arclen.cdl
Does anyone out there know of a CADL program for consecutive numbering?
It shoud ask for a start digit, and increment. (For different numbering schemes).
Then a pause for placing the digit, then advance to the next increment. Real
handy for BOMs, etc. Thanks. 3MTOM
Try this and let me know if it's acceptable. For the note entity, it uses
all current settings (i.e. color, text height, anchor point, etc.).
Kevin Keur
Posted on the Cadkey Webforum on 12-9-98
list.cdl
I once wrote something like that.... many years ago... This will allow you
to specifiy a physical distance by either keying in a number or selecting
two parallel lines (Horz or Vert) specify a direction for your text to travel
(left,right,up,down) specify a start number, end number and step. add either
a prefix,suffix or both. Let me know if you like it.
Thomas Groff
Posted on the Cadkey Webforum on 12-9-98
list2.cdl
This is a CADL that will automatically spin your geometry around a world
vertical axis you can enter a delay factor to slow it down for faster machines.
Sometimes it helps to better visualize your part. You can also Wow people
with it, especially if you use a shaded solid. Have fun. Ooooooops, almost
forgot.... This utility creates a LOT of views. Do not save your part after
running this utility unless you do not mind having an extra hundred or so
views tacked on to your file.
Thomas Groff
Posted on the Cadkey Webforum on 12-16-98
spin.cdl
Hi everyone, a friend and myself wrote 9 Cadls over the past few months and
I would like to share the source code's with everyone. Wasn't there someone
I could upload a Zipfile to, so everybody could get to them? Otherwise I
would have to paste them in here which I don't really want to do. In any
case I want to express my THANKS to all who responded to any questions I
had. I really appreciated it.
Thanks again,
Hans Winkler
Posted on the Cadkey Webforum on 12-16-98
aligntxt.cdl - This utility allows you to align
note entities horizontally or vertically with a pick point. The text can
be justified to the right or left of your pick point. This is useful for
aligning notes with ordinate dimensions or creating any series of notes where
each line is a separate entity. Written by Brian Ott & Hans Winkler
arctanpt.cdl - This utility creates an arc tangent
to a line and through a point. The program will prompt you for a radius size,
a tangent entity, and a through point. This utility will work in any view
but be aware that using a cursor pick as the through point may give some
unexpected results. Written by Brian Ott & Hans Winkler
arc_2_v1.cdl - This utility will change arcs that
were originally defined in other views, into arcs that are defined in view
one. It will change all view four arcs and all arcs created in views that
are parallel or within an angular tolerance of parallel with the view one
plane. Often times when you import geometry that was originally created as
a model and then create a wire frame or 2-D drawing from it you will find
many of these arcs. These arcs can be difficult to select and dimension and
can cause problems when working with other software, especially NC programming
software. They will also give you problems when using the CADKEY chain offset
command. The arcs will be broken into line entities rather than true arcs.
This program will change all arcs selected using the standard CADKEY selection
method. Be advised that you can not undo this command, save your file before
you run this utility until you know what to expect from it. Written by Brian
Ott & Hans Winkler
attribch.cdp
attribch.cdx - This utility will change the
attributes, linetype, thickness, color, and level of selected entities to
match the attributes of a target entity. It gives you a choice to change
the level along with the other attributes, or just to change the other
attributes.
getarc.cdl - This utility allows you to "highlight"
all the arcs or circles of a specific size. It does this by changing all
arcs and circles to a thicker line width. It allows you to select the arc
radius and also specify a tolerance range. You can select any one of the
eight CADKEY line widths as your highlight width. Written by Brian Ott &
Hans Winkler
lablnote.cdl - This utility allows you to modify
label and note entities. It lets you change the number and position of the
arrows and leader lines of an existing label. It also lets you add arrows
to note entities changing them into label entities, and lets you change labels
into note entities by selecting zero arrows. Written by Brian Ott & Hans
Winkler
moreview.cdl - This utility lets you switch between
eight different isometric views. The first view is the standard CADKEY view
seven. The next three views are all similar to view seven but each one is
rotated ninety degrees around the z-axis. The next four views are similar
to the first four but your view is from below the view one plane. Written
by Brian Ott & Hans Winkler
chamf.cdl - This utility allows you to create a chamfered
corner without trimming the two lines that make up the corner. You may change
the chamfer size but the angle is always forty-five degrees. This utility
works in all views as long as the two lines you select are co-planar. Written
by Brian Ott & Hans Winkler
sequence.cdl - This utility allows you to create
a sequential list of letters, numbers, or numbers with a letter prefix. You
can define the starting character, the length of the sequence, and the spacing
of items in the sequence. This is useful for creating bills of material or
any other type of chart or list. Written by Brian Ott & Hans Winkler
OK, here's my "latest" revision (what a way to spend a Christmas vacation!)
of this wonderful little utility. The changes I've made are:
1.) Made it easier to change between single and split balloons on the fly
2.) Made it possible to make "stacked" balloons. This is done by making a
balloon without a leader, and using the grid/snap functions to locate the
balloon. Not very high-tech, but it works.
Roger Lear
Posted on the Cadkey Webforum on 12-30-98
balloon2.cdl
Kevin, Thank you for creating a Cadl repository for the Cadkey community.
I thought you might like this one. It is the GrandMother of all level
manipulators. You can:
1. Turn off levels by simply cursor selecting entities.
2. Turn off all levels except the one selected.
3. Turn on levels as per Cadkey. (key in for -on/off, all on, all off)
4. Flip all levels on to off and all levels off to on. (Works wonders with
item 1)
5. Set an inital level on (Alone) and visually step through levels (Alone)
up and down.
6. Automatically turn on only those levels that contain entities. (Emptys
are turned off)
7. Mask a level by cursor selecting an entity.
8. Verify a level number and description by cursor selection.
Keep up the good work,
Thomas Groff
E-mailed to me on 12-31-98 -- thanks, Tom.
Rlevel.cdl
"Here is the latest version of RLABEL.CDL (ver 6.00)
At Hans Winkler's request I have added the following new functions.
1. CLR-TXT (clear text) This utility will clear all level descriptors from
empty levels.
2. CLR-BLK (clear block) This utility will clear descriptors from a range
of levels."
New & improved file E-mailed to me on 1-11-99 -- thanks, Tom.
Rlevel2.cdl
This file will write a list of levels no's you have on the sceen (in subdirectory
Cadkey97\not)
Soli Steinberg
Posted on the Cadkey Webforum on 12-24-98
lvlwrite.cdl
You can recall this levels map using this file:
lvl-read.cdl
Using different map names you can save some configuration of map levels and
return to them.The problem is, these configurations are not attached to the
file. If someone can attach them using copious entities it will be possible
to save them into the drawing file. I hope this will help you.
I use ProCAD DXF exports in CADKEY. ProCAD names DXF layers 1-99 even if
they have no entities. I recorded a simple macro to remove layer names for
layers 1-99. The macro could easily be edited to remove names from any number
of levels or any numbered level. I wanted this macro to end in a consistent
manner so it does two things In addition to removing names: by making layer
1 active and renaming it last, the macro always ends with level 1 active.
The macro also turns off layers 2-99. I have my levels preferences set so
that CADKEY only displays levels that are named, displayed or contain entities.
By turning off these levels in advance, I avoid having to view empty levels
the next time I use the dialog box.
This example will only work on levels 2, 3, 98, 99 & 1. Use a text editor
to change the
uCALC `X`
and
eINT1 519, X
values to modify the number of levels you want to remove names from. If you
want to assign level names with this macro, use a text editor to replace
the space between the ` and the ` in the line:
eSTR 519, ` `
Example:
uCALC `2`
eINT1 519, 2
eSTR 519, `This is level 2`
iLEVSET
will assign the name, "This is level 2", To level 2.
vierstra
Posted on the Cadkey Webforum on 12-25-98
re-lynam.cdl
This cadl file will delete all levels descriptions.
Soli Steinberg
Posted on the Cadkey Webforum on 12-26-98
lynm-del.cdl
Hi Kevin,
Here is something I put together some time ago and recently updated. This
utility will allow a user to dynamically create a string of lines in any
of the six orthographic directions. For example:
1. You pick a start point
2. Key in a line length
3. Wave a rubberband line until it is parallel (± 15°) to one of
the Gnoman arrows.
4. Click.
You now have a line exactly orthographic in the direction you want, with
the next line start point at its end.
Works in +X,+Y,+Z,-X,-Y,-Z.
This utility also has:
1. A suite of measuring tools to easily capture and manipulate existing line
lengths.
2. An orthographic line parallel tool. (Through a point.)
3. A line point to point tool. (As per Cadkey.)
The only restriction is that you keep your view set at or very near view
7 (iso) and the cplane set at view 1 (top)
Thomas Groff
E-mailed to me on 1-14-99 -- thanks, Tom.
ortho.cdl
Hi Kevin!
This is my first CADL file I have created, so don't pick on it to much. I
worked out how to do them through looking at the files on your web page,
so thankyou for the page. The CADL creates vertical or horizontal slots by
entering width and length of slot. If someone can work out an easy way to
include slots on an angle it would be great.
Regards,
Greg Rushton
E-mailed to me on 1-25-99 -- thanks, Greg.
slot.cdl
Hi Kevin,
Please find attached a copy of an updated version of Greg Rushton's slot.cdl,
with the added ability to draw slots at any angle, just like he wanted.
Regards,
Phil & Cheryl Nelson
E-mailed to me on 2-2-99 -- thanks, Phil & Cheryl.
slot_mk2.cdl
Here is a file that will fit a line of text within a certain area using one
cursor pick. It works best if the achor point of your note is on the left
side. If used on notes with more than one line of text, you will get unexpected
results. This file was written specifically for use on "bill of material"
lists where a line of text is too long to fit in its entry field.
Kevin Keur
Uploaded to this web page on 2-2-99
fittext.cdl
This file makes it easy to add a quantity suffix on ordinate dimensions using
a format like: (4). When executed, simply pick the dimension to be changed,
then either enter a number, pick a button to match the quantity, use the
F-keys (F-keys match the quantity such as F-8 = (8)), or hit the enter key
to quickly add a quantity of (2) to the end of the number. This file also
executes the "align" command on the ordinate dimension.
Kevin Keur
Uploaded to this web page on 2-2-99
quan.cdp
quan.cdx
Hi Kevin,
Way back in old Cadkey DOS we could make dialog boxes through CADL. I am
not sure if this is possible in Window version. If it is I would appreciate
if some could supply with an example of a simple program. I am attaching
2 CADL programs. I am not sure if they are good enough to post. Take a look.
So far they only work in top view. One will create line tangent to a circle
at any angle (ln_tan_cir.cdl) and the other (ln@ang) will create a line at
angle any length. Maybe some can rewrite them so they work in any construction
plane.
Sincerely,
Wence Daks
Cad Wire
E-mailed to me on 2-18-99 -- thanks, Wence
ln_ang.cdl
ln_tan_c.cdl
Hi Kevin,
I have two new Cadl's, discriptors are inside the cdp files. Cdx files are
for CK98.
Best Wishes,
Hans Winkler
E-mailed to me on 2-17-99 -- thanks, Hans
levonoff.cdp
levonoff.cdx
set2ent.cdp
set2ent.cdx
G'day Kevin,
Here are 2 more CADL files for inclusion on your page. The first (inch_bom.cdl)
is identical to my original 'bom.cdl' which appears on your page already),
except that it is in inch sizes. Please note that it doesn't contain any
of the enhancements Roger Lear made when he created 'bom2.cdl'. It is just
an inch conversion of the original metric one.
The second (what_level.cdl) was posted on the Cadkey Webforum in answer to
a request for a simple CADL file to just report an entity's level, rather
than the verbose report the 'verify attribute' command gives.
Regards,
Phil Nelson
E-mailed to me on 3-16-99 -- thanks, Phil
inch_bom.cdl
what_lev.cdl
Hi Kevin,
This Cadl has a Dialog Box interface, so it will not work in Cadkey97....
The Cadl will generate points in a user specified helical direction, which
can be drawn onto the screen after picking a position in Cadkey, or the points
can be saved to a Cadl file; which in turn can be executed through Solids98
or Fastsurf98 via "Spline from Copious Data in a File".
Best Regards,
Hans Winkler
E-mailed to me on 3-17-99 -- thanks, Hans
pointgen.cdp (updated on 4-5-99)
pointgen.cdx (updated on 4-5-99)
Here is a contribution from me to your Cadl source webpage: LONGNOTE.cdp
- program that can import files longer than 1024 characters in Cadkey. It
was first published in the Key Solutions mag long time ago but I guess many
of the new users would not have seen it. The source needs to be compiled
before use and will work with most versions of Cadkey including the latest
98.
Regards,
Chavdar Popov
E-mailed to me on 3-31-99 -- Thanks, Chavdar
longnote.cdp
longnote.cdx
Hi Kevin...another Cadl for your Website...
This Cadl, 'TEXTBOX.CDP' does the following:
It will write four files to your Cadkey root directory, called "BOOK1.TXT"
through "BOOK4.TXT" (initially only "BOOK1.TXT"). You will be able to save
your most used notes to those files, delete text from them or add text to
them. furthermore, you'll be able to select from these books the text to
place into Cadkey. As you select you can specify new line or same line (same
line includes a space) for each select. You will also have control over note
attributes. Once you're done selecting, you'll have two options:
Option 1:
PLACENEW - Place the new note into Cadkey, having an option to change the
note angle by key-in or picking a note or dimension for an angle.
Option 2:
REPLACE - Replaces existing notes in Cadkey with the new note according to
the attributes of each note being changed.
Then another part of the Cadl:
COMBINE: Allows you pick text in Cadkey (having control over "new line or
same line [same line includes a space] for each pick") and either placing
it back onto the screen as a single note, or saving the text to a BOOK. When
you're done, you have the option to delete the Text you picked to combine.
There are a few more options as you get into the different menu's, which
I don't want to get into, you'll just have to try and enjoy it....
Best Wishes,
Hans Winkler
E-mailed to me on 4-16-99 -- thanks, Hans
textbox.cdp
textbox.cdx
Hi Kevin,
Please add this cadl program I wrote to your web page. It is a text attribute
editor. It allows you to change any text attribute, including height, aspect,
rotation, slant, font, color, fill, mirror & underline, and see the changes
instantly on the screen. It also has an attribute match function & restore
function. (for CK98 only, file is encrypted).
Nicholas Brege
E-mailed to me on 6-28-99 -- thanks, Nicholas
texttool.cdl
Hi Kevin,
Here a couple of Cadl's you might be interested in. Cadkey 98 ONLY! Savprt.cdl
allows you to save a prt file in the current working directory. The cdl will
prompt you for a file name, and by clicking on text in your drawing, it will
be saved as the "text".prt. Getprt.cdl emulates hyperlinks. The cdl will
promt you for a file name, and by clicking on text in your drawing, "text".prt
will be loaded from the current working directory. With these to files, I
create an index of prt's in a particular directory. I pull up that drawing
with a macro, and click and load the prt file I'm looking for......
Dennis
E-mailed to me on 8-13-99 -- thanks, Dennis
getprt.cdl
savprt.cdl
Kevin,
Here are a group of simple Cadl's. They go together to form Zoom/Pan controls.
I assign them to my arrow buttons:
up.cdl to the up arrow
down.cdl to the down arrow
right.cdl to the right arrow
left.cdl to the left arrow
in.cdl to shift-up arrow
out.cdl to shift-down arrow
Their function is as simple as their name....They scroll the screen in 4
directions plus zoom in and zoom out.
Dennis
E-mailed to me on 12-10-99 -- thanks, Dennis
Kevin,
I've been quite annoyed by Cadkey's inability to move a group of levels,
and to move the descriptor when you move a level(s). So I wrote this to solve
my dilemna. I've used numerous cdl's from this page and found them quite
handy. Thought I might return the favor.
Alan Mosher
E-mailed to me on 12-13-99 -- thanks, Alan
levelmov.cdl
Kevin,
here is my version of the diameter cdl, it a first attempt at the windows
cdl programming using some of the sample files as a guide, see what you think.
Is there a way to position a dialog box in other parts of the screen upon
startup? I've tried the placement option in the init statement without success.
Has anyone found a way to access the printing parameters from within a CDL
program. My goal is to create a CDL program using radio buttons to print/plot
for different size sheets and different printers.
Thanks for the help.
Eric Schreter
E-mailed to me on 12-16-99 -- thanks, Eric
diarad2.cdl
Kevin
Here is a addition to your collection. This file will allow the user to hide
items. They're really not hidden but drawn the background color. They're
not selectable so u can do many things with what is visible. The all display
works really good because it will call the cadkey selection masking box.
I use it most of the time. To all who try it, please give feed back so I
can improve it.
Rob Olsen
E-mailed to me on 1-5-00 -- thanks, Rob
hide.cdx