Announcement
Collapse
No announcement yet.
can't find MEL command to switch texture baking on
Collapse
X
-
can't find MEL command to switch texture baking on
Dave Girard | CAN-CON.ca | polygonspixelsandpaint.tumblr.comTags: None
-
Hello,
Not sure which of the following you need, but here you go:
That will change the selected item in the drop-down menu:
optionMenuGrp -e -sl 2 vrayBakingEngineCtrl;
The following will set the baking render:
setAttr "vraySettings.bakeRender" 1;
This is another setting you may need:
setAttr "vraySettings.sh_export_on" 0;
And these are for the interface - to enable other controls:
attrControlGrp -edit -enable true vrayBakeChannelCtrl;
attrControlGrp -edit -enable true vrayBakeDilationCtrl;
attrControlGrp -edit -enable false vraySphericalHarmonicsOptions;
You can see what happens when you change the selected item in that drop-down menu in vrayCreateCommonGlobalsTab.mel
Hope that helps. Let me know if there is anything else you need.V-Ray for Maya developer
Comment
-
Comment