Can I differentiate between save copy as (saving an inventor component as another file & export cad model, to say, STEP (which also uses savecopyas)?
This is in the API by the way and not iLogic.
Dave
Envisage
Save As and Export to CAD format is actually doing the same, so I don't see a direct way you can tell. Any specific reason why you want to catch that from API?
One suggestion would be to substitute the native button by your own ones, so you can tell which one has been invoked, see that post for a sample:
http://adndevblog.typepad.com/manufacturing/2012/07/replacing.html
Regards,
Philippe.
Hi Philippe,
I want to differentiate because of file naming, especially automatic naming like you have in Vault Pro. I have such an app.
If you want to export to a 3rd party cad model like STEP, you probably want to give it the same name as the original model
BUT
If you use save copy as, you probably want to give it a new automatic file name.
That is why I wish to differentiate.
Regards
Dave