8 Replies Latest reply on Apr 21, 2017 10:08 AM by Peter De Vlieger

    viewing sketch buried in an ASM in DRW

    Peter De Vlieger

      So here's the deal.

      We have parts that have a point which we need for dimensioning purposes.

      To clarify, it's the 'corner' point inside an 45° elbow where the two axis of each leg meet.

      These parts are used in Routing.

      We leave the sketch viewable so that we can see and select that point in the ASM.

       

      Now when we make a drawing it automatically set all the sketches , including the points, in hidden mode.

      There for no matter what we do the only one way to see those points is to put each and every necessary point or sketch in SHOW.

      Which can be a very big hassle if there's lots of those about.

       

      So here's the question. Does anyone know of a macro or a way or can make a macro that will put any and all sketches of parts which are used in a sub-asm that are part of a TOP ASM  of which a DRW is being made in SHOW mode instead of being hidden?

        • Re: viewing sketch buried in an ASM in DRW
          Deepak Gupta

          I remember seeing a macro to show or hide all sketches in the drawings or views, could not recall where. I'll keep looking and post back if found.

          • Re: viewing sketch buried in an ASM in DRW
            Dan Pihlaja

            You can show or hide individual sketches in the drawing per view very easily.  Maybe this is all you need.

             

            Here's my part:

             

            The sketches are now HIDDEN at the part level:

             

            Now, at the drawing level, just expand the tree for the view that you want to show the sketch in and RMB on it and select "show" or "hide" as required.

              • Re: viewing sketch buried in an ASM in DRW
                Peter De Vlieger

                Dan,

                 

                Sure but the point is that one has to do that one sketch at a time.

                 

                One can also use the filter mode in the feature manager to filter all the wanted sketches but one can't multiple select the result to activate them all in one go. So if one has to hunt down each and every sketch one by one .... it doesn't help proceedings considering that they are buried way deeper then in your example. As said, it's a part that is used several times in multiple ASM's in an ASM in an ASM.

                  • Re: viewing sketch buried in an ASM in DRW
                    Bill Toft

                    Here is an idea: As the last feature of each part, create a 3D sketch and Convert all those corner points from the previous features. I suggest 3D because this one sketch can have points from sketches on different planes. You can keep this sketch visible. Or, if you hide it, then only one sketch (in a known location) needs to manually be made visible in the drawing.

                    And, if you have a standard name for this sketch, then creating a macro to make it visible in drawings will be simpler.

                • Re: viewing sketch buried in an ASM in DRW
                  Peter De Vlieger

                  Now I've got access to solidworks again and have been abel to experiment I've noticed that if the sketch in questeion of the part(s) in question is in viewable mode then this will translate it being vieawable in all ASM's that it's used in no matter how deep in is buried in sub-ASM's as along as the 'vieiw sketches' mode is on. When making a new DRW and again activating that mode it will bring up the needed sketches.

                   

                  The only annoying thing is that in previous made drawings it still won't show the sketches no matter what I try unless I change the mode of the sketch of the part in each and every sub-ASM. At least I've found a way to avoid the problem in the future.

                   

                  Thank you those that pitched in.

                    • Re: viewing sketch buried in an ASM in DRW
                      Deepak Gupta

                      Peter De Vlieger wrote:

                      The only annoying thing is that in previous made drawings it still won't show the sketches no matter what I try unless I change the mode of the sketch of the part in each and every sub-ASM. At least I've found a way to avoid the problem in the future.

                      For those drawings, right click on the view and select reset sketch visibility. This will set to behave like they're in model i.e. if they are shown in model, then they would show up in drawing also (provided show sketches is selected under hide/show)

                       

                        • Re: viewing sketch buried in an ASM in DRW
                          Peter De Vlieger

                          I almost started to think that you, Deepak, were wrong because I did as you said and checked it all and it still didn't show the sketches.

                          However knowing that The Deepak Gupta surely couldn't be wrong I rechecked everything ... alas still no joy.

                           

                          Then I opened the actual ASM to check that it was actually showing the sketches and it was. With sorrow I was about to post a message about how Deepak struck out but then I took one more look at the DRW and because of opening the ASM and having done as Deepak had instructed beforehand.... all was as he had predicted.

                           

                          The mighty Deepak strikes again.

                           

                           

                          As always, thank you kindly for sharing your wealth of knowledge.