API-Getting parameters for CopyBody

Discussion in 'SolidWorks' started by TOP, Aug 24, 2005.

  1. TOP

    TOP Guest

    I want to manipulate the parameters of a Move/Copy Body feature. Unlike
    most features I cannot see the parameters for this feature by double
    clicking or apparently through the API. Has anyone had success getting
    at the parameters through the API?

    FeatureManager::InsertMoveCopyBody2
     
    TOP, Aug 24, 2005
    #1
  2. TOP

    That70sTick Guest

    The parameter are accessed using "MoveCopyBodyFeatureData". Once you
    have the Feature object, access this data using
    "Feature::GetDefinition".
     
    That70sTick, Aug 25, 2005
    #2
  3. TOP

    TOP Guest

    Ahh, that is new in 2005. Can't do it in 2004.
     
    TOP, Aug 25, 2005
    #3
  4. TOP

    That70sTick Guest

    I just did some experiments with it. It doesn't seem to work right.
    No matter what the transform values are (i.e. ".TransformX"), they all
    return as -1 when I read them.
     
    That70sTick, Aug 25, 2005
    #4
  5. TOP

    TOP Guest

    Bug?
     
    TOP, Aug 25, 2005
    #5
  6. TOP

    That70sTick Guest

    No thanks. I already had lunch.
     
    That70sTick, Aug 25, 2005
    #6
  7. Interesting comment from a person with "tick" in their name..... :)

    WT
     
    Wayne Tiffany, Aug 25, 2005
    #7
  8. TOP

    TOP Guest

    Tock?
     
    TOP, Aug 26, 2005
    #8
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.