Re: [nbos] [FM] - General Questions and Comments"Joe Frazier, Jr" Sat Feb 17th, 2007
> >Basically, I want to select a rectangular area (or a polygon, line ,etc)
> >and randomly fill with mountains AT SCALE. This is where the problem
> >comes in. I modified the forestfill(in a new file of course) to point
> >to the mountains instead, but am having trouble figuring out how to use
> >the PlaceSubmapAtScale method. I am still not sure I understand the
> >entire conversion system for converting internal measurement units to
> >feet/miles/etc, so any help would be appreciated.
>For this sort of thing, you wouldnt be able to use PlaceSubmapAtScale since
>the mountain symbols dont have a size assigned to them. So FM wouldnt
>know how big to make them. ie, a mountain symbol may mean a single
>mountain, or may mean a mountain range - its an arbitrary size based on how
>you use it. This is unlike, say, the building symbols which have fixed
>sizes assigned to them.
>Two options would be to 1) edit the mountain symbols you want to use, and
>assign a scale to them - say, 10 miles or whatever you want. Then you can
>use PlaceSubmapAtScale() and FM will properly size them on your map or 2)
>manually calculate the the rectangle to use when placing the symbol by
>making the symbols appear at some specific pixel size on your screen when
>they are placed (the ForrestFill.vbs does this).
>To do option #2, you basicially need to replace the GetTreeSymbolFile() and
>GetTreeSymbolScale() functions in the script to instead return the mountain
>symbols, and any scale factor you want to use for particular symbols.
Hey Ed, thanks for the reply. First, I would like to know how to set
the scale of objects. I checked the docs and it did not seem
intuitive, though, I somehow managed to do it for a copied object.
Basically, I zoomed in on a mountain, exploded it, modified it
(basically, I wanted totally snow covered mountains), and then created
the symbol and saved it. Then I added the original symbol and the new
one to pallete. When I have a map at 1000 miles X 1000 Miles and double
click on the original map symbol, it shows up around 1 inch high on my
screen (about 90 miles per the measuring tool), while my new symbol
shows as only about 1.5-2 millimeters tall (around 13 miles "tall" per
the measuring tool)
I then changed the map size to 100 X 100 miles and when clicking the new
mountain icon, it placed it at around 1 inch, but again, the measuring
tool said it was around 13 miles high. this is exactly the behavior I
So... the question is how did I "set" the scale when creating the symbol
in the first place. It is still a bit large, but I want to be able to
set the objects at a reasonable scale and have a double click put them
onto the map, eventually scripting this process of a polygon instead of
just a double click.
Question: When is FM 8 coming out? It seems like from the logs that it
has been in development for over a year, and nothing on the site seems
to indicate an impending release date.
Comment: I assume that Ed is the or one of the primary developers of
the program and appreciate the scripting PI. This is a great feature
that really helps this product stand out. The one suggestion I would
have would be to greatly expand the examples for the PI functions and
also provide a) better named variables in the example scripts/custom
tools and b) provide much more detailed documentation inside the custom
tools as to what is being done at each step. Part of this may be more
clear with the more explicit variable names, but with the relatively
small number of tools, the extra documentation time should not be that
much additional work.
Nbossoftware mailing list