main/buildObject
I feel like I'm missing documentation on scripting.
When is main() called? I created a script:
I call it from Tools directory. Does nothing except create a script/spline object. If I make the function a buildObject it works fine, except for asking me to pick a file everytime I open it.
Where can I find the different build* (i.e. buildObject, buildUI) functions that will be called by c3d?
Thanks in Advance
G
I feel like I'm missing documentation on scripting.
When is main() called? I created a script:
Code:
function main(doc) {
OS.messageBox("Debug", "WTF");
filename= OS.runOpenPanel("dat");
}
I call it from Tools directory. Does nothing except create a script/spline object. If I make the function a buildObject it works fine, except for asking me to pick a file everytime I open it.
Where can I find the different build* (i.e. buildObject, buildUI) functions that will be called by c3d?
Thanks in Advance
G