Hi, I´m a Lightwave user too, and the past month, asked to the people of the SpainLW, a mail group from yahoo, if is possible to create a pluguin to open the MD_reader panel.
The idea, is to improve the workflow between LW and Messiah, because, when you are working with 3 or more characters, the acces to this panel is too slow.
A member named Jacobo Barreiro wrote this script, and I want to share it with you, because I believe that it is util to work whit Messiah and the .mdd files
save this code in a text file and put .ls in it´s extension
the code -->
//-----------------------------------------------
// Created by Jacobo Barreiro, http://www.jacobobarreiro.com/
@version 2.5.1
@script generic
@name MD_Plug Loader
generic
{
SubdivisionOrder(6);
commanderActive = false;
curScene = Scene();
selected = curScene.firstSelect();
if(selected == nil)
error("Select a mesh item");
if (selected.genus != 1)
error("You need to select a Mesh item");
applied = selected.server("DisplacementHandler");
if(applied)
{
counter = size(applied);
for(x = 1; x <= counter; x++)
{
if(applied[x] == "MD_Plug")
{
commanderActive = true;
break;
}
}
}
if(!commanderActive)
ApplyServer("DisplacementHandler", "MD_Plug");
openServer = string("EditServer DisplacementHandler ",x);
CommandInput(openServer);
}
//-----------------------------------------------
TIMNHE