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