×
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 - turn off warning & notification stuff

macro - turn off warning & notification stuff

macro - turn off warning & notification stuff

(OP)
Is there a way to temporarilly turn off all rebuild notifications and such?  There was a way to do this in autocad, but all commands I have found (such as SwConst.swFeatureManagerDisplayNoWarnings) in the Solidworks stuff don't appear to do anything - don't stop the rebuild notifications and such.

Any help would be appreciated.

Thanks

John

RE: macro - turn off warning & notification stuff

Which SW version are you using?

Assuming you want to do this to multiple machines, why use a macro? Set up one machine as required, and then copy the settings to the others.

cheers

RE: macro - turn off warning & notification stuff

On a similar subject. The one warnign pop up box I want to remove is the one that says "you are trying to change a dimension that is controlled by a design table". That dimension pops up in 2008 now whenever i just move a dimension.

I can see that message popping up if i double click to actually change the dimension, but just moving it out of the way every time I change zoom is extremely annoying.

RE: macro - turn off warning & notification stuff

Jarery2000,

When design tables are created or edited you have the option of changing the setting for warnings on dimensions driven by the design table.

The reason that the dimension shows up when moving the Dimension might be that you have Instant3d turned on. Try toggling it off and see if the problem still appears.

Michael

RE: macro - turn off warning & notification stuff

(OP)
I didn't explain this.  The macro basically takes a series of sub assys and their associated parts and, according to what is entered in a Excel spread sheet, builds a new assy automatically.  Another macor then copies, renames most of the parts and assemblies into another directory, deletes suppressed parts, and other chores.  Its not fully debugged, but it works.  However, one pain is the notification screens that pop up and really slow down the execution.  There ought to be a way to turn all this off and turn it back on when the sub routine ends.

Thanks

John

RE: macro - turn off warning & notification stuff

In the warning message that appears, there is a Do not show this message again option in the bottom LH corner.

cheers

RE: macro - turn off warning & notification stuff

In regards to my problem of the pop-up warning about "you are trying to change a dimension controlled by a design table"

-there is no checkbox on that warning to not show in the future
-the design table is set to allow changed not block block them
-the design table is set to not show warnings

Still happens. On EVERY dimension when i so much as move them.
Make an assembly, create some skeleton sketches, create a design table with all those dimension sin it. Close a table then click on any of your skeleton sketches so the dims show, move a dim, enjoy the wonders of annoying warnings.

As to the original poster and turning off messages, rebuild messages can be turned off from options. And sorry for half hijackign your thread :)

RE: macro - turn off warning & notification stuff

As fcsuper said...what is the function call that is displaying the message?

ModelDoc.Parameter.SystemValue
-->I don't think it's possible to turn of messages for this call.

Dimension.SetSystemValue3
-->I don't think it's possible to turn of messages for this call.

Now that I think about it, maybe it is calls for things like File Save/Open/Close that allow you to by-pass the error messages?

As Jarery2000 said, you can turn off a lot of the rebuild messages, but I don't know if the one you're referring to is covered under that umbrella or not. I'd probably check that first tho.

...or
A work-around for this that is probably not what you want to hear, but it absolutley has worked 100% of the time for us (for years) is a program called "Push the Freak'In Button". See:
http://www.ptfbpro.com/index.shtml

It is easy to set up and will do exactly what you're looking for.

Ken

RE: macro - turn off warning & notification stuff

(OP)
Knew about the "don't bother me again" box, it helps but its doesn't help make the macro fast and idiotproof.

I have searched help files - notify and such switches don't appear to do anything.  

The real issue is the rebuild notification.  When you rename parts files and save them somewhere else, it wants to rebuild even if you have a rebuild command in the code - activating the assembly, as near as I can gather, generates this and you cannot rebuild till you activate.

Thanks

John

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