In the example, there is also a Boolean type parameter in the libpart to enable/disable custom solution ( “bCustomLeg”). Open the library part you want to associate custom parts with.Ī String type parameter is needed to store the custom library part’s name ( “customLegName”).
Parameters ac_custom_component_type_name = `Table Leg`Ĭheck that the information changes in the template libpart’s parameter list, too. Change the data stored in the template fileĬhange these 3 lines of the parameter script using the current data from your library (Custom Table Leg.gsm in example): parameters coll_name= "Knob_Collection.gsm" Save them with custom names into your library folder, then load the folder into ARCHICAD. To open them, get the Window/Toolbars/Edit GDL Library Parts toolbar, and use “ Open object by Subtype…” menu:īrowse the subtype tree and open the above 2 objects: The example was created using the “Custom Knob” as a template file and “Knob_collection” as a Collection element. The easiest way in ARCHICAD is to open existing elements, and save them with “ Save as…” into your custom library folder. Create your Custom Component Template and Custom Component Collection elements. you won’t need to change your libparts if ARCHICAD’s custom libparts changeĬreating a custom component 1.your lcf library can be independent from the official libraries.Why is it better to create your own custom components? In these cases you can create your own custom components, besides of using the ones from ARCHICAD Library. There are some situations when you would like to add some custom components to your libparts. Example objects for this post can be downloaded here.