08-29-2022
06:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
08-29-2022
06:44 AM
If the "C:\Work\" represents workspace path of the active project, you can use this
Dim fullFileName As String = ThisDoc.Document.FullFileName
Dim workspacePath As String = ThisApplication.DesignProjectManager.ActiveDesignProject.WorkspacePath
Dim relativeFileName = fullFileName.Replace(workspacePath, "")
Logger.Debug(relativeFileName)