thanks. working on it...might be something with the shelf maintenance code...UPDATE: attached is a fix - replace dynamicaUI.mel in the scripts dir under the plugin install path. this fix eliminates the shelf and instead adds a "Dynamica" menu item to the main application bar.
The Object '0' not found error persists even if the shelf is created and left empty. Maya is apparently posting a "shelf selected" event which is running a procedure somewhere that produces the error. The Dynamica plugin sources the dynamicaUI.mel script and runs the global dynamicaUI_initialize() procedure - which checks and builds the shelf and button if necessary, but this runs when the plugin is loaded, not when the shelf is selected. the attached fix simply avoids the issue...
When i load plugin and i click on shelfs "Dynamica", i got error:
// Error: Object '0' not found.
After shelfs are saved (quit maya), all is ok on next run, no error.
But i unload plugin, quit maya, then delete shelfs file "shelf_Dynamica.mel" and start maya + load plugin again, click on shelfs "Dynamica", error again.
This error occurs only when plugin create shelfs itself and user try to click shelfs "Dynamica".
Win7 x64, Maya 2011 Hotfix 3 x64, BulletDynamica 2.77 + Dynamica-Patch-02-15-2011.zip