4 Replies Latest reply on Dec 16, 2014 8:42 AM by Profanter Profanter

    2015 AddMenuItem not working

    Profanter Profanter

      Hi

      I wanted to use the SolidWorks to Urdf exporter from here: sw_urdf_exporter - ROS Wiki

       

      But unfortunately the menu item under the files Menu to start the export doesn't show up.

       

      Here's the source code:

      brawner / SW2URDF / source / SW2URDF / SwAddin.cs — Bitbucket

       

      The corresponding lines responsible for adding the menu item are:

       

      iSwApp.AddMenuItem3((int)swDocumentTypes_e.swDocASSEMBLY, addinID, "Export as URDF@&File", 10, "assemblyURDFExporter", "", "Export assembly as URDF file", "");

      iSwApp.AddMenuItem3((int)swDocumentTypes_e.swDocPART, addinID, "Export as URDF@&File", 10, "partURDFExporter", "", "Export part as URDF file", "");

       

      What's wrong with this code?

       

      Thanks