Itoo Software Forum
Forest Pack => Forest Pro (*) => Topic started by: TATproductions on July 22, 2013, 05:26:29 PM
-
Hello there
I'm trying to make a tool to manage multiple forests.
Is there a way to access material optimizer tool from script to execute it on multiple forests ?
It's the only options hard to find.
Thanks !
-pingus-
http://www.tatprod.com/ (http://www.tatprod.com/)
-
To apply the optimizer to several Forest objects, just use it from Forest Tools (Utilities panel).
But if you want to launch it from your script, the optimizer is located at <maxdir>\Scripts\forestpack\optmat.mse. It is applied the current objects selection.
-
Indeed we can use forest tool, but i'd like to recreate that button to make all tool in the same panel ;)
Btw, how do i access optmat.mse ? looks like it's an encrypted file.
Should i "fileIn" it ?
Thanks for support & for this great plug !
-
Sorry, i forgot you need the function name, besides the script file. Please, use the following code:
try(destroyDialog ForestPackOptmatRollout) catch(); fileIn "forestpack\optmat.mse"; createDialog ForestPackOptmatRollout
-
yey, it's working !
thanks