0 Replies Latest reply on Oct 10, 2014 3:19 AM by Has Bal

    ToolBox Control

    Has Bal

      Hi,

      I know how can i put parts in to opened assembly with api. However I am trying to get -for example- bearing from toolbox put in to opened assembly with API. I am using c#  but i cannot understand well. Could you explain step by step that. I mean what kind of things i must define step by step.

       

      Here my code:

       

      swAssembly = default(AssemblyDoc);

      ToolboxManager.SwAddin sw = new SwAddin();

      sw.ToolboxWorkFolder = "C:\\SolidWorks Data\\browser";

      swAssembly.SetDroppedFileName("instrument ball bearing_68_am.sldprt");

       

      after that I could not know...