Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

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

Duplicate Lamp Object

gdford
Advisor
When I do a "save selection" from within the library manager on a "lamp" object it changes into an "Object" and no longer has all of the lamp object parameters. How can duplicate and rename an existing "Lamp" object?
Gary Ford
Self Employed - Modeling, Estimating, Construction
Archicad 12-26
AMD Ryzen 9 5900X 12-Core Processor
3701 Mhz, 12 Core(s), 24 Logical Processor(s)
(RAM) 128 GB
NVIDIA RTX A2000
3 REPLIES 3
David Maudlin
Rockstar
gdford:

To change an Object to a Lamp: open the library part via File > Libraries and Objects > Open Object..., then in the Main Library Part window click on the Select Subtype... button and change the subtype to Model Element > Electrical > Light. This will add the Light parameters to the part, but not the necessary code to the 3D Script (Light command) to be a light source. If you are comfortable with writing GDL, you can add the necessary code. If you are not conversant with GDL, then it will be simpler to keep the part as an Object for the model, and use one of the generic Lamp parts (in the General Light Sources folder) as a light source for the renderings.

You should add a Signature to your Profile (click the Profile button near the top of this page) with your ArchiCAD version and operating system (see mine for an example) for more accurate help in this forum.

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
Laszlo Nagy
Community Admin
Community Admin
Or, open the Lamp Object for editing and use the File\Save As command to save it under a new name.
Then you will have a duplicate object with a different name.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
Anonymous
Not applicable
Thanks for the suggestions. I was wanting the duplicated LAMP object to retain its lighting characteristics. I discovered in the library manager that when you highlight an object there is a button activated to duplicate the object. This seems to work fine for creating a new object based on the original and retaining all the characteristics of the LAMP object. The next issue I have is that when I create a 2D drawing that I want to use as the plain view symbol and place it in the 2D Symbol hook, and I delete everything in the 2D script hook......nothing shows up in plan view. I can do this with any other object and it works fine, but not with a LAMP object. What is different about the LAMP object that having the 2D Script blank it does not then execute what is in the 2D Symbol hook?