Inventor General

Reply
Valued Contributor
gazadder
Posts: 51
Registered: ‎05-11-2007
Message 1 of 2 (262 Views)
Accepted Solution

Ilogic Save drawing as inventor dwg

262 Views, 1 Replies
04-24-2012 08:35 AM

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)

 

Valued Contributor
gazadder
Posts: 51
Registered: ‎05-11-2007
Message 2 of 2 (259 Views)

Re: Ilogic Save drawing as inventor dwg

04-24-2012 08:49 AM 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)

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube