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

Custom Cabinet Doors - not like custom door leaves?

Anonymous
Not applicable
I am trying to create a custom door style for kitchen cabinets. The save custom component command does not give me the option, at least that I can tell. In the cab object settings, under door, you can choose custom then it asks for the name. If I put in a random name, I get the error "can't find macro: <custom name> at line 595 of the script of file fa_cabdoortyp.gsm" I assume that means the only way to add a door style is to modify the script but I am hoping there is an easy way, like with a door leaf. If not, does anyone have any tips on the best way to modify the script?

Thanks, matt
3 REPLIES 3
Gerald Hoffman
Advocate
Matt,

Not sure which library you are using but you will probably have to create a custom door object which you will save with a name of your choice. This custom door panel will have to be put into the same folder as the other panels which are called by the macro. You then type in the exact name you gave the panel and it should work.

Some 3rd party libraries ask you to save the door panels as objects (.gsm) not doors so you will have to figure that out. It may also be in the help about the library you are using. Hope this gets you started.

Cheers,
Gerald Hoffman
“The simplification of anything is always sensational” GKC
Archicad 4.55 - 27-6000 USA
2019 MacBook Pro-macOS 15.0 (64GB w/ AMD Radeon Pro 5600M GPU)
PatriciaLe_o
Participant
I'm also trying to create a custom door to my kitchen cabinets but I just cant make them work. I already tried making the door panels as door and objects. The thing is that the custom door is like un-selectable here... Any clue? Thanks.
Patricia Leão

AC21 INT Full
MacOSHighSierra
__archiben
Booster
all building elements are saved as components within a hierarchical class/sub-class system.

saving a custom component as a 'door panel' only makes that object available to parent components that use the 'door panel' sub class within themselves. your problem stems from this:
if gs_door_type=`Custom Panel` then

dim gs_pt[]

call "Object_Panel_Collection" parameters returned_parameters gs_pt

values "gs_cust_p" gs_pt

endif
you can change the subtype of your custom component from Model Element>Custom Component Template>"Custom Door Panel" to Model Element>Custom Comp Collections>"Object_Panel_Collection" . . .

however! just doing that may not solve your problem: the parent cabinet object will be looking to pass certain parameters to its sibling - the cabinet door component. if those parameters aren't present you may end up with even more errors.

to give it a go, open your saved door panel component:
- File>Objects & Libraries>Open Object by Subtype...

("Open Object by Subtype..." is not a command that is present by default in the work environment. you will first have to add this to your menus to be able to use it)

then navigate through the hierarchy to Model Element>Custom Component Template>"Custom Door Panel"

within the 'custom door panel' subtype you should see your saved custom component. click and choose to open it. at the top of the opened object you will see a 'Select Subtype' button. change the object's subtype to "Object_Panel_Collection"

it will now be available in the 'Custom Panel Name' field. but as i said, whether it will really work or not is another story . . .

(long-winded and complicated. i hope i explained it clearly enough though . . .)

~/archiben
b e n f r o s t
b f [a t ] p l a n b a r c h i t e c t u r e [d o t] n z
archicad | sketchup! | coffeecup