Macro problem setting Image Quality

Discussion in 'SolidWorks' started by dpodz, Sep 27, 2005.

  1. dpodz

    dpodz Guest

    I'm trying to use a macro to, among other things, bump up the shaded
    image quality. The line that I think should work is this:

    Part.SetUserPreferenceIntegerValue swImageQualityShaded, 100

    Am I using the wrong call or is there something else that I need to
    call along with this? Thanks for any help.

    dp
     
    dpodz, Sep 27, 2005
    #1
  2. dpodz

    SWX-VAR-JP Guest

    DP,

    The problem is that this is a integer value, so 100 is not valid.
    There are three valid values, (0-2), each one corrisponds to a specific
    constant. If you use 2 then you also have to use
    swImageQualityShadedDeviation and supply a double value that
    corrisponds with the current chord value.

    JP
     
    SWX-VAR-JP, Sep 28, 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.