14 Replies Latest reply on Apr 24, 2018 5:10 AM by Hiroki Takano

    Macro to set image quality to Red Zone in SW

    John Kruse

      I have put together several Image Quality macro buttons for high and low quality viewing based on the work of others on this site (https://forum.solidworks.com/thread/48935 and hadleman's work on http://www.eng-tips.com/ ), but have not been able to determine the api commands to get the slider into the high "red zone".  Feeding input values to swImageQualityShadedDeviation past the reported min value just caused the macro to fail and the doccumentation page at http://help.solidworks.com/2013/English/api/swconst/DP_ImageQuality.htm has little to work from. 


      I understand the system limits of this setting, but it is needed in large parts with small round tangent features so the boss can visualize them.  Based on the number of complaints I have seen regarding curvature generation, this seems like a useful toggle option for small to medium models on modern workstations.


      I can work thru the details, but want to know if there are any ideas on what commands to send.