Curve length API

Discussion in 'SolidWorks' started by mtattar1, Mar 29, 2005.

  1. mtattar1

    mtattar1 Guest

    Hi,

    I'm trying to write a macro that will measure and track the curve
    length of a 3D Sketch as a function of the sketch's imput geometry (the
    interection of a solid body and a plane). I can do all this manually
    (change plane definition, regenerate the curve, meaure length with the
    measure tool, and repeat) but I'd sure like to automate this. Is this
    procuedure easy to automate? I am a complete NOVICE with writing
    macros so if anyone has any insight (methods and syntax), I'd really
    appreciate it. 2004.

    Thanks
    MT
     
    mtattar1, Mar 29, 2005
    #1
  2. If you look in the API help, there is a sample under
    SketchSegment::GetLength which should get you started.
     
    Evan T. Basalik, Mar 30, 2005
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.