Alan Lowbands
Aerospace
Hi gents,
Can anyone tell me how I get this little bit of code to not return a Power input message, unavailable command: Update Current Sheet
everytime it meets a sheet the doesn't need an update.
Just using it to update and save all the open drawings.
best regards
Alan
************************************************
Sub CATMain()
Do
CATIA.StartCommand "Update Current Sheet"
CATIA.ActiveDocument.Save()
CATIA.ActiveDocument.Close()
Loop
END SUB
**************************************************
Can anyone tell me how I get this little bit of code to not return a Power input message, unavailable command: Update Current Sheet
everytime it meets a sheet the doesn't need an update.
Just using it to update and save all the open drawings.
best regards
Alan
************************************************
Sub CATMain()
Do
CATIA.StartCommand "Update Current Sheet"
CATIA.ActiveDocument.Save()
CATIA.ActiveDocument.Close()
Loop
END SUB
**************************************************