Help, Please!
Is there a way to get current project name for Plant 3D project?
In Vanilla AutoCAD there is PROJECTNAME variable, but for Plant 3D project it remains set to empty string.
I need to know the project name to load dot net libraries depend project.
I use LISP to load dot net libs and can I get opened project name during start acaddoc.lsp?
I'm not familiar with how you are calling on the information, but if you notice in Properites > General Settings > Project Details, there is a field for Project Name. If you pull up the Field command, under Project, there is CurrentProject, it displays the field expression as %<\PnID ProjectDetails.General.Project_Name>%
Hope this points you in the proper direction.
Better late than never.
Heres how I get the current project name in MEP
(vl-filename-directory (vl-registry-read (strcat "HKEY_CURRENT_USER\\" (vlax-product-key) "\\Recent Project List\\")"Project1"))