Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

GDL FILE MANAGER I/O ADD-ON-format for PC filepath Parameter

Anonymous
Not applicable
I'm trying to get a file list from a folder.
topFolder = open( "FileMan", "MyFavouriteFolder", "files, dialog" )

the manual gives an example of:
folder = OPEN( "FileMan", "c:\\\
opens the root directory of the C drive (on a PC) for file-scanning.

that does not work, is there something else I should include in the code?

The dialog command works, but i cant specify the path as a parameter.
I need a parameter(preferably) that I can replace the "MyFavouriteFolder" with.

The dialog command works, but seems to be machine specific.
so if i open the lib part on another computer it asks to search again,
not good when it is needed for an office of 30+ people, on 50+ projects.

Windows 7 64 bit
Archicad 12-15 (about to upgrade to 16...wait 17 just anounced)
3 REPLIES 3
This addon is unfortunately buggy...
The effects are predictable(not quite sure but almost) if the path is typed in, or name typed in (file in library).
If using dialog there is a common problem with relinking to another file...
I hope someone will take care about...

The 3rd party developers made their own versions of the plug not without the reason 😜

Best Regards,
Piotr
Jochen Suehlo
Moderator
Another example you find here:

http://www.selfgdl.de/5_addon/filemanager/uebersicht.php
Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
Anonymous
Not applicable
My Problem is this...

I can only get it to work with the dialog command.

If I could type the path directly into the code I would
(2nd best option to a parameter)

Best option is a typeable parameter

What is the format for the path on a PC?

the "C:\\\" path does not work for me on 32bit XP, 64bit Win7
archicad 12 to 15

The other option is something I have missed in the required code.

Thanks,
Allan


ARRRRRRGGGGGGGGGGGG

worked it out,
the path has to be to a folder in a loaded library....
now it all works...

good little script when you work that out....