Stepdad opened this issue on Sep 23, 2007 · 10 posts
ockham posted Sun, 23 September 2007 at 1:54 PM
Python could help with this, but only if you're willing to do the loading through
the script. For a large number of trees, this batch-process would be worth the trouble;
for one or two, probably not worth it. (The batch process would have an added
advantage: you could introduce some randomness of size and orientation
in each set of leaves.)
The "obvious" way would be to run the script from the leaves PP2, but
as far as I know a PP2 can't carry a "pythonStartupScript" command.
(In that case, if it were possible, the script would simply get the currently
selected figure and force the leaves to be parented to the Trunk of that figure.)
If you set up the leaves as a CR2, they could run a "pythonStartupScript",
but there could be a tricky problem with timing, because the newly loaded
CR2 would become the currently selected figure.