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 drawing as inventor dwg

1 REPLY 1
SOLVED
Reply
Message 1 of 2
gazadder
941 Views, 1 Reply

Ilogic Save drawing as inventor dwg

Hi,

 

Is there a way in an inventor drawing rule to do a "save as" which saves the drawing as an Inventor dwg file rather than an AutoCAD dwg file?

 

The below saves as AutoCAD which is ok but I need the outputted drawing to be linked to the model.

 

I don't want the code to save the entire assembly as this is done further down the line.

 

I also don't want to save the current inventor dwg drawing from which the rule is run as this is just a template drawing.

 

ThisDoc.Document.SaveAs(ThisDoc.Path&"\2D_DRAWINGS\"&iProperties.Value("Custom", "Drawing No.")&" (Rev "&Parameter("BEAUFORT_ARRANGEMENT_3.iam.DRAWING_REVISION_NO")&")"&".DWG", True)

 

1 REPLY 1
Message 2 of 2
gazadder
in reply to: gazadder

Format:HTML Format Version:1.0 StartHTML:     165 EndHTML:     614 StartFragment:     314 EndFragment:     582 StartSelection: 314 EndSelection:     314
SyntaxEditor Code Snippet

ThisDoc.Document.SaveAsInventorDWG(filename)

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

Post to forums  

Autodesk Design & Make Report