components on layers

Discussion in 'SolidWorks' started by Sam, Aug 29, 2005.

  1. Sam

    Sam Guest

    I have been using solidworks for awhile but never had a need until now
    to put components on layers in a drawing. My task is to create some
    solidworks drawing templates with certain layers so that when that
    drawing template is used to create a drawing for an assembly the
    correct components will show up on the correct layers. I have been
    using solidworks long enough to know that I am pretty sure that
    solidworks out of the box does not do that. Can anyone confirm? Does
    anyone have any recommendations on how this can be accomplished?

    Thanks, Sam
     
    Sam, Aug 29, 2005
    #1
  2. Sam

    SteveT Guest

    it can be done -- just not necessary if all you use is solidworks.

    1.. create your drawing of your assembly
    2.. create the layer you want (with color & line type) from the layer
    toolbar
    3.. right click on a face of a component from the drawing view
    4.. choose "component line font"
    5.. uncheck "use document defaults"
    6.. choose the layer for the component in the bottom right
    7.. click OK
    You can also specify if you want that layer in all views or only one view.
    Once applied you should now be able to hide that layer (which hides the
    part) or change it when needed.

    Hope that helps

    Steve Tietz
     
    SteveT, Aug 29, 2005
    #2
  3. Sam

    Seth Renigar Guest

    Wow! Learnt somthin new.... Cool!!!!

    I just played with it and found one limitation with this though. Once you
    hide a layer that a component is attached, the component appears to still be
    there, just all of the edges are hidden. You still can't see anything
    behind it. I would not expect it to work like this. May be a bug.
    (bug?!?!? bug?!?!? What's that???)
     
    Seth Renigar, Aug 30, 2005
    #3
  4. Sam

    Tin Man Guest

    Sam,

    There is an example macro included in your native SW API Help. Just
    search for "Put Assembly Components in Drawing View on Different Layers
    Example".

    I have a custom macro to assign certain components to certain layers,
    but it would probably take some tweaking to get it match your system.

    What SteveT said is exactly right. We just prefer to use the API and
    automate the process as much as possible.

    Ken
     
    Tin Man, Aug 30, 2005
    #4
  5. Sam

    Tin Man Guest

    Seth,

    This is the way SW handles hidden parts. I too would consider it a bug,
    but SW does not. If you truely want the part to be hidden in a drawing
    and expose the components behind it, then you have to either do a
    Section View in the drawing or switch over to the assembly and add a
    configuration where the parts are hidden or suppressed (then those
    components will be completely hidden in the drawing when using that
    configuration).

    Ken
     
    Tin Man, Aug 30, 2005
    #5
  6. Sam

    Seth Renigar Guest

    Not true! You can right click on any of the parts in an assembly drawing
    and select: component>show/hide>hide component. This will hide the
    component completely from the view. Everything behind it will be perfectly
    visible.

    It is only when you add the part to a hidden layer that it doesn't hide the
    part completely. When doing this it only hides the edges of the part.
    Faces are still actually there (though not exactly visible) hiding
    everything behind it. You can even still select the faces of the part.
     
    Seth Renigar, Aug 30, 2005
    #6
  7. Sam

    Seth Renigar Guest

    Then what am I missing then? It is not working that way for me. Please
    review my previous response to SteveT. That is how it works for me.
     
    Seth Renigar, Aug 30, 2005
    #7
  8. Sam

    Tin Man Guest

    I did not know that the Show/Hide Component would do that too, good to
    know. As far as still being able to select faces of components on
    hidden layers, I'm with you because I would not expect it to work the
    way it does either (but that *is* how it has worked since at least
    SW2003).

    Ken
     
    Tin Man, Aug 31, 2005
    #8
  9. Sam

    SteveT Guest

    Yes. we all need to fill out the enhancement request form & ask for the
    functionality to not select hidden layers. I would recommend that we ask
    for a TOOL OPTION setting to turn it on & off however -- cause someone will
    want it the other way (current way).

    Steve Tietz
     
    SteveT, Aug 31, 2005
    #9
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.