Image quality macro

Discussion in 'SolidWorks' started by silashilliard, Dec 4, 2006.

  1. I want to make a macro that instantly ups the image quality. As little
    work as it is, I'm tired of going to the document properties to up the
    shaded and draft quality resolution. This is probably something that
    could be fixed with the copy settings wizard, but when I try to do
    that, it says I don't have administrator privileges. I don't really
    want to hassle our tech guy, plus I think of this as a learning
    opportunity. The line in the API code is

    Part.SetUserPreferenceIntegerValue swImageQualityShaded,
    swShadedImageQualityCustom

    If I change the swShadedImageQualityCustom to a number, the macro still
    runs, but there's no discernable change. Any suggestions?
     
    silashilliard, Dec 4, 2006
    #1
  2. silashilliard

    Rock Guy Guest

    Just increase the setting and make a part, assembly or drawing template
    from that file. Then the setting will be perfect every time with no
    work.
     
    Rock Guy, Dec 4, 2006
    #2
  3. silashilliard

    matt Guest

    Until you open an assembly with the part in it and the option turned on
    that changes the setting in all the individual parts, and where the
    assembly quality is set low.

    I'm always wishing for this macro myself.

    Matt
     
    matt, Dec 4, 2006
    #3
  4. silashilliard

    fcsuper Guest

    Here's an example of a macro that allows the user to input resolution
    directly. I think it can be modified to save as whatever format you
    wish. I hope this helps.

    http://sw.fcsuper.com/index.php?name=UpDownload&req=viewdownloaddetails&lid=34

    Matt
     
    fcsuper, Dec 4, 2006
    #4
  5. silashilliard

    Francis Guest

    Part.GetTessellationQuality
    &
    Part.SetTessellationQuality 0 to 100
     
    Francis, Dec 7, 2006
    #5
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.