• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

get fast dxf from sheet metal parts

  • Thread starter Thread starter flaminio
  • Start date Start date
try as you say but nothing... here are the attached files. .

Thank you very much.. .
I tried and everything works.
I attach the video I did during the execution and as you can see it goes well.
in the video you will notice that once the axieme open I go to solve the light weight, which is mandatory otherwise it does not recognize the components.

If you did the same thing, I think it's a version problem, you work with 2011?
I tested with the only 2016, I would ask users of the forum at this point, to those who tested the macro, with what version was successful, hoping that it does not depend on that, because in the last versions solidworks has made important changes in the sheet.

Let me know.
Hi.
 

Attachments

I tried and everything works.
I attach the video I did during the execution and as you can see it goes well.
in the video you will notice that once the axieme open I go to solve the light weight, which is mandatory otherwise it does not recognize the components.

If you did the same thing, I think it's a version problem, you work with 2011?
I tested with the only 2016, I would ask users of the forum at this point, to those who tested the macro, with what version was successful, hoping that it does not depend on that, because in the last versions solidworks has made important changes in the sheet.

Let me know.
Hi.
Great. . .

But I see that the macro throws it from the visual basic and not through icon... It has something to do with it.
currently working with 2015 s.p.3...
 
It's because just before I was testing if the macro went out.
definitely does not depend on 2015.
Does it still not work?
 
I tested with the only 2016, I would ask users of the forum at this point, to those who tested the macro, with what version was successful, hoping that it does not depend on that, because in the last versions solidworks has made important changes in the sheet.
Hi.
sw 2016 sp.1 everything ok, it works perfectly ;)
 
What do you mean more or less?
you can certainly improve, but the needs are different from user to user.
 
Lacunous feedback, don't you?
I'd prefer positive comments... , however, as we have said several times a macro is perfect only if made to measure someone, there are a thousand different visions to do the same thing, 1 is happy 99 no.
 
I didn't want to be boring because I repeated several times the many defects I found in the sheet environment that lasted in the years, or even never seen in the previous versions. .
I said more or less just because I couldn't resist not responding with a little irony to the fact that someone thought perfect swx 2016.
However I gladly repeat the problems that come to my mind at the moment:

slow file opening compared to 2014, even if I have a file part on the desktop and swx is not open if I click on the solidworks file starts but it does not charge me the file, I have to go it to select it later)
If I create a model with flanges whose odds are connected with each other through equations and then I change some share very often happens to find me in the feature manager errors in all the fanges, as if you can not update independently. .
I have to get in and out of the function of each flange after which they update without changing anything. .

If I create a solid, emptied, I apply the lacerations and to care I forget one, after use the function "insert folds" rightly gives me the error that can not spread some parts, I click on cancel, I add the laceration that was missing.. but ahime is too late.. tells me that I want to convert in sheet metal an existing sheet.. and there is no way to make him understand that it is a solid.. if not close the file and draw it from head.. ( error already present in old versions and never settled)

Then it goes well.. I don't get any more. .
 
I didn't want to be boring because I repeated several times the many defects I found in the sheet environment that lasted in the years, or even never seen in the previous versions. .
I said more or less just because I couldn't resist not responding with a little irony to the fact that someone thought perfect swx 2016.
However I gladly repeat the problems that come to my mind at the moment:

slow file opening compared to 2014, even if I have a file part on the desktop and swx is not open if I click on the solidworks file starts but it does not charge me the file, I have to go it to select it later)
If I create a model with flanges whose odds are connected with each other through equations and then I change some share very often happens to find me in the feature manager errors in all the fanges, as if you can not update independently. .
I have to enter and exit the function of each flange after which they update. .

If I create a solid, emptied, I hang of the lacerations and to care I forget one, after use the function 2i insert fold2 rightly gives me the error that can not spread some parts, I click on cancel, I add the laceration that was missing.. but ahime is too late.. tells me that I want to convert in sheet metal an existing sheet.. and there is no way to make him understand that it is a solid.. if not close the file and draw it from head.. ( error already present in old versions and never settled)

Then it goes well.. I don't get any more. .
look that the Alpine76 referred to the macro of jenuary... .
 
I was confused with the previous discussion I had participated in, that on the problems of swx 2016.. Sorry
 
I tried the macro on solidworks 2016 works great!!!!!!!!!!!!!!!! I wish you a hundred years of health! ! ! ! !
I found a small "bug", if in the axieme there is a part with only the sketch does not work. I solved by suspending the part and raising and everything works. the macro let me start from the macro run button that is in the "macro" command bar, I didn't create a button on purpose. Please, if you have time, confirm that the problem is the part with only the sketch?
 
I did a test, and I confirm that where there are no solids inside by mistake!!! !
I upgraded the macro that I attach.

Hi.

I tried the macro on solidworks 2016 works great!!!!!!!!!!!!!!!! I wish you a hundred years of health! ! ! ! !
I found a small "bug", if in the axieme there is a part with only the sketch does not work. I solved by suspending the part and raising and everything works. the macro let me start from the macro run button that is in the "macro" command bar, I didn't create a button on purpose. Please, if you have time, confirm that the problem is the part with only the sketch?
 

Attachments

a couple of questions:wink: Does the macro also act on subsets?
is it difficult to blow away the hidden parts and not just the suspended components?

Hi.
 
it also acts on under assemblies,
the variant of the hidden parts can be done, as soon as I can the living room.
a couple of questions:wink: Does the macro also act on subsets?
is it difficult to blow away the hidden parts and not just the suspended components?

Hi.
 
I attach the modified macro that skips the hidden components.
Let me hope if it works well, I did some yests with few components and it seems to work.
 

Attachments

The macro doesn't seem to work. I noticed this:
1- if there are hidden parts in the axieme, she does not, but if I hide the subaxieme together, I think the macro opens it and then rightly finding the parts all visible export.
 
attaches a sort of axiemino with random plates that simulates the case of error, so I can make concrete evidence.
 
Sorry I'm late.
thanks to your macro I came out a tide of work!!! !
attached a test set with various cases.
practically he jumps the hidden parts in the assemblies, but if hid a subaxieme (assieme a) the macro opens cmq the assemblies and finds the visible parts and exports them.
If instead I hide the parts in the subaxieme c the macro does not.View attachment Test.rar
 
I did some tests and honestly I didn't understand why the problem was.
in reality the problem does not exist, i.e. if I launch the macro with the open axieme without touching anything,
What you wrote to me happens.
If, instead, once the axieme is opened, I show and hide a part of the sub along with (e.g. a3), even without saving, and then I launch the macro, everything goes to good end.
It almost seems that the axieme is "in the ball" and "get back" once you show something.

I've created a video that documents the writing, you do the same test and tell me if the same thing happens.

however it does not depend on the macro.
 

Attachments

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top