Markus Barrera-Kolb Posted July 24, 2015 Share Posted July 24, 2015 Hello, Does any of you good folks know what the pref code for the OpenGL Option 'Draw Edges' is? I'd like to make a toggle that allows me to show & hide the edges in OpenGL with one keystroke... Thanks! Cheers, Markus Quote Link to comment
Hippocode Posted July 25, 2015 Share Posted July 25, 2015 I think you are looking for these: varOpenGLAntiAliasingCapability = 593, // To get anti-aliasing OpenGL option. varOpenGLDrawEdgesCapability = 594, // To get Draw-edges OpenGL option. varOpenGLUseShadowsCapability = 595, // To get Use-shadows OpenGL option. You should download the SDK and open the Include/minicadcallbacks.h file as it contains all those pretty constants you will ever need. Quote Link to comment
Markus Barrera-Kolb Posted July 27, 2015 Author Share Posted July 27, 2015 Thanks! Downloaded the SDK – looks like it'll be great to have this as a comprehensive reference! However, the code that I'd used to toggle other pref codes, e.g. pref 95 for toggling to create screen layer objects vs. layer plan objects (see uploaded screen shot), does not seem to work for these pref codes. Does anyone know what code might work to control prefs 594 & 595? Thanks again! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.