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

Assign random materials to Archicad model

zofa groningen
Newcomer
In an Archicad 24 model with a pattern of 3D bricks I want to assign 4 materials spread randomly over the bricks (about 500 bricks, modeled with the wall tool).

Is there a way in Grasshopper to connect (import) a complete AC 3D model and just assign the materials without generating the whole model again in Grasshopper?

I am familiar with connecting AC to GH.
Hans Overdiep • AC 10 - 24 • MacOS 10.15.6 • IMac 2020 10 Core i9 • 64 GB • 16 GB Radeon Pro 5700 XT
3 REPLIES 3

Laszlo Nagy
Community Admin
Community Admin
You could randomly overwrite the side and edge Surfaces of Walls to achieve this result.
The main problem is that The Archicad-Grasshopper Connection cannot modify elements already existing in Archicad. It can only create new elements.
If this is about 500 elements, I would say it is faster to individually select elements (maybe an Elevation Viewpoint is best to do it in), set the Surface overrides, and achieve the result that way.
....................................................................................................
Laszlo Nagy, Lead Moderator, Community Admin
Get Archicad Tips at https://twitter.com/laszlonagy
AMD Ryzen 1700X CPU, 48 GB RAM, NVidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), WIN10 PRO ENG, AC20-AC25
Loving Archicad since 1995

zofa groningen
Newcomer
I used the "Deconstruct Wall" component to get the curves of the walls in the AC model (they are in Layer A). These curves are the input for the "Wall" design component. In "Settings" component I assigned another layer (Layer B) for the walls and I found a way to spread the 4 materials randomly over the new walls.

This works .... but .... something strange happens ....

The walls from Layer A which I assigned to get the curves are being deleted in AC (only when synchronizing of the "Wall" design component is true). What I am doing wrong?
Hans Overdiep • AC 10 - 24 • MacOS 10.15.6 • IMac 2020 10 Core i9 • 64 GB • 16 GB Radeon Pro 5700 XT

Laszlo Nagy
Community Admin
Community Admin
Could you post a few screenshots about how it looks in both AC ad GH, the GH network that achieves this?
....................................................................................................
Laszlo Nagy, Lead Moderator, Community Admin
Get Archicad Tips at https://twitter.com/laszlonagy
AMD Ryzen 1700X CPU, 48 GB RAM, NVidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), WIN10 PRO ENG, AC20-AC25
Loving Archicad since 1995

Didn't find the answer? Start a new discussion

Labels

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!