Reading documentation
Posted: Tue Sep 01, 2015 2:02 am
One thing that I always struggle with sdk documentation is that the documentation seems to assume a certain level of information that a noob probably doesn't have. So unless you know where to look you spend a lot of timing hunting and hoping.
I'm trying to get all the layers in my file and via the MohoDoc class I can see that it's done via CountLayers.
What's slowed me down is that I initially tried
and that didn't work. Only through searching online did I find this script
http://users.on.net/~alexical/Anime%20S ... render.lua
That then shows that it should be
My question is how would I know it should be .document? I showed our resident TD the documentation as he's very knowledgeable in reading sdk documentation and knowing where to look for things and even he admits he doesn't see how one would know this based on the documentation.
I've dealt with programs that have excellent documentation and others that make you wanna throw your monitor through a window. So far the ASP looks to be on the better side of the spectrum. So I can't tell if this is just me not knowing how to read the documentation or the documentation not being as complete as it should be.
I'm trying to get all the layers in my file and via the MohoDoc class I can see that it's done via CountLayers.
What's slowed me down is that I initially tried
Code: Select all
moho.mohodoc:CountLayers()
http://users.on.net/~alexical/Anime%20S ... render.lua
That then shows that it should be
Code: Select all
moho.document:CountLayers()
I've dealt with programs that have excellent documentation and others that make you wanna throw your monitor through a window. So far the ASP looks to be on the better side of the spectrum. So I can't tell if this is just me not knowing how to read the documentation or the documentation not being as complete as it should be.