Forest Pack > Forest Pro (*)
Material optimizer from script
(1/1)
TATproductions:
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/
iToo:
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.
TATproductions:
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 !
iToo:
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
TATproductions:
yey, it's working !
thanks
Navigation
[0] Message Index
Go to full version