Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
josiah_pekary
1030 Views, 3 Replies

iLogic SaveAs Autocad DWG only one sheet

I would like to know what the illogic code is to save an inventor drawing as an AutoCAD .dwg. However I only want to save the one sheet I specify. The current code I have below will save all the sheets, I want to specify which sheet it saves.

 

Version:1.0 StartHTML:00000145 EndHTML:00002174 StartFragment:00000294 EndFragment:00002142 StartSelection:00000294 EndSelection:00000294SyntaxEditor Code Snippet

Dim doc As DrawingDocument
doc = ThisApplication.ActiveDocument
doc.Sheets.Item("1202_GLASS PRINT:30").Activate

ThisDoc.Document.SaveAs("H:\EngCustomProducts\CustomGlass\" & Parameter("1202-GateASM.iam.JobNo") & "-MG12CF.dwg" , True)

 

Tags (1)