idslk
Alibre Super User
Hello David,
While the "Face" solution also works in a single part (not so much sensful, but compatible...) and has no "timing problems", the "ShowPart" works for assemblies. I think it would be ok to add some lines to prevent a start in a single part:
I have changed the line position of "Win = Windows()" to the top of the script...
Regards
Stefan
that's why i said " a thing for Andy" ...not really sure why this works
While the "Face" solution also works in a single part (not so much sensful, but compatible...) and has no "timing problems", the "ShowPart" works for assemblies. I think it would be ok to add some lines to prevent a start in a single part:
Code:
Win = Windows()
try:
CA=CurrentAssembly()
except:
Win.ErrorDialog('Sorry, this script works only in an assembly','Error')
sys.exit()
I have changed the line position of "Win = Windows()" to the top of the script...
Regards
Stefan