|
lvls-off.cdl
Description:
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.
|
|
Xyz-Pos.cdl
Description:
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.
|
|
balloon3.cdl
Description:
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.
|
|
balloon1.cdp
Description:
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.
|
|
spl_off.cdp
Description:
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.
|
|
arcoff.cdl
Description:
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.
|
|
1hid.cdl
Description:
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, ....).
|
|
1cent.cdl
Description:
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, ....).
|
|
1phant.cdl
Description:
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, ....).
|
|
set.cdl
Description:
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.
|
|