Design forum
cancel
Showing results for 
Search instead for 
Did you mean: 

object - plumbing point for basin

tomyg
Participant

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. 😁

6 REPLIES 6

Barry Kelly
Moderator

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.


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

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. 

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.


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Rajesh Patil
Booster

Any possibility to elaborate this with screenshots? 

Rajesh Patil
AC 09-25 | INT | WIN10 64
Dell Inspiron 7591, Core i9, 9880H 2.30GHz, 16.0GB, NVidia GeForce GTX1650, 4.0GB

tomyg want the basin to show differently on the home storey and the storey below.

Something like this.

 

BarryKelly_0-1631684825965.png

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.

 

BarryKelly_1-1631685287647.png

Barry.


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

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.

Didn't find the answer? Start a new discussion

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!