Probably simple, but how do you toggle a User Preference in macro?

Discussion in 'SolidWorks' started by SW Monkey, Jul 28, 2006.

  1. SW Monkey

    SW Monkey Guest

    I need to toggle the "Update BOM" option on Document propertys. I know
    the API code for this, but how can I toggle it?

    If its off, I want it on, if its on, I want it off. Reason, I only
    want to temporarily have the Update BOM on, then turn it off when im
    finished the drawing.
     
    SW Monkey, Jul 28, 2006
    #1
  2. SW Monkey

    SW Monkey Guest

    Bump.
     
    SW Monkey, Aug 8, 2006
    #2
  3. SW Monkey

    That70sTick Guest

    Read the value, then change it to its opposite.
     
    That70sTick, Aug 8, 2006
    #3
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.