How to constraint a wall height to the height of a Window element

How to constraint a wall height to the height of a Window element

Anonymous
Not applicable
1,418 Views
5 Replies
Message 1 of 6

How to constraint a wall height to the height of a Window element

Anonymous
Not applicable

Hi,

 

I'd like to constrain the height of a wall to top of a window; if I increase the height of the window, the height of the wall should be increased too. Thank you.

0 Likes
1,419 Views
5 Replies
Replies (5)
Message 2 of 6

L.Maas
Mentor
Mentor

I do not think this is possible. Wall and Windows are in a parent child relationship (window is a child of the wall).

 

The other way around will work (when wall height changes the window height/elevation changes with it). This can be done by constraining the window to the wall 

 

If you try to do it in the way you want (change height of window) you will receive a constraining error.

Window.png

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

0 Likes
Message 3 of 6

Anonymous
Not applicable

Thank you EnlInt for your reply. What exactly I'd like to have is a model that when you change a window height:

1) the height of the connected wall increases

2) the slope of the connected roof changes according to the height of the wall

 

The solutions that I know of, are all other way around:

1) constraining windows to a wall so that if you chnaged the wall height windows move proportioally (what you mentioned)

2) attaching walls to a roof so that if you move the roof, walls would follow

 

To summerize:

  what I need : increasing window height-> increasing wall height -> changing roof slope 

  what I know: moving roof -> increasing wall height -> moving window

 

Any advice is welcome. 

0 Likes
Message 4 of 6

rosskirby
Advisor
Advisor

As you've already found, constraints in Revit tend to work downstream.  That is, a hosted object is affected by constraints to its host, but a host is not affected by objects hosted within it.

 

There may be some combination of an unhosted window family that you manually cut the wall with, a wall or in-place component, a roof or in-place component, and reference planes/lines that would work for what you want, or possibly a mix of nested adaptive components, but without being able to visually understand what you're trying to do, I can't really offer much else.  

 

Could you post a screen cap of the situation you're trying to control?  

Ross Kirby
Principal
Dynamik Design
www.dynamikdesign.com
0 Likes
Message 5 of 6

Anonymous
Not applicable

Thank you Rosskirby. I am trying to control the height of roof when I increase the height of windows. I constrained the wall to the roof and windeows and roof to a Level (i.e, level2). I should somehow constrain the top of windows to the roof so that if I increase the windows height the roof goes up.

0 Likes
Message 6 of 6

SteveKStafford
Mentor
Mentor

That's not a natural relationship within Revit as it exists today. It is pretty trivial to raise the roof on our own, just increase it's offset once we decide on window heights. I don't know how complicated your project though.

 

It is probably possible to create a relationship like you want using Dynamo. It's also installed as part of the recent 2015 R2 release available to current subscription customers. It allows you to access features via the API and run your application automatically or on demand. You'd need to capture the value you want relative to the window and then pass it along to the roof object. The tricky part is which window(s) affects the roof and how does it alter it. Should all the window elevations affect it or just those on the floor closest to the roof. Should the roof just increase its offset from its level or does it require recreating the roof sketch to accomodate the change?


Steve Stafford
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
EESignature

0 Likes