Hello,
how do I get access to the variable owner and release ID of the project file ( .ipj ) in such a way that I can display it on a drawing, for example?
I would like to make the variables available via the iProperties.
Many thanks for your support
Andreas
Solved! Go to Solution.
Solved by nstevelmans. Go to Solution.
Hi,
This may be able to help you. It's not recent, but still works on my 2023 version.
https://inventortrenches.blogspot.com/2012/07/ilogic-and-inventor-project-file.html
Hope this will help you. Vincent.
Hi, Try this in a drawing
Dim DesignProject = ThisApplication.DesignProjectManager.ActiveDesignProject Dim oOwner As String = DesignProject.Owner Dim oId As String = DesignProject.ReleaseId iProperties.Value("Custom", "Owner") = oOwner iProperties.Value("Custom", "releaseID") = oId 'MsgBox(oOwner) 'MsgBox(oId)
If a response answers your question, please use ACCEPT SOLUTION to assist other users later.
Also be generous with Likes! Thank you and enjoy!
Can't find what you're looking for? Ask the community or share your knowledge.