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

cos e' una macro?

  • Thread starter Thread starter &Marco&
  • Start date Start date

&Marco&

Guest
hello to all...I would need a little pleasure...I would like to understand what macros are, what they serve and in a program like solidworks in which projects can be used. . .
Let's just say I have a vague idea about it.
I hope that when you are so kind to answer me... thank you!
 
I will not use particularly technical terms but try to explain to you:
in general a macro can be understood as a program that performs certain operations. the easiest way to create a macro (if the program you use allows it) is to record, by doing so, a series of operations of interest and to call them back when you need it.
for example in sw if after drawing your piece you want to apply a certain light, background or similar, you can record a macro in which you do it and then simply throw the macro in the new parts. (Forgive me the stupid example... very stupid). I personally use little macros in sw and more in excel, but it is a speech related to the repetitiveness of the operations that are performed. . .
I hope in some other user for a more detailed explanation. . .
 
thanks for your explanation we say that I have already clarified some ideas...to create the macro it is necessary to use vba or is there another way? . .
 
thanks for your explanation we say that I have already clarified some ideas...to create the macro it is necessary to use vba or is there another way? . .
you can record the operations performed on the video and repeat them to each execution. In this way you can create simple + macros and that do not require any input from the operator.
if you have to make macro + articulated and complex you have to use vba by force.
 
to create a macro you can do in 2 way (programm allowing).
1) using the macro recorder that does nothing but translate into code the operation you decide to do
2) write directly in vba

I in solid works had created a drop-down menu in which I select the grooved profile (1"3/4 - 1"3/8 etc) and once selected I only had to decide how to extrude it. here this could be a possible use.
 
I already understand the concept of macro and also how to create one, now I just have to try... thank you for your answers... hello thank you!
 
excuse the introduction, but is there a description of all the functions to be inserted in a macro? I did c and hope I can help. Thank you.
 
Hi.
I'm going into this discussion because I think you can help me.
I would like to open from a excel sheet a solidworks file, simply clicking on a cell. I would like you to solve my problem with a macro? Thank you!
 

Forum statistics

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

Members online

No members online now.
Back
Top