Hello
I have a problem for code files in inventor, my intention is codify this files whit a personal code name.
I need to launch the "SAVE AS" changing the file name that I need, with the possibility of modifying it.
ThisApplication.CommandManager.ControlDefinitions.Item ("AppFileNewCmd"). Execute
Works smoothly and launches the open document window, but
ThisApplication.CommandManager.ControlDefinitions.Item ("AppFileSaveAsCmd"). Execute
does nothing, either fails. At the same time would need to know how to rename the file to display.
Thanks, very much
Hi,
Which version of Inventor are you using? The following code works fine on my side under 2014:
Public Sub ExecuteCommand() ThisApplication.CommandManager.ControlDefinitions.item("AppFileSaveAsCmd").Execute End Sub
Take a look at "FileUIEvents.OnFileSaveAsDialog" it provides a way to customize the proposed filename when SaveAs dialog pops up, if I understand correcly your question.
Regards,
Philippe.
Hello Philipe
I'm using inventor 20013 in my computer. I solve the "save as" question. Thanks
But i have another question. Please , do you know if i can't modify the image of icons in parts and assemblies??
I know to change the icon who appears up of tool bar in part and assembly screen , but i don't know change the general icon.
I'm not sure which icon you are talking about, is it an icon you see in Inventor or you mean the icon of the file system?
I don't know of a way to change native icons in general, that's not something that developers want usually to customize.
Regards,
Philippe.