09-26-2023
12:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
09-26-2023
12:33 PM
@WCrihfield No worries, I'm glad you made that other post because it will simplify my code a bit more with the switch extension function. I was not aware of that and as you can see below, I was working a lot harder than I was needing to. Thank for your help.
'[Gets drawing file name from assembly/part filename FullFileName = oAssyDoc.FullFileName 'strips path FileName = Right(FullFileName, Len(FullFileName) -InStrRev(FullFileName, "\")) 'strips extension Name = Left(FileName, Len(FileName) -4) 'adds drawing path and extension DrawingFileName = DrawingPath & Name & ".idw" ']