Message 1 of 3
Error while editing CustomFeature from CustomPocket sample code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I ran into this error while working on my own CustomFeature but I am also able to reproduce it using the downloaded CustomPocket sample code:
Execute: Traceback (most recent call last):
File "C:/Users/mcd86/AppData/Roaming/Autodesk/Autodesk Fusion 360/API/AddIns/CustomPocket/CustomPocket.py", line 320, in notify
eventArgs.command.beginStep()
File "C:/Users/mcd86/AppData/Local/Autodesk/webdeploy/production/96174d2c4918a1a613b00371fd422e0f30e1d187/Api/Python/packages\adsk\core.py", line 5179, in beginStep
return _core.Command_beginStep(self, makeExistingStepNonUndoable)
RuntimeError: 3 : Associated feature is invalid.
It occurs when editing the CustomFeature. Completing a camera pan or orbit appears to be firing the Activate event for the edit command which then calling beginStep.