Got a minute? We appreciate your feedback:

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

Fullpath on Mac OS 10.5 for GDL TEXT Addon

Joachim Suehlo
Advisor
Can anybody tell me the correct syntax of the fullpath keyword for MAC OS 10.5 for the GDL DATA and TEXT ADDON (as I am new on MAC):
"Users/joe/Documents/Bauten/GDL/name.txt"
does not work.
Joachim Suehlo . AC12-27 . MAC OSX 13.5 . WIN11
GDL object creation: b-prisma.de | the MVO driven zone stamp: flexi-zone-stamp
2 REPLIES 2

Karl Ottenstein
Moderator
Joachim wrote:
Can anybody tell me the correct syntax of the fullpath keyword for MAC OS 10.5 for the GDL DATA and TEXT ADDON (as I am new on MAC):
"Users/joe/Documents/Bauten/GDL/name.txt"
does not work.
I have not experimented to see what path formats the add-on wants to see, but the Mac uses at least two formats. The one you show above is a Posix/Unix one - but is missing the initial "/" to indicate that Users is a root folder of the active/boot drive. (There is a unix way to address other disk drives, too.)

There is also this type of path:

Macintosh HD:Users:joe:Documents:Bauten:GDL:name.txt

where "Macintosh HD" is the name of the drive that you are referencing.

I've seen some kinds of combinations of the two.

No experience here - but you might try either the extra "/" or the ":" method and see if one works?

Cheers,
Karl

PS here is another illustration from the AppleScript help file:
POSIX path of file "HD:Users:me:Documents:Welcome.txt"
-- result: "/Users/me/Documents/Welcome.txt"
PPS The syntax used in the Options > Work Enironment > Special Folders is most likely what the GDL add-on uses - and that is the Mac-style ":" path. (I find this really annoying because it forces your hard drive name to be part of the path - and if you change the disk name, the paths no longer work...a problem if you clone your OS onto multiple partitions: stuff will not work correctly on the clone as there is no concept of 'active drive', only the hard-coded disk name.)
One of the forum moderators
AC 27 USA and earlier   •   macOS Ventura 13.6.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB

Joachim Suehlo
Advisor
Thanks Karl,
Macintosh HD:Users:joe:Documents:Bauten:GDL:name.txt 
works well and the syntax of the special folder correspondents with it.
Joachim Suehlo . AC12-27 . MAC OSX 13.5 . WIN11
GDL object creation: b-prisma.de | the MVO driven zone stamp: flexi-zone-stamp

Start a new conversation!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!