1 Reply Latest reply on May 9, 2016 4:14 AM by Ivana Kolin

    C# Api How to begin to draw

    Marcelo Arguello

      Hi I am new in the SW Api ambient.

      I need to create a loftbody from an array of styles splines curves(Bezier curves) that generate with airfoil math.

       

      But i am lost in the api structure.

      Starting reading the Api help: Using the SOLIDWORKS C# Add-in Template to Create a Visual C# .NET Add-in

       

      I install the CSharp(SwCSharpAddin1) template an compile it,

      but when press F5, the SW start but nothing happend,

      the template perform any sample task?, how to run it?.

       

      Another thing in wich file put my code to perform the loft task?

      All the file are needed if I only want to run this snippet:

      http://help.solidworks.com/2012/English/api/sldworksapi/Create_Loft_Body_Example_CSharp.htm

      Wich steps must to do to run the refered sample code

      ------------------------------------------------------

      How create an array of styles splines  to feed

      CreateLoftBody2 function ?

       

       

      I am a begginer so be patience with my questions.