API-Determining feature settings

Discussion in 'SolidWorks' started by P., Aug 14, 2005.

  1. P.

    P. Guest

    If anybody has done this before I would sure be interested. I am traversing
    the feature tree in a part. I can determine what type of feature I have,
    but I also want to determine the settings used to create the feature. For
    example, is it a simple loft or a centerline loft? Is it a sweep normal to,
    one without guide curves, etc.
     
    P., Aug 14, 2005
    #1
  2. P.

    CS Guest

    I haven't done this before but from the help it looks like you are
    looking for
    Feature::GetDefinition and the subsequent featuredefinition objects.
    You may also need Feature::GetTypeName to identify the feature type.
    This should get you started. If you can't get anywhere and can't get
    further help here try e-mailing apisupport.

    Corey
     
    CS, Aug 16, 2005
    #2
  3. P.

    TOP Guest

    Thanks Cory. That opens up a path to the rest of what I need. Going to
    the help for the FeatDefinition object and looking at the methods and
    properties gets me all the information I think I need.
     
    TOP, Aug 16, 2005
    #3
  4. P.

    CS Guest

    Good to hear. Keep me posted on your progress.

    Corey
     
    CS, Aug 18, 2005
    #4
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.