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

Dual IES Light Object

Pato99
Enthusiast
I have been integrating the GS IES Light into some objects, so now I have 2D, 3D and Light all in one object... I was wondering if anyone has made a dual IES Lights with the option to change the direction of each lamp. as per requirements of the image.

Versions 10 to 27
Metabox Prime-X P775DM2-G (Clevo),
GTX 1060 6GB GDDR5 VRAM - G-Sync,
i7-6700K (8M Cache up to 4.2 GHz),
32GB DDR4 2133MHZ,
512GB SATA 3 M.2 SSD,
Win 11 64
4 REPLIES 4
Barry Kelly
Moderator
So you are using 'CALL' to bring the IES light into an existing object?
If so then just call it again for the second light source (ADD and ROT position as necessary).

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
Pato99
Enthusiast
Hmm, no I was bringing in the 3D and 2D script into the Light. I guess I went the wrong way.

I'll try CALL

Thanks!
Versions 10 to 27
Metabox Prime-X P775DM2-G (Clevo),
GTX 1060 6GB GDDR5 VRAM - G-Sync,
i7-6700K (8M Cache up to 4.2 GHz),
32GB DDR4 2133MHZ,
512GB SATA 3 M.2 SSD,
Win 11 64
Barry Kelly
Moderator
You could bring the whole script in but you would need to do that twice if you have two light sources.

But rather than repeating the script you bring it in once and use it as a GOSUB routine (GOSUB for each light source).

Or better still if you are needing it in a lot of objects use CALL to bring it in as a macro.
That way if ever you need to adjust it you can do so to the one macro file and all objects that CALL it will update automatically (a bit like hotlinks).

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
Pato99
Enthusiast
Ah, Great. I imagine it's a lot better for migration also.

Thanks for your help Barry! I'm going to test this out sometime next week, I'll let you know how I go.
Versions 10 to 27
Metabox Prime-X P775DM2-G (Clevo),
GTX 1060 6GB GDDR5 VRAM - G-Sync,
i7-6700K (8M Cache up to 4.2 GHz),
32GB DDR4 2133MHZ,
512GB SATA 3 M.2 SSD,
Win 11 64