Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Michael.Navara
in reply to: eladm

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)