Message 1 of 7
Inventor Drawing iLogic to save as model user parameter file name

Not applicable
11-29-2018
08:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
drawing rule:
SyntaxEditor Code Snippet
FilePath = "W:\M&R Plating" If (Not System.IO.Directory.Exists(FilePath)) Then System.IO.Directory.CreateDirectory(FilePath) End If ThisDoc.Document.SaveAs(FilePath & "\" & ThisDoc.FileName(False) & ".pdf", True) ThisDoc.Document.SaveAsInventorDWG(filePath & "\" & ThisDoc.FileName(True), True)
How can I replace ThisDoc.FileName above with the user parameter partNumber from the .ipt file?
Thank you