Thanks for the solution and explanation Yannick. It's working perfectly now and I can finish converting my scripts.
D
Posts made by DavidW
-
RE: Issue Changing Modeling Axis
-
Issue Changing Modeling Axis
I'm trying to convert a working COFFEE script for changing the modeling axis to Python. Updated tool data is printed to the Console but the Axis parameter is not changing.
import c4d def main(): tool_dat = doc.GetActiveToolData() tool_dat[c4d.MDATA_AXIS_MODE] = c4d.MDATA_AXIS_MODE_FREE c4d.EventAdd() if __name__=='__main__': main()