dcl_GetProjects not give all projects ?

Started by stephan_35 · 2009-06-10 18:51 UTC · 4 replies · SMF topic #805

Hello,

As i wrote, i always work with several projects.

I needed use dcl_GetProjects, and respond only 2 projects ....
I loaded them with NewProjectKey...

;#gpe:debug:ReloadOpenDclBoxes is T 
(dcl_Project_Load "boite.projet.odcl" #gpe:debug:ReloadOpenDclBoxes "GPE:LOAD:PRO")


I miss something ?

Thanks
What do you expect (dcl_GetProjects) to return in that case? From your post title, it sounds like you expect more than two, but this is not clear from your post.
Sorry for my poor english, i must improve it ...  ;D

What i tried to explain and understand :
Is it normal to have only two answer with (dcl_GetProjects) order :

(dcl_Project_Load "boite.projet.odcl" #gpe:debug:ReloadOpenDclBoxes "Load1")
(dcl_Project_Load "boite.splash.odcl" #gpe:debug:ReloadOpenDclBoxes "Load2")
(dcl_Project_Load "Project.odcl" #gpe:debug:ReloadOpenDclBoxes "Load3")
(dcl_GetProjects)


("indices" "Load3")


"indices" was an old project loaded when open drawing, whatever i do, these is only 2 "tag" in the list.
"Load1" "Load2" "load3" appeared in the list, succefully replaced by the lasted load.

I know dcl_Project_Load with nil value load project if it's need, but i have to know wich project was loaded by user, so ... i miss something ?

I can't use is_active, because of if boxes was closed ....

This is not really important yet .

Thanks a lot !
Ya mine seams to always return 2 in the list, no matter how many I load.
Seams like a bug..
Yep, it was a bug in (dcl_GetProjects). It's fixed now for Beta 6.