Last Archive Back to Fantasy Cartography Next Archive
[CC-L] Ridge-drawing macros
Date: 11/11/98 8:40:42 AM Pacific Standard Time
From: Simon Rogers
The following macros create ridges. Copy and paste these into your FCW32.MAC file.
To use, draw a smooth path then type either RIDGE2 or RIDGE5 at the command prompt. Select the smooth path. Afterwards the smooth path can be erased, kept, or used as the basis for a multipoly. Neither check for a cancellation or whether you've actually managed to select an entity. Apologies for the image at the end for those who can't see it, but it's only 1K.
//Draws vertical lines down from a selected entity (for cliffs)
MACRO RIDGE2
GDIST sep ^Ddistance between ridges:
IFERR eridge2
GDIST lrd ^Dlength of ridge
:1ridge2
GE £p ^Dselect entity:
IFERR eridge2
ECOFF
tlen
GV per 100*sep/leng
GV tper per
:2ridge2
IFP tper-100 1ridge2
GP £fp % tper £p
LINE £fp <270,lrd;
GV tper tper+per
GO 2ridge2
:eridge2
ECON
ENDM
// This draws lines perpendicular from a smooth path. They are short at one end and
//get longer towards the middle. (like Middle Earth-style ridges)
MACRO RIDGE5
GDIST rd ^DDistance between ridges:
GDIST rl ^DLength of ridges:
GV ratio ^DRatio of largest/smallest:
GE p ^DSelect entity:
GP pside ^D Select side:
tlen
GV per 100*rd/leng
GV tper per/2
GV cper tper
:1ridge5
IFP tper-100 eridge5
GP ip % tper p
GBRNG b ip PRP ip pside
GV b b+0
GV cper tper
IFN (cper-50) 2ridge5
GV cper 100-cper
:2ridge5
GV cl (rl*cper/100)*ratio+rl
LINE ip <b,cl
GV tper tper+per
GO 1ridge5
:eridge5
ENDM
[Image]
[CC-L] Ridge macro - the missing link
Date: 11/12/98 2:24:22 AM Pacific Standard Time
From: Simon Rogers
MACRO TLEN was missing (it approximates the length of an entity)
Note that these ridge macros don't work outside curves. Add this to your Macro file.
MACRO TLEN
GDIST leng % 0 p % 1 p
GV leng leng*100
ENDM
RE: [CC-L] Its always something
Date: 11/16/98 3:55:52 PM Pacific Standard Time
From: Linda Kekumu
The symbols do have a color associated with them sometimes - when I front by color & notice that CC2 has also selected some symbols I change the front command to Front>Color>Yellow>NOT>Type>symbol reference, then only the color yellow is fronted.
> From: Archimagus
> Sent: Monday, November 16, 1998 1:00 PM
> Subject: [CC-L] Its always something
> 1. I am working on my map putting in mountain symbols. Later I decide to Front by Color Yellow and all the mountains I just put in were fronted. Now I noticed that when I was putting in the symbols, the yellow color button was accented. There is no yellow in my mountains. Now half my mountains front when I do Black as a color (which I want) and other half when I have Yellow fronted. Is there anyway to associate the "Yellow" mountains with the black ones?>
Re: [CC-L] Its always something
Date: 11/16/98 5:15:46 PM Pacific Standard Time
From: Ralf Schemmann
I thought symbols always did have the current drawing color even if you couldn't see it in the symbol.
If this is the case , you can actually make use of this feature. E.g. if you want to be able to select a certain group of trees later, just place them with an unusual drawing color selected. Then you can select by Type - Symbol reference and Color later.
Re: [CC-L] Its always something
Date: 11/17/98 2:55:01 AM Pacific Standard Time
From: Simon Rogers
All entities have what we call CStuff (common stuff) although some have Certain properties ignored. Symbols have a color, otherwise they wouldn't know what color to appear if they were color 31. This enables you to select colors by symbol. If you don't like this, simply change the color of all symbols at a convenient moment to an obscure color that you wouldn't dream of using in your
map.
RE: [CC-L] Its always something
Date: 11/17/98 6:34:40 AM Pacific Standard Time
From: William Wire
You need to change the color of the yellow mountains to black. Even though the mountains have no yellow, they still have a color associated with them. Whatever color was highlighted when you placed the symbols. If the symbols had had any color 31 objects, it would have appeared as yellow.
RE: [CC-L] Bitmaps and the woes thereof
Date: 11/17/98 2:22:42 PM Pacific Standard Time
From: Ken Snellings
Have you tried using the pict command with the scale to fit just inside option?
> From: Brennan O'Brien
> Sent: Tuesday, November 17, 1998 3:50 PM
> Subject: [CC-L] Bitmaps and the woes thereof
> I have a *LARGE* bitmap file which I would like to use as the background/base of my mapping endeavor. Filling doesn't seem to be doing the trick here. I only am ever able to get a small portion of the map.>
> Here's where I am at: The BMP file is 5056 pixels by 3552 pixels, with 256 colors.>
> What I want is THAT LARGE a size image in my CC2, so that I can then begin to add towns, etc.>
RE: [CC-L] Bitmaps and the woes thereof
Date: 11/17/98 2:31:45 PM Pacific Standard Time
From: Linda Kekumu
try Insert>Insert Picture (use scale to just fit inside)
Once the bitmap is showing, move it to the background layer (use prior). Now scale everything to the scale you want.
> From: Brennan O'Brien
> Sent: Tuesday, November 17, 1998 10:50 AM
> Subject: [CC-L] Bitmaps and the woes thereof
> I am having some trouble with bitmaps. I have a *LARGE* bitmap file which I would like to use as the background/base of my mapping endeavor. Filling doesn't seem to be doing the trick here. I only am ever able to get a small portion of the map.>
> Here's where I am at: The BMP file is 5056 pixels by 3552 pixels, with 256 colors.>
> What I want is THAT LARGE a size image in my CC2, so that I can then begin to add towns, etc.>
Re: [CC-L] Bitmaps and the woes thereof
Date: 11/17/98 2:50:05 PM Pacific Standard Time
From: Jerry Mulholland
Brennan O'Brien wrote:
> Here's where I am at: The BMP file is 5056 pixels by 3552 pixels, with 256 colors.>
> What I want is THAT LARGE a size image in my CC2, so that I can then begin to add towns, etc.>
Use the PICT command and when the promt reads insert at type 0,0 for the beginning left bottom corner, then it will ask for the oposite corner type 5056,3552 this will make the bitmap exactly the right size, oh yeah don't forget to choose fit just inside as the option when it come up.
Re: [CC-L] Bitmaps and the woes thereof
Date: 11/17/98 6:44:07 PM Pacific Standard Time
From: Ken Snellings
<Problem: Bitmap is "invisible," won’t show up. >
After inserting your "invisible" bitmap try saving the map, close it, then reopen it. Sometimes that works.
Re: [CC-L] Bitmaps and the woes thereof
Date: 11/17/98 10:37:28 PM Pacific Standard Time
From: Jerry Mulholland
I know this sounds stupid, but check your line width it must be 0. Also if that is not it set it up as a bitmap fill instead of the PICT command, choose draw box and set the coordinates as I mentioned before. Sometimes this wakes up the bitmap go figure. If the fill will insert It then go back and set it up with the PICT command I the invisible Bitmap usually comes back.
[CC-L] A couple of macros
Date: 11/18/98 10:39:04 AM Pacific Standard Time
From: Simon Rogers
Try this macro - it draws a rectangle at any angle. The other is good for drawing buildings.
MACRO DG
RDOFF
GP p1 ^D1st Corner:
IFERR edg
LINE p1 ^D2nd Corner:
UNDO
GP p2 @0,0
LINE p1 p2 PRP p1 ^D3rd Corner:
UNDO
GP p3 @0,0
GBRNG b1 p2 p1
GV b1 b1+0
GDIST d1 p2 p1
GW p4 <
APND p4 b1
APND p4 ,
APND p4 d1
POLY p1 p2 p3 p4
:edg
RDON
ENDM
Also attached is this rather pleasant building drawing macro of the kind that will be included in City Designer. Not very efficiently written, I'm afraid. It draws a rectangular building. You'll need to redraw if you want to see the effect.
//Change Color1 and Color2 to change the two colors
//The rectangle is defined by p1 p2 p3 p5
// The points where the eaves join are p6 and p7
//The midline is defined by mp1p2 mp3p4
// They are .25 and .75 along the mid line
MACRO DG3
RDOFF
GP p1 ^D1st Corner:
IFERR edg3
LINE p1 ^D2nd Corner:
UNDO
GP p2 @0,0
LINE p1 p2 PRP p1 ^D3rd Corner:
UNDO
GP p3 @0,0
GBRNG b1 p2 p1
GV b1 b1+0
GDIST d1 p2 p1
GW p4 <
APND p4 b1
APND p4 ,
APND p4 d1
POLY p1 p2 p3 p4
GP p5 @0,0
SELBYP
CHANGEC 11
CHANGEFS Solid
GBRNG B2 P2 P3
GDIST D2 P2 P3
GV b2 b2+0
gp P1 P1
gv D3 D2/2
gp MP1P2 <B2,D3
GV b1 b1+180
GV d4 d1*.25
GP p6 <b1,d4
GP mp1p2 mp1p2
GV d4 d1*.75
GP p7 <b1,d4
POLY p1 p6 p7 p3 p2
CHANGEC 10
CHANGEFS Solid
PATH p1 p6 p7 p3
CHANGEC 0
CHANGEFS Hollow
POLY p1 p2 p3 p5
CHANGEC 0
CHANGEFS Hollow
LINE p5 p6
CHANGEC 0
CHANGEFS Hollow
LINE p7 p2
CHANGEC 0
CHANGEFS Hollow
:edg3
selbyd
RDON
ENDM
Re: [CC-L] Bitmaps
Date: 11/18/98 9:44:35 PM Pacific Standard Time
From: Stuart Hunter
>I recently made a map using a bitmap in the background I had scanned. The map is done, and now I want to remove the bitmap (I don't need it anymore) How do I do it? There are like 300 objects over the map and I don't want to delete any of them.
Use the ERASE command, select the object you want to delete, then DO IT.
If the bitmap is on a separate layer (it pays to be prepared), just hide all other layers, then use ERASE and select by either the cursor or a box.
Alternatively, using ERASE with select by entity type might enable you to select just the bitmap (did you create it as a picture, or as a fill pattern in a box?)
If you select more objects than just the bitmap, use NOT in the selection options then click on the items you don't want to delete before clicking DO IT.
Second alternative, use INFO LIST to find the TAG number of the bitmap, then delete by TAG No. - this only works if you don't have the RMB selection menu options preference set (available from patch 2 onwards).
Hope this helps. If you need more detailed instructions, we need to know whether you are using the RMB selection menu option set.
Re: [CC-L] Bitmaps
Date: 11/19/98 4:03:23 AM Pacific Standard Time
From: Simon Rogers
One good way of dealing with large bitmaps is to chop them into rectangles of known size then use Insert Picture/Scale to fit just inside to place them in the map. This minimizes any drift you might experience when tracing and allows very detailed bitmap images..
[CC-L] Offsets
Date: 11/19/98 6:55:25 AM Pacific Standard Time
From: Bill T. Murton
I am working on a world map (actually, the major continent and it's surrounding islands). The map is 8000x5000. I have extracted the different countries into there own maps, scaling the background to the country, thus enabling me to make adjustments to any single map and simply copy to all other affected maps. The problem I am having is trying to use Offset One to create borders along rivers. I can create the offset no problem, trimming and attaching as needed, but when I try to do anything else with the map (Save, Zoom, Zoom-Ext, etc.), the program ends with an illegal operation error.
[CC-L] Sharing copyright symbols
Date: 11/19/98 6:51:42 PM Pacific Standard Time
From: Mark Fulford
Today I've written a little program to allow us all to share symbols in the Public domain.
SymEncrypt takes FSC symbol catalogs and converts them to encrypted CCX catalogs. It also takes CCX files, and decrypts them. This is not quite military security, but it should do for us humble CC2 users.
CCX files can be put in the public domain because they are only useful to someone who can decrypt them, i.e. someone who has the SymEncrypt program. The SymEncrypt program will not install or function unless CC2 is installed and working.
SymEncrypt can be downloaded from: ftp://ftp.win-uk.net/pub/users/profant/tech/symencrypt.zip
To install, double-click on the zip file, then double-click on Setup.exe. After that you will find a file called SymEncrypt.exe in your CC2 folder. Usage should be self explanatory. If ever you download a CCX file, double-click on it and it will decrypt in the same folder.
RE: [CC-L] Creating Symbols
Date: 11/19/98 8:33:15 PM Pacific Standard Time
From: Linda Kekumu
> From: Toni
> Sent: Thursday, November 19, 1998 4:54 PM
> Subject: [CC-L] Creating Symbols
> I'm working on creating some heraldry symbols. The one set of heraldry symbols already in existence (called "charges") has the ability to make the symbols whatever color you choose from the side bar. How do you create symbols that do this? When I used a symbol to get the approximate height and then deleted it when I was done with it, then defined my first symbol, it saved the deleted one. Why? and how do I delete it now from the catalog?>
To make symbols that have the ability to change color involves using CC2's "special" color #31. There are a few considerations when using color 31. It must be at the back of all the other entities in the drawing - that is everything else must be fronted except color 3, prior to defining the symbol. Color 31 is a little difficult to design symbols with, because well, it changes color to the last color you were working with & if that happened to be black, it is very difficult to figure out what is going on :) I usually pick a color like color #5 & use that for my color 31. When I am happy with the symbol, then I change color #5 to #31 & then front all>not >color #31
Also, you can not use line width greater than 0.0000 in symbols.
Try to use paths & arcs as opposed to lines. Lines have more nodes – the more nodes, the more memory & the bigger (read - longer it takes to redraw) the symbols. In symbols, try to avoid using splines because they redraw very much slower than paths or polys. If you must group - only group entities that reside on the Symbol Definition layer (all parts of the group must be on the Symbol Definition layer) - same goes for multipolies - all parts must be on the Symbol definition layer (unless you are specifically looking for a special effect :))
Never explode "all" - this changes everything into lines - thousands of tiny lines that you can't do anything with, it easily quadruples the size of your file.
Also, try to "double" outline symbols - unless they are really memory intensive! If you use the outline macro to outline symbols, remember to explode the outline mutlipoly (if the original was a multipoly).
Ok - now for the second part - each symbol must have it's own, unique name. If you inserted mountain in the drawing to check the size & then defined your symbol & called it mountain - CC2 will just use the original mountain, because it was there first :) Also, when you define the symbols – they "disappear". Don't panic - this is normal :) Please use Save AS to save your symbol as a catalog.
RE: [CC-L] Symbol Question for Linda
Date: 11/20/98 1:43:58 AM Pacific Standard Time
From: Linda Kekumu
Try this - draw a box, drag it - you can see the outline. make a copy of the box on top of it's self - drag it - now you can't see it. Draw another box on top of those 2 & drag - now you can see it :)
Where ever possible - add an additional outline to the outside edge of a symbol - sometimes this is not possible, like if the symbol is very detailed. You should try to keep the size of the symbol to under 20K – you can check the size by Info>Count>window & select the potential symbol. This will tell you how big it is. Try to avoid using splines in symbols – they really slow down dragging & redraws.
> From: Steven Grogan
> Sent: Thursday, November 19, 1998 7:33 PM
> Subject: [CC-L] Symbol Question for Linda
> I think someone wrote this awhile back, but I can't remember what they said to do. It was something about double-outlining so that when pasting your symbols, they don't disappear. I can't remember exactly what was said or the method used to ensure the main outline remains visible, but this info on how to do it exactly would help tremendously. I have noticed on symbols I have been doing lately, it is hard to line them up because the main shape disappears. >
Subj: RE: [CC-L] A river macro
Date: 11/20/98 1:44:00 AM Pacific Standard Time
From: Linda Kekumu
Simon wrote a wonderful river macro. This will only work with patch3 or DD2. Cut & paste this into your fcw32.mac files if you think you would find this useful (use Notepad or Wordpad - macros must be saved as plain text)
This macro makes it easy to add rivers with widening width to your maps.
MACRO RW
APND rwftime -1
GV rwftime rwftime
IFZ rwftime+1 rwfirsttime
IFZ rww-1 1rw
IFZ rww-.75 2rw
IFZ rww-.5 3rw
GV rww 1
GO erw
:1rw
GV rww 0.75
GO erw
:2rw
GV rww 0.5
GO erw
:3rw
GV rww .25
GO erw
:rwfirsttime
GV rwftime rwftime-1
GN rww 1
:erw
LWIDTH rww
ENDM
As an additional feature, you could also try the following macro
MACRO QR
RW
LAYER WATER/RIVERS
COLOR 3
FSTYLE Solid
GP rsp @0,0
GP rsp ^D 1st point[@0,0]:
PATH rsp
ENDM
You can change the color/lstyle/layer. This will start a river at either the selected point or, if you press the right button, at the last point you were drawing (usually the last river you were drawing). (@0,0 means 0 up and 0 across from the last point you were drawing) So, to draw a river:
1) Use RW to set the river width to 0.25, if it isn't already.
2) Use QR.
3) Select a starting point, keep drawing the river section.
4) Press the right button three times; once to cancel the existing river section, once to repeat the command (QR), once to accept the default 1st point (@0,0)
5) Draw a river section, repeat step 4 until you've finished a line width 0.25 section.
6) You're ready to start a new river. Press the right button to start a new river.
[CC-L] Selecting difficult to find entities
Date: 11/20/98 2:49:13 AM Pacific Standard Time
From: Simon Rogers
If you've got a whole bunch of entities and you want to get rid of one in particular, there are all sorts of ways of doing it. If you can see the entity, it's easy. Use COUNT and LIST combined with the other select by options to isolate the entity and note its description.
Most entity types have a "Type" selection option. A picture entity doesn't Have a type, but is listable as an XP entity.
Select LIST by TYPE XP Entity and you will see one or more entities. If there's only one, you will see that it is your picture entity. Erase by Prior, do it.
The only time it is difficult to remove individual entities is if they are directly on top of each other. List the entities by clicking on the edge and see what differences there are between them (say ones color 1, the other color 2). You can then ERASE by Prior NOT color 2.
Finally, the worst case is that there are two (or more) identical entities on Top of each other. Use Edit > Properties Edit to change the color of one to a unique color. Erase the whole pile, NOT your unique color.
Re: [CC-L] Macro stuff
Date: 11/20/98 3:42:50 AM Pacific Standard Time
From: Simon Rogers
Chris Heismann wrote:
> 1) Are Macros limited to the commands listed in the help file under macro commands? Or is any valid CC2 command ok to use, too? >
Any CC2 command is fine as long as it does not involve a dialog box. CC2's macros cannot current drive dialog boxes (with the exception of GFNO and similar commands)
RE: [CC-L] Creating Symbols
Date: 11/20/98 5:15:51 AM Pacific Standard Time
From: William Wire
OK, here's what I know about it. In order to have a symbol which "changes color" depending on the current color selection, you need to draw those parts you wish to change in color #31. I've noticed that color 31 entities in the symbol absolutely must not be grouped with any other entities, or the color-changing will not work. So, draw your symbol. Select the parts you wish to be able to shift colors. Change color, color 31, do it.
As for the symbol you wish to delete, you must realize that EVERY symbol you click on in any catalogue is added to the symbol list for the current document (map/catalogue). This is done whether you actually place the symbol or not. Regardless of whether or not you delete all it's references. To get rid of the unwanted symbol, go to Insert>Symbol>Delete Symbol. (I think those are the correct menu names. CC2 is at home.) Anyway, it's right beneath the Define Symbol in the menus. That'll bring up a dialogue asking you which symbol def you want to nuke.
Alternatively, if you have a lot of symbols to nuke, and only a couple you want to keep, place the symbols you wish to keep in the drawing area, then Purge the Symbol Defs. That's also on the same menu.
> From: Toni
> Sent: Thursday, November 19, 1998 9:54 PM
> Subject: [CC-L] Creating Symbols
> I'm working on creating some heraldry symbols. The one set of heraldry symbols already in existence (called "charges") has the ability to make the symbols whatever color you choose from the side bar. How do you create symbols that do this? When I used a symbol to get the approximate height and then deleted it when I was done with it, then defined my first symbol, it saved the deleted one. Why? and how do I delete it now from the catalog?>
RE: [CC-L] Symbol Question for Linda
Date: 11/20/98 5:43:19 AM Pacific Standard Time
From: William Wire
The key here is that you need an ODD number of lines on top of each other for them to be visible when dragged. One, Three, Five, etc. Quite often, a symbol is outlined in black or some other color to make it look nice, or as part of it's construction. Unless you then go back and add ANOTHER layer of outline, it won't be visible when being placed. Note: you don't need to outline EVERYTHING. Just enough of the thing so you can tell where the edges are and what the orientation is.
Just draw another line, arc, or whatever, over the key areas of the symbol. I typically select everything then DRAG it before actually defining a symbol. If too much disappears, I add some outline to it in the needed places. DRAG it again until I'm satisfied with the "skeleton" image shown during drag.
> From: Steven Grogan
> Sent: Friday, November 20, 1998 12:32 AM
> Subject: [CC-L] Symbol Question for Linda
> I think someone wrote this awhile back, but I can't remember what they said to do. It was something about double-outlining so that when pasting your symbols, they don't disappear. I can't remember exactly what was said or the method used to ensure the main outline remains visible, but this info on how to do it exactly would help tremendously. I have noticed on symbols I have been doing lately, it is hard to line them up because the main shape disappears.
RE: [CC-L] Two catalogs at the same time :)
Date: 11/20/98 12:10:06 PM Pacific Standard Time
From: Linda Kekumu
make a copy of xpsymcat.dll & name it xpsymcat2.dll. Start CC2 & click on the Tools icon (the hammer at the bottom of the screen) click the check box for the second symbol catalog :)
RE: [CC-L] Problems with Patch 3 ADDED
Date: 11/22/98 12:01:18 PM Pacific Standard Time
From: Linda Kekumu
CC2 has 2 different ways to select things - you can pick which way you prefer in Options>Preferences. If you uncheck "Enable Left Button PreSelecting" & "Enable Selection Right-button Menus" - you will have your familiar CC2 selection methods back.
Enable Left Button PreSelection works like this - let's say you want to pick a piece of text to edit - but you miss :) Left Button PreSelecting automatically starts a Select by Window box so you can try again.
Enable Selection Right-button Menus is a different menuing system - you'll just have to try it & se if you like it - if not - turn it off :)
> From: Jerry Mulholland
> Sent: Sunday, November 22, 1998 7:35 AM
> Subject: [CC-L] Problems with Patch 3 ADDED
>
>> OK I reinstalled Patch 3 and now the selection dialog box comes up, but it is not a box anymore it looks more like a menu. I would imagine this was a actual change in the interface, could my problem be that I used the XHON command straight from the command line, I am a old CC for DOS user and I noted in the help file that the new command is XHTOG, and that XHON is for use in macro's only would this cause the problem.>
RE: [CC-L] construction lines
Date: 11/22/98 12:21:46 PM Pacific Standard Time
From: Linda Kekumu
You can control how CC2 uses the Snap options by selecting the Grid, Snap & Csr Snap icons at the bottom of the screen (depressed is "on")
Also, you might want to make your brown construction lines on a separate layer & then freeze that layer. They would be visible but not selectable.
> From: Mike Schmitz
> Sent: Friday, November 20, 1998 10:12 PM
> Subject: [CC-L] construction lines
> Is there a way to draw lines that would be visible but unsnappable? (IE modifier ENDPOINT would not recognize the line). I like to use paths in brown to sketch out the outline of my symbols, then I go over them with polygons and finally a black outline to finish it off, but the rough paths do not intersect, and when I try to use the modifiers to do my 'good copy' over the rough, I get all screwed up. >
[CC-L] More questions from Jerry
Date: 11/22/98 1:05:39 PM Pacific Standard Time
From: Jerry Mulholland
OK here is another one for you,
How come it appears that bitmaps inserted with the PICT command have a minimum zoom level, and is there anyway around this?
Sorry for being a pain in the #%!$@, but I take my mapping seriously and I like to know how to fix a problem before going on and drawing the my greatest works with problems and all.
RE: [CC-L] error message
Date: 11/22/98 2:02:44 PM Pacific Standard Time
From: Linda Kekumu
[CC-L] TILEPRINT MACRO
Date: 11/22/98 3:48:27 PM Pacific Standard Time
From: Chris Conboy
I had the same problem. It turned out to be the blank lines. Edit the script and remove the lines separating the message box text.
Subj: Re: [CC-L] TILEPRINT MACRO
Date: 11/22/98 5:14:34 PM Pacific Standard Time
From: Eric J.
>I have been trying to get your TILEPRINT macro going for the last couple weeks. It is the most useful macro I have yet seen. At this point it crashes consistently just before the print dlgs get shown. it says, "CC2 can't perform USE". Use what? It doesn't say.
Re: [CC-L] TILEPRINT MACRO
Date: 11/22/98 5:18:14 PM Pacific Standard Time
From: Chris Conboy
Hey, scratch that,
I have got the TILEPRINT macro to work. Too many blank lines in the email that I cut the macro from.
I have problems with EVERY macro that comes down. Of course I APPRECIATE them, just takes forever to get 'em to work.
Maybe MACROS could be *attached* to emails as .TXT files, INSTEAD of as the body of an email. This way macros wouldn't be such a problem to deal with. (Since the files would be properly formatted - regular emails show up differently for different users).
Re: [CC-L] construction lines
Date: 11/22/98 6:45:55 PM Pacific Standard Time
From: Steven Grogan
Here is another possible workaround. This is provided you always have your layout lines in the same layer. TEMPORARY
change these lines in file fcw32.mnu (make a backup of this file first)
#109,CC2MODEPT:[Endpoint]MYEPT;
#110,CC2MODON:[On]MYON;
and add this line above these two:
#108,CHANGEL:[Show Temporary]|showit;
then put these in your fcw32.mac file:
MACRO MYEPT
HIDE TEMPORARY
EPT
ENDM
MACRO MYON
HIDE TEMPORARY
ON
ENDM
MACRO SHOWIT
SHOW TEMPORARY
ENDM
This will do the following:
When you click on the modifiers ENDPOINT or ON, the TEMPORARY Layer will hide itself. After finishing your task, simply click on the layer icon that now appears above the ENDPOINT icon to make visible the TEMPORARY layer.
I know this isn't exactly what you wanted, but it is a somewhat speedier way to do it.. You may want to save the menu file under a different name, such as construct.mnu or something if you will only use this once in a while. Then when you need it, simply load the menu: Construct.mnu
Mike Schmitz wrote:
> >Ok - I see what you are getting at - what I usually do in this situation, is hide the frozen layer, make my joins & then show the frozen layer again - that way I make my joins on the current layer & can join them using endpoint without worrying about the construction lines.>
> Okay, that's a good workaround, but from what you know of the program, is my suggestion a feature that could be implemented? Maybe most people don't care, but after using other CAD programs out there, I find this frustrating. Perhaps a checkbox could be put under the preferences dialogue: "Snap to Frozen Layers"
RE: [CC-L] SymEncrypt.exe
Date: 11/23/98 1:44:46 AM Pacific Standard Time
From: Linda Kekumu
Apparently you need VBRUN60.EXE for SymEncrypt.exe. It is available at: http://support.microsoft.com/support/kb/articles/q192/4/61.asp?FR=0
Re: [CC-L] construction lines
Date: 11/23/98 10:16:27 AM Pacific Standard Time
From: Simon Rogers
Mike Schmitz wrote:
> Is there a way to draw lines that would be visible but unsnappable? (IE modifier ENDPOINT would not recognize the line).
No. Not easily. The only way to do it is to hide the layers apart from the construction layer, copy the construction layer to the clipboard as a high-res bitmap. You can then paste the image into a paint program and insert it back into the drawing using Insert Picture. This sounds complicated, but it can be done in under 30 seconds.
> I like to use paths in brown to sketch out the outline of my symbols, then I go over them with polygons and finally a black outline to finish it off, but the rough paths do not intersect, and when I try to use the modifiers to do my 'good copy' over the rough, I get all screwed up.>
[CC-L] Macro
Date: 11/24/98 2:57:27 AM Pacific Standard Time
From: Simon Rogers
A few macros. The first two are for use within other macros:
//This macro makes the previously drawn entity black and hollow
MACRO MBH
SELBYP
CHANGEC 0
CHANGEFS Hollow
ENDM
//This macro can determine whether it has been run before or not
//It it hasn't, it runs the macro TINIT
//TINIT can intialise variables or ask for user input
MACRO TMF
APND ftinit -1
GV ftinit ftinit
IFZ ftinit+1 1tmf
GO etmf
:1tmf
TINIT
:etmf
ENDM
//Draws a thick line with a displacment on either side of
//a two points. It uses a box
MACRO thkl1
RDOFF
SELBYP
GDIST flwid ^Dwidth of line[prev]:
GDIST fld ^Ddisplacement either side of line[prev]:
GP flp1 ^D1st point:
IFERR ethkl1
GN color1 -1
LINE flp1 ^D2nd point;
IFERR ethkl1
UNDO
GP flp2 @0,0
fl
:ethkl1
SELBYD
RDON
ENDM
//Draws a thick line with no displacement on either side of //a two points. It uses a box.
MACRO thkl2
SELBYP
RDOFF
GP flp1 ^D1st point:
IFERR ethkl2
GN color1 -1
IFERR ethkl2
LINE flp1 ^D2nd point;
UNDO
GP flp2 @0,0
fl
:ethkl2
RDON
SELBYD
ENDM
//simulates a wide line using a box
//flwid - width of line
//flp1 first point
//flp2 second point
//fld displacement either side of line
MACRO FL
GDIST fld1 flp1 flp2
GBRNG bfl1 flp1 flp2
GV bfl1 bfl1+0
GBRNG bfl2 flp2 flp1
GV bfl2 bfl2+0
GP flp1 flp1
GP flp1 <bfl2,fld
GP flp2 flp2
GP flp2 <bfl1,fld
GV bflr1 bfl1+90
GV flwidt flwid/2
GP flp3 <bflr1,flwidt
GV bflr2 bfl1+270
GP flp4 <bflr2,flwid
GV fld1 fld+fld+fld1
POLY flp3 <bfl2,fld1 <bflr2,flwid flp4;
IFZ color1+1 1fl
CHANGEC color1
:1fl
CHANGEFS Solid
POLY flp3 <bfl2,fld1 <bflr2,flwid flp4
MBH
ENDM