Thanks for the solution and explanation Yannick. It's working perfectly now and I can finish converting my scripts.
The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.
D
Offline
Latest 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()