I was wondering if there was a way to access the menus of another Zplugin through scripting?
I have been messing with a script and in between a series of processes I would like to access the UV Master tab and run ‘Unwrap.’ Now when I turn on record and run through the process the actions that happen when I click ‘Unwrap’ in the UV Master plugin are extremely specific and do not allow for duplication.
example:
[ISet,Tool:Geometry:SDiv,1]
// Unwrap Master kicks in here
[IFreeze,
]
[IFreeze,
[ISet,Tool:Export:Scale,1]
[ISet,Tool:Export:X Offset,0]
[ISet,Tool:Export:Y Offset,0]
[ISet,Tool:Export:Z Offset,0]
[IPress,Tool:Export]
[FileNameSetNext,"F:/PROGRAM FILES (X86)/PIXOLOGIC/ZBRUSH
4R2/ZStartup/ZPlugs/UVMasterData_4.0/shirt.GoZ"][IPress,Tool:Import]
[IFreeze,
[TransformSet,1069,1041,0,436.95581,436.95581,436.95581,15.5,180,180]
[TransformSet,1069,1041,0,436.95581,436.95581,436.95581,0,180,180]
]
[ISet,Tool:Export:Scale,78.1921]
[ISet,Tool:Export:X Offset,0.00032]
[ISet,Tool:Export:Y Offset,1.00726]
[ISet,Tool:Export:Z Offset,-0.02804]
[IFreeze,
]
]
//End of Unwrap Master
[ISet,Tool:Geometry:SDiv,8]
Is there a way I can script this event to act like a user just pressing the Unwrap button on UV Master?
Thanks in advance!
-Joseph