I like to manually save very frequently. This means every five minutes or so. Most times I save it takes three separate actions, save itself, followed usually by two dialogue boxes requiring confirmation that I should rebuild first and then save referenced parts that may have saved. Three clicks, with inevitable delays between. No real big deal but when I want to save I always confirm the other functions and they are becoming a chore. I can't see anywhere that I can automatically bypass these secondary confirmations. I just want to 'save' once and get on with it! Any ideas?
Thanks Cam, that seems to work quite well. Simple too.
Having said that it seems a bit strange to have to work around it like this. I was expecting someone to put me right, pointing out that I didn't know how to use SWX proerly and I should be doing this, that, or something.
Still, I guess that can still happen............. :-)
-then open the macro with edit macro here is the text
'
****************************************************************************** Dim swApp As Object Dim Part As Object Dim boolstatus As Boolean Dim longstatus As Long, longwarnings As Long Dim FeatureData As Object Dim Feature As Object Dim Component As Object Sub main()
Set swApp = Application.SldWorks
Set Part = swApp.ActiveDoc End Sub
There is nouthing there in the macro, it is a blank template, now before we go into the "its your machine" argument I have made about 100 macros this way and then done some slight editing to tweek things so I know it is not my machine. I have tried several times in different manners i.e. using icons for the actions, using my shortcut keys, and using the menus, all seperately on 3 differing macros and all give the same as above.
So I am sure I am missing something...what? Or can you either cut and paste the text in your maco here or can you send it to me to dissect?
'
****************************************************************************** ' C:\DOCUME~1\Devon\LOCALS~1\Temp\swx3516\Macro1.swb - macro recorded on
07/04/05 by Devon '
****************************************************************************** Dim swApp As Object Dim Part As Object Dim boolstatus As Boolean Dim longstatus As Long, longwarnings As Long Dim FeatureData As Object Dim Feature As Object Dim Component As Object Sub main()
Set swApp = Application.SldWorks
Set Part = swApp.ActiveDoc Part.ShowNamedView2 "*Isometric", 7 Part.ViewZoomtofit2 Part.ForceRebuild Part.Save2 False End Sub
He ,He, rememer the rant on dont tell me its my computer? Maybe it is, seems I cannot run that macro you sent as well as make it? Must be a system setting somewhere?
Anyhow guess I am SOL with this little macro that I could use. Bummer.
Yes the equations are working. I have tried this on other machines and still a no go??? Weird? Did you change any option settings or something in the regestry for your install?
No, I didn't do anything unusual. I was just remembering that anti-virus software can monkey-up VB when installing SW or an SP. Equations that don't work is another symptom of that.
PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.