Saturday, December 2, 2023
Home3D ModelingCreate a Dynamic Floor/ areas routinely? - SketchUp

Create a Dynamic Floor/ areas routinely? – SketchUp


Hello guys,

Only a wild creativeness, i come to some extent perhaps a few of us right here have an concept of what i’m enthusiastic about the thing/or a floor that represents an area/room. What i need to work is a few sort of a dynamic parts I’m undecided or through the use of a ruby code? or attributes or a mixture…by simply typing an space i’ll change then by introducing a relationship between areas it would updates the association of the areas/objects to create a sequence of arrangments for use for making a ground plan idea?..


I feel the idea is fairly cool I truly created one thing very comparable just lately. I don’t program with the ruby console.
I’ll say that it feels to me like there’s nonetheless alot of labor left but to be executed within the planning of SPACES, neglect the carpentry, deal with what the area is like, kind of concept.



1 Like

Some issues to think about when utilizing Dynamic Elements

  1. Create a easy space DC, use a again face coloration say 0020_Red
    add an atrribute “Space”
=facearea("0020_Red")*2.54*2.54/100/100

it will return the again space in sq meters as an alternative of sq inches.

instance 1: primary space (utilizing a renamed coloration)
space.skp (20.8 KB)

When you scale the world, you will need to do a scale definition after which a redraw
When you then edit inside, alter the form in any approach you will need to do a redraw for this components to replace.
To partially overcome this, place a “descaler” contained in the DC, this will also be used as a swatch
instance 2: swatch hooked up
this updates with scaling, however notice nonetheless to redraw if contents altered.
area2.skp (21.2 KB)

  1. A naming system?
    this may occasionally rely on the report.
    if utilizing OCL, the title attribute perhaps the very best
    whereas one can take into account the attribute title if generate report is used

instance 3: utilizing occasion title, coloration
area3-OCL.skp (27.6 KB)

No matter, there’s a disconnect that must be bridged by ruby because the redraw is required in level 1, a hyperlink from an attribute to occasion title or comparable is required.

  1. you need to use a components within the dropdown worth, to reference a degree or object
    area4.skp (45.1 KB)



1 Like

Your perspective has been thought-provoking and has added depth to the dialog. I’ll take time to check this pattern of yours first as this appears superior to my degree. thank u once more

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments