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

Joined multiple mass

  • Thread starter Thread starter Ironman
  • Start date Start date

Ironman

Guest
Good morning.
I have a macro that isolates me certain parts within a set, and a second macro that exports me the result in stl format, I would like to join them so that the second leaves once finished the first.
Would you kindly tell me how I could do that? I am not very practical of vba...
Thank you.

sent by my sm-g930f using tapatalk
 
solutions:
1 - merge them into a single macro (not seeing the code you need to see how they are structured), I don't think there are any problems
2 - at the end of the code of the first write a line that launches the second macro, adapting the example below (see manual bees):

dim runmacroerror as long
boolstatus = swapp.runmacro2("c:\ test\ runmacrosub.swp," "runmacrosub1," "main," swrunmacrounloadafterrun, runmacroerror)
 
Thank you.
do I have to put it immediately before the end sub command of the first macro?
 
Otherwise he comes out before reading it....it would actually make a mistake he knows immediately.
 

Forum statistics

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

Members online

No members online now.
Back
Top