Determining current Weight Map?

jeric_synergy

Axes grinder- Dongle #99
In LScript, how does one determine the current Weight Map? The one that would be displayed in the bottom right menu if "W" is selected?
 

iain_r

New member
Weight maps

Hi you use VMaps,

Regards

Iain

Code:
@warnings
@script modeler
@version 2.8

main
{
    vmapObj = VMap(VMWEIGHT);
    if(vmapObj == nil) error("No weight maps in the mesh!");
    nameofvmap = vmapObj.name;
    typeofvmap = vmapObj.type;
    
    info(nameofvmap);
    info(typeofvmap);
}
 
Top Bottom