Show hidden lines in shaded button?

Discussion in 'SolidWorks' started by T Bennett, Feb 9, 2005.

  1. T Bennett

    T Bennett Guest

    Anyone got a button/macro that can toggle the hidden lines in shaded mode?
    I don't see a standard button to do this and don't want to have to change my
    options every time.

    Todd
    tbennett>removethis<@celerity.net
     
    T Bennett, Feb 9, 2005
    #1
  2. T Bennett

    That70sTick Guest

    The only time I needed this, I ended up overlaying two identical views.

    Also, when I want a PDF with vector edges and shaded parts, it is
    necessary to overlay views. Shaded views show up in PDF's as bitmaps.
     
    That70sTick, Feb 9, 2005
    #2
  3. T Bennett

    Tin Man Guest

    How about this:

    '*** Beginning of Code ***
    Option Explicit
    Dim swApp As Object
    Dim swModel As Object
    Sub main()
    Set swApp = Application.SldWorks
    Set swModel = swApp.ActiveDoc

    If swApp.GetUserPreferenceIntegerValue(swEdgesShadedModeDisplay) =
    swEdgesShadedModeDisplayHLR Then
    swApp.SetUserPreferenceIntegerValue (swEdgesShadedModeDisplay),
    swEdgesShadedModeDisplayWireframe
    Else
    swApp.SetUserPreferenceIntegerValue (swEdgesShadedModeDisplay),
    swEdgesShadedModeDisplayHLR
    End If

    swModel.ForceRebuild
    End Sub
    '*** End of Code ***


    Later,
    Ken
     
    Tin Man, Feb 10, 2005
    #3
  4. T Bennett

    kim.krubsack Guest

    I cannot believe I have the answer for this. Usually I only learn and
    never contribute because I am so stupid.

    Go to "Tools\Options\System Options\Display-Selection" and under "Edge
    display in shaded with edges mode" uncheck "HLR" (hidden lines removed)
    and check "Wireframe"

    I think this will give you what you want.

    Timelord
     
    kim.krubsack, Feb 10, 2005
    #4
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.