Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

macro - turn off warning & notification stuff

Status
Not open for further replies.

jefrado

Mechanical
Jun 9, 2006
44
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
 
Replies continue below

Recommended for you

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]
 
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.
 
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
 
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
 
In the warning message that appears, there is a Do not show this message again option in the bottom LH corner.

[cheers]
 
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 :)
 
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:

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

Ken
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor