We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2021-09-15 03:00 AM - last edited on 2023-05-24 12:44 PM by Rubia Torres
Hey folks,
Trying to create some new basin object that have the plumbing point attached. Trying to get the plumbing point to display on one level below, so if the basin moves than the plumbing point in the slab plan will go with it.
At the moment they are modeled separatly and grouped. I've tried to save this out as an object but it hasn't worked. Will this have to be scripted into the object?
any help / links or advice would be greatly appricated. 😁
2021-09-15 04:40 AM
How good are your GDL scripting skills?
You would need to script your object so it is sensitive to the storeys.
i.e. so if it is being displayed on a storey that is not the object home storey then it would show only the plumbing connection.
Then you can set the object to show on home storey and one storey down.
It should display the basin on the home storey and the plumbing fixture on the storey down.
Barry.
2021-09-15 05:54 AM
GDL skills are non-existant but i'm thinking it's time to start....
The library part maker addon can't handle this sort of thing? i've had a quick look into that but it's confusing at best.
2021-09-15 06:26 AM
Any possibility to elaborate this with screenshots?
2021-09-15 07:19 AM
It has been a while since I have looked at Library Part Maker.
But I don't think it can handle storey sensitivity.
Someone can correct me if I am wrong.
Barry.
2021-09-15 07:55 AM
tomyg want the basin to show differently on the home storey and the storey below.
Something like this.
I am lazy - I haven't modelled a proper basin.
Here is the code for the 2D script to do the above.
LINE_TYPE "Solid"
if GLOB_CH_STORY_DIST = 0 then !!home storey
RECT2 -0.3, -0.2, 0.3, 0.2
CIRCLE2 0,0,0.02
endif
if GLOB_CH_STORY_DIST < 0 then !!above home storey
LINE2 -0.04, 0, 0.04, 0
LINE2 0, -0.04, 0, 0.04
CIRCLE2 0,0,0.02
endif
Note it will take on the storey line types as set in the Project Preferences unless you turn off the 'Override Object's Line Types' in the object settings.
Barry.
2021-09-15 11:53 PM
MVP Barry, thank you. i'll use this as a base to build on.... should be somewhat easier to figure out from here, thanks so much.