THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 30/11/2012 at 23:36, xxxxxxxx wrote:
I'm trying to access the Axis and Orientation of the Modeling Axis in R14 like this:
import c4d
def main() :
tool = doc.GetActiveToolData()
print tool[c4d.MDATA_AXIS_MODE]
print tool[c4d.MDATA_AXIS_ROT]
if __name__=='__main__':
main()
This works correctly for the Live Selection tool but not for Move, Scale and Rotate.
The COFFEE equivalent using GetActiveTool() works consistently for all of these tools.