Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

macro failure

Status
Not open for further replies.

connery

Mechanical
Oct 14, 2003
19
0
0
JP
Hi everybody,
I have tried to make a macro right from starting a component

i.e.file,new,part,and so on but it shows error at the time

of execution.Even when I started making in part template

it was showing error for palette features.

why it is so?what can be done in both the cases?

Thanks!

Connery
 
Replies continue below

Recommended for you

Macros only recognize certain commands in SolidWorks. Most system-level input is ignored. (For example, I tried to write a macro to enter a custom property, but it didn't work; I had to use API instead.) Try going through the macro after you save it and make sure it is executing the commands you think it should be.
 
What is the error message?

When you run a macro it will tell you at what line it encounterd an error, and what the error was. Usually it is an undefined variable or unsuported function.

If you can provide more info, I may be able to help you.

Regards,

jevakil@mapdi.com

One nuclear bomb can ruin your whole day.
 
Status
Not open for further replies.
Back
Top