python - Trying to create a bake substance script in maya pymel -


i have been trying figure out how script own bake script substance materials files in maya, or find documentation somewhere gives me commands , format should used in. has made script using substance commands @ fro reference? have found list of these commands found in substance plugin information:

sbs_issubstancerelocalized() sbs_setbakeformat() sbs_getglobaltextureheight() sbs_geteditionmodescale() sbs_getchannelsnamesfromsubstancenode() sbs_affecttheseattributes() sbs_getsubstancebuildversion() sbs_seteditionmodescale() sbs_getbakeformat() sbs_getengine() sbs_getglobaltexturewidth() sbs_gotomarketplace() sbs_getgraphsnamesfromsubstancenode() sbs_getallinputsfromsubstancenode() sbs_affectedbyallinputs() sbs_editsubstance() sbs_getpackagefullpathnamefromsubstancenode() sbs_setglobaltexturewidth() sbs_setengine() sbs_setglobaltextureheight() 

please help!

here short script use load substance in mel script

// load plugin should "substance" on windows loadplugin "libsubstance"; // create sbs node string $sbsnode = `shadingnode -astexture substance`; // load sbsar absolute path setattr($sbsnode+".package") -type "string" "/usr/autodesk/maya/substance/substances/aircraft_metal.sbsar"; 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -