Anonymous
968 Views, 13 Replies
10-29-2020
11:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-29-2020
11:05 AM
iLogic Rule works on some Sheetmetal Parts but not others....
Hi Everybody,
i have an iLogic Rule that i want to run from a drawing. The rule will open the referenced part, Save it and close it...that simple(code shown below). Problem is, it doesn't work on all parts. Any advise would be greatly appreciated.
Dim doc As DrawingDocument = ThisDoc.Document Dim sheet As Sheet = doc.ActiveSheet Dim view As DrawingView = sheet.DrawingViews.Item(1) Dim refDoc As Document = ThisApplication.Documents.Open(view.ReferencedFile.FullFileName) refDoc.Save() refDoc.Close()