I'm trying to see if a given object has had its pivot point moved. I can parse the text of the scene file in order to do this, but I'd rather learn the "right" way in LightWave Python.
The LWObjectFuncs has a function called "pivotPoint." I'm hoping that this might return the pivot offset if one exists, but I could be looking in the wrong spot. However, I'm confused about part of the documentation:
What is "lnum"? I'm having trouble figuring this out.
pivotPoint(self, int obj, int lnum)
I figured out that "int obj" refers to the index of the object, and not the object ID. That is, if you had five entries in the Current Item list, an "int obj" of 0 would ignore any nulls and instead return the very first LoadObjectLayer item present in the scene.
However, I'm not yet sure what "lnum" represents. Does it refer to the "DATA" variables listed in help(lwsdk)?