Note: This page is no longer being maintained and
is kept for archival purposes only. For current information see our main page. |
Kurtz-Fernhout Software Developers of custom software and educational simulations. |
|
Home ... News ... Products ... Download ... Order ... Support ... Consulting ... Company |
PlantStudio Product area Help System Index Introduction Quick Tour Tutorial Wizard Arranging Breeding Nozzles/tubes Animations DXF Parameters How it works Strengths/limits Registering |
Editing plant files outside the programPlantStudio uses text-based plant files instead of binary files because text files areMore flexible in dealing with version changes, More reliable in case of problems (you can edit the files), Less likely to become corrupted (and easier to fix if they are), Easier to send over the internet via email, and Easier to send to us for technical support questions. We of course prefer that you edit plant files only using PlantStudio, but if for any reason you want to edit a plant file directly, follow these suggestions: Make sure your word processor doesn't add carriage-returns to lines if they are very long. This will make the file unreadable. Don't change the square brackets around each plant's name (e.g., [daisy]) and don't put any spaces before the first square bracket. You can copy whole plants into other files; just make sure you get the whole plant (up to the next plant name). You can also use the plant mover for this. Lines with a semicolon as the first character in the line are comments written by the program. New comments are lost when you save over the file, so you can't add any permanently. The first part of the line (the parameter name) is for your information only. PlantStudio doesn't read them, and it writes them out again when you save the file (so if you put in special things here, they won't be saved). Whatever you do, don't delete the whole name, because the program will think that the square bracket after the name is the start of a new plant. The second part of the line, in square brackets after the name, is very important -- it matches up with a text in the Parameters.tab file to determine what parameter gets the value. Don't change these texts. After the equals sign is the value of the parameter. You can (carefully) change these values. If PlantStudio doesn't recognize a parameter when it is reading, or if the value is of the wrong type (real number instead of integer, for example), it will disregard the line without telling you and default the parameter. If you change any particular values, we suggest you look right away at the parameter value on your plant in PlantStudio to check that your new value was read correctly. You cannot change the value to a number outside the allowable bounds for the parameter; it will be bounded when the plant is read in. (To change bounds, see Changing global parameter bounds and defaults.) Entries for 3D objects MUST start and end with the words "start 3D object" and "end 3D object" or PlantStudio will choke. Plants must have a full complement of 3D objects, so if you delete one from the file the plant will just generate another default 3D object. The lines "Base point x" and "Base point y" are the location of each plant in the drawing area relative to the global magnification and scrolling offset. If a plant disappears from the screen and you can't find it again, try setting these numbers to something simple like 100 and 100 and see if it returns to view. Though clicking the Scale to Fit button on the main window should fix this problem just as well. |
Updated: March 10, 1999. Questions/comments on site to webmaster@kurtz-fernhout.com. Copyright © 1998, 1999 Paul D. Fernhout & Cynthia F. Kurtz. |