Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

A parametric array (grid) of holes...

5 ANTWORTEN 5
GELÖST
Antworten
Nachricht 1 von 6
Anonymous
2373 Aufrufe, 5 Antworten

A parametric array (grid) of holes...

Hi,

 

I have a beam of length and would like to create a number n of holes.

 

Let the distance d between the holes be defined as follows:    

 

   d = l / (n + 1)

 

The holes should be positioned at 

 

  1 * d, 2 * d, ..., n * d

 

The whole thing should be parametric:

 

  l            for a variable length of the beam

  n           for a variable number of holes

  s            for a variable diameter defining the holes

 

Any idea how to model something like this?

 

How about a two dimensional grid of holes?

 

I tried all kinds of different strategies - the best until now failed when trying to scale the length of the beam...

 

Thanks for your help,

 

Dietrich

 

  

5 ANTWORTEN 5
Nachricht 2 von 6
ToanDN
als Antwort auf: Anonymous

That sounds like a basic parametric array. Try the attached file.

 

 

Nachricht 3 von 6
Anonymous
als Antwort auf: ToanDN

I am impressed - and humbled :leicht_lächelndes_Gesicht:

 

I tried to hit the "Kudos" button 10 times - unfortunately it refused to work more than once - and I couldn't create a parametric Kudos array either :leicht_lächelndes_Gesicht:  Of course, one way would be to create 9 other forum accounts - or search for 9 other postings written by ToanDN, anyway...

 

Now I only have to understand how you have been able to achieve this...

 

...could I ask you to describe the procedure?

 

I suppose what you did is:

 

  - building the beam

  - adding two reference planes to control the position of the first two holes and controlling them with the parameter d = l / (n + 1)

  - creating the first hole by extrusion

  - making an array by using the first hole and the position of the second hole

  - parametrizing the number n of the array

 

...but when I tried to do so the array would always break when trying to resize the length of the beam: for some reasons the holes would just remain where they are.  When trying the same with the single hole before making the array it would move - but after creating the array it would not anymore...

 

I searched for a way to lock the first and second hole of the array to the reference planes - but couldn't find a way to do so.

 

Any idea what I have been missing?

 

Thank you very much, ToanDN, for your help!

 

Regards,

 

Dietrich 

 

 

Nachricht 4 von 6
ToanDN
als Antwort auf: Anonymous

@Anonymous

 

You are getting very close.  Please see the screencast for steps.

 

p/s:  I did not associate the diameters of the nested void family with the host family in the screencast, but I did it in the family posted earlier.  That's so you can control the size of the hole directly in the host family.

 

 

Nachricht 5 von 6
Anonymous
als Antwort auf: ToanDN

Hi ToanDN,

 

Wow!  You seem to really like helping people!  Thank you very much!

 

The only thing which could be even better would be some dramatic background music in the video :leicht_lächelndes_Gesicht:

 

Unfortunately I will have to leave now - and the next week here in Japan is the "golden week" - holiday! - and I will not be able to enter the office.

 

I have to wait for the 10th to try your solution!  Something to look forward to over all these days - so I will be happy to go back to work after that long break :leicht_lächelndes_Gesicht:  Isn't that wonderful?

 

Anyway, thank you very much again!!!

 

All the best, Dietrich

 

 

 

Nachricht 6 von 6
Anonymous
als Antwort auf: ToanDN

Hi Toan,

 

So I am back from golden week - and tried the process shown in your video:

 

It works perfectly :leicht_lächelndes_Gesicht:

 

Thank you very much again for all the time and effort you put into your answer and the video!

 

All the best, Dietrich

 


PS:

 

Concerning the constraint between the depth of the hole and the thickness of the beam:

 

I had the impression that the only way to constraint them would be to use a type parameter for the depth in the hole family and to bind it explicitly to the thickness parameter of the beam.

 

In your video, however, you used an instance parameter for the depth of the hole without binding it to any parameter in the beam family.

 

Does this mean that it would be necessary to adapt the depth instance parameter manually to the thickness of the beam whenever the latter changes?

 

Or is there some mechanism in face based families which assures this in some automated way?

 

Thanks again, Dietrich

 

 

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report