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
Any help would be appreciated.
Thanks
John






RE: macro - turn off warning & notification stuff
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.
RE: macro - turn off warning & notification stuff
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
That would be annoying. Ouch. Is this happening on every part and at the assembly level?
Matt Lorono
CAD Engineer/ECN Analyst
Silicon Valley, CA
Lorono's SolidWorks Resources
Co-moderator of Solidworks Yahoo! Group
and Mechnical.Engineering Yahoo! Group
RE: macro - turn off warning & notification stuff
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
Thanks
John
RE: macro - turn off warning & notification stuff
RE: macro - turn off warning & notification stuff
Matt Lorono
CAD Engineer/ECN Analyst
Silicon Valley, CA
Lorono's SolidWorks Resources
Co-moderator of Solidworks Yahoo! Group
and Mechnical.Engineering Yahoo! Group
RE: macro - turn off warning & notification stuff
-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
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
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
RE: macro - turn off warning & notification stuff
Matt Lorono
CAD Engineer/ECN Analyst
Silicon Valley, CA
Lorono's SolidWorks Resources
Co-moderator of Solidworks Yahoo! Group
and Mechnical.Engineering Yahoo! Group