×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

macro failure

macro failure

macro failure

(OP)
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

RE: macro failure

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.

RE: macro failure

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources