Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic save as command

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
2405 Views, 4 Replies

iLogic save as command

Hello,

 

I want a part automatically to be "saved as" in my workspace.

there is the command

ThisDoc.Document.SaveAs(NewFileNameAndExtension , True)

in the browser of iLogic but I don't know how to use it.

 

I tried ThisDoc.Document.SaveAs("partname.iam", True)

but that's couases a error.

 

thanks for help

4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

I should get more specific...

 

I want to open the file from a library and after editing save automatically to the workspace.

is that possible?

Message 3 of 5
rjay75
in reply to: Anonymous

You could try

 

ThisDoc.Document.SaveAs(ThisDoc.WorkspacePath() & "partname.iam", True)

Message 4 of 5
DeerSpotter
in reply to: rjay75

when you say "partname" does that automatically call up the name of the project?

Image and video hosting by TinyPic
..........................................................................................................................
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
..........................................................................................................................


See My LinkedIn Profile
Message 5 of 5
mrattray
in reply to: DeerSpotter

"partname" will name the file "partname". ThisDoc.WorkspacePath() is what is calling up the filepath to the root of the current workspace.
Mike (not Matt) Rattray

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report