Seme macro
Joachim de Ravenbel
Surveyor
Hi all,
I made a macro scattering trees in a boxed area.
Tree density is an average number of trees by square unit (default values might be changed to scale)
I used density vs tree number so that all forest are somehow similarly populated.
Max tree# is a foolproof against to many symbols (I'm the fool, I found the need for that the hard way)
You can choose between pine, decideous, mixed (pine/decid), snow caped and jungle trees but it is quite simple to add more to the code).
Trouble is, symbols must be in the symbol manager to operate. Didn't (yet ?) found a way to make it work without.
Some symbols will have to be erased to get a natural touch (I suppose most forests aren't box shape).
Along is the mtsy macro placing mountains symbols along a spline
(see Moutain macro )
Hope it might be useful...
I made a macro scattering trees in a boxed area.
Tree density is an average number of trees by square unit (default values might be changed to scale)
I used density vs tree number so that all forest are somehow similarly populated.
Max tree# is a foolproof against to many symbols (I'm the fool, I found the need for that the hard way)
You can choose between pine, decideous, mixed (pine/decid), snow caped and jungle trees but it is quite simple to add more to the code).
Trouble is, symbols must be in the symbol manager to operate. Didn't (yet ?) found a way to make it work without.
Some symbols will have to be erased to get a natural touch (I suppose most forests aren't box shape).
Along is the mtsy macro placing mountains symbols along a spline
(see Moutain macro )
Hope it might be useful...
Comments
Thanks for looking or adding,
JdR
1. Use SYMBOLC. This lets you specify a catalog, then place a symbol from it.
2. CATALOG will open a catalog. Remember that # represents the CC3 path.
3. Create a file which includes the symbols you want as part of the drawing (that is as references and not just definitions), then use PARTM to place that file somewhere in the current drawing. Then UNDO. The symbol definitions will now be part of the drawing.
1.I tried this
SYMBOLC #SYMBOLS\MAPS\CC3\VEGETATION.FSC;Decid Tree 1;vrSize;vrSize;0;varPOnEnt;
with and without ending semicolon, even tried with a blank line after but the command doesn't end.
Any hint ?
2.I know of CATALOG, but it doesn't place any symbol in the manager...
3.That could be last resort. I also thought of creating a template where with the symbols already in the manager. It works but also means that I should edit all existing templates if I want more options...
Thanks a lot,
JdR
So try this
SYMBOLC #SYMBOLS\MAPS\CC3\VEGETATION.FSC
Decid Tree 1
vrSize;vrSize;0;varPOnEnt;
If I put it like this, the symbol is only recognised if already in the SManager.
In full line as in previous post, the symbol is correctly extracted from the catalog but the command doesn't end, ie it asks for more points to place the symbol to.
Funny eh?
JdR
The PARTM method is then the most reliable.