GDL
About building parametric objects with GDL.

Can gdl know where you are? Can you tell if it is inside the embedded library or c:\.. Path?

LeeJaeYoung
Virtuoso

Can gdl know where you are?
Can you tell if it is inside the embedded library or c:\.. Path?

AC27 on window 11
3 REPLIES 3
Barry Kelly
Moderator

I may be wrong, but I don't think you can find that out in GDL.

But it shouldn't matter where the object is, if it is in a loaded library it will work (the embedded library is always loaded in a project where as other libraries are optional).

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
LeeJaeYoung
Virtuoso

What I want to know is the question I asked because I was wondering if there is a way for the gdl file to know where it is.
It worked when a certain gdl file was in the embeded libarary, but it didn't work when I saved it as a file, so I searched for it thinking that I could find out its location, but I couldn't find it, so this is a question. ^^

AC27 on window 11

A GDL file doesn't need to know where it is.

It will only work if it is in a loaded library.

So if you save that file as an external file, and then load that file as part of an external library, it will work just the same as if it was in the embedded library.

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11