Interested if anyone has had any workaround luck with this? I have clients that have multiple complex patterns which they would like to layer, wouldn't it be awesome if we can select a feature and attach it to a layer?
SolidworksDrawings And Detailing
the layers are not enough.....come on display states and configurations should handle this kind of function...that or go back to Autodesk for layers...
That would get my vote....
Hello Alen,
I'm curious about what you want Layers to do that you can't do with configurations or display states. You said "wouldn't it be awesome if we can select a feature and attach it to a layer?" It's pretty easy to right-click on a feature and select "Configure feature" from the drop-down.
I believe that he means that he wants specific line fonts/colors for a particular feature on a drawing. And adding a feature to a layer (like you can a component in an assembly) would make that easy.
Hello Dan,
You're probably right. In that case, right-clicking on the component (or components) in the Drawing, choosing "Component Line Font" from the drop-down, and assigning a Layer there would be the best option I know of.
Edit: ...or just click on a component and select the desired Layer. Unfortunately, this only works for the whole Part. For individual bodies the only way I know of is to select all edges and change the colors using the Line Format toolbar.
Hello Glenn,
Thank you for your response, to elaborate a bit on why the need for this functionality arose.
My client produces acoustic panels that have complex patterns on both sides of the panel which they export as .dxf to their machine on the shop floor. The machine scans for individual layer names and decides what holes, features etc it wants to cut. The acoustic panel by itself is a very complex part with small little intricate grooves, holes for sound detonation. Currently for them to position those features on layers cannot be done in SOLIDWORKS, but only way is through AutoCAD or DraftSight, we dont talk about AutoCAD here lol. I am trying to make their life easier, cause i developed global variables for them which will do these complex patterns for them on the face of the acoustic panel rather quickly than compared how they did it in AutoCAD. However, the problem is they still need to rely on the CAD to layer those features after creating them in SWx. If we could add the functionality for layers to be applied to individual features than all they have to do in SWx DWG is select that feature, right click and apply layer, DONE! One more reason to get rid of AutoCAD. I tried line colour, but that does not work in their instance.
Current workaround I have is to copy panels one on top of the other, export to assembly, export to dwg and then layer individual bodies. One panel will represent layer for holes, one will represent one layer for grooves. Still they need to use AutoCAD even with this approach to clean up the borders in the panel (not a 100% solution at the moment).
Hopefully you understand what I mean by this, I apologize for the grammar and I would love to share the file but we have an NDA signed.
Alen
there are layers available in the drawing mode.... would that not help them with this?
Yes, but in order to add individual features (from a part) to a layer (in a drawing), you would have to meticulously select each and every edge and add that to the layer (if that can even be done....). If that can't be done, then you would have to convert the drawing to a sketch and add the edges that way.
Adding the functionality to add entire features to layers (similar to how you can currently entire components to a layer in a drawing) would help this a lot.
I don't believe it can. You can change the color of individual edges with the Line Format toolbar, but I've not been able to assign Layers to them.
Need to get voting for this:
SolidWorks must have some code to do this as for sheet metal parts you can colour certain features (like forming tools)
The ideal is to apply the colour in the model using appearances, and then in any of the wireframe modes (HLR/HLV) the edges show in that same colour.
, I hope you know that individual component can be set to be on a different layer in the drawing. This can be done via a macro also.
You are correct Glenn.
Hello Deepak,
Thank you for the suggestion, I am doing that at the moment, but its not a clean solution. As mentioned, for my client having the ability to select a feature in the design tree and assign to a layer would be the correct solution. In addition, I do not believe this is one instance, I read on here that a lot of people would love this functionality added.
Alen
Hello Adam,
I agree and to further that layers as well. Reason being that some machines will read individual layers instead of colours.
Alen
You might want to submit this when Top Ten Ideas opens up.
I definitely will, just the waiting game for now. I might see if I can contact to see if there is something he can do as well when it comes to this.
Alen
One workaround could be to convert the view to a sketch and then box select the items that need to go on the layer and set them that way. Not ideal though.
I did that, the client wasn't happy with that solution...lol
The part has about 2300 holes on one face and about 90 grooves on the other face. Too much selection for anyone's liking.
Alen
Thanks for your suggestions Dan!
OK, another workaround (less than ideal again) :
Create different configurations of the same part. Example from the part above:
Configuration 1: Full part, no suppressions.
Configuration 2: Part with every feature except the 2300 holes suppressed
Configuration 3: Part with every feature except the 90 grooves suppressed.
Then create an assembly and add the part 3 times to it (fixing all 3 to the origin so that they are perfectly overlaid).
Set instance 1 to config 1
Set instance 2 to config 2
Set instance 3 to config 3
Then create a drawing of it and hide instance 1, change instance 2 to whatever layer you want and change instance 3 to a different layer.
The only issue would be that you would have hidden lines where portions of instance 2 overlaid instance 3 and whatnot.