Current Project

Current Project

Anonymous
Not applicable
347 Views
1 Reply
Message 1 of 2

Current Project

Anonymous
Not applicable
Where is the "Current Project" located? I've looked through the registry
but only found some dialog settings for directories. I've decided to "roll"
my own modeless "Construct Attach" dialog and need to know the current
project to fill the tree control with constructs and elements.

Any help??

Thanxs,
jb

P.S. this is due to the serious limitations of "dragging & dropping" from
the PM: no Layer control, no checking for previously inserted xrefs, etc.
If I can get this working I'll make it available to all.
0 Likes
348 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Found it:

(defun jb:ReturnProjectDir( / )
(vl-filename-directory
(vl-registry-read
(strcat "HKEY_CURRENT_USER\\"
(vlax-product-key)
"\\Recent Project List\\")"Project1")))

So until ADT fixes these issues I'll post this little utility to the CF NG -
stay tuned.
0 Likes