Reporting a dimension without using a reporting parameter

Reporting a dimension without using a reporting parameter

chughes
Collaborator Collaborator
473 Views
5 Replies
Message 1 of 6

Reporting a dimension without using a reporting parameter

chughes
Collaborator
Collaborator

Is it possible to use a parameter like an instance parameter to inform a formula?  I know its telling me I cannot use an instance parameter in a formula, and I cannot use a reporting formula because the needed distance is not hosted.

 

Working on a shutter assembly.  The shutters contain an array, with the array count driven by a distance formula.

2019-09-26 23_30_50-Autodesk Revit 2019.2 - [Shutter - Single - Floor Plan_ Ref. Level].png

 

2019-09-26 23_31_12-Family Types.png

 

I will control the height of the top and bottom shutters manually and would like to have the middle shutter height adjust dynamically as the overall height is changed.  I cannot make the shutter family height instance based and lock to reference planes, so I need the distance to be reported (like a reporting parameter) and pushed back into a formula to control the middle shutter height.

2019-09-26 23_31_47-Autodesk Revit 2019.2 - [Shutter Wall 2 - Elevation_ Front].png

 

Below is how it *could* be done, if I had a way to grab the middle distance.

 

2019-09-26 23_41_45-Family Types.png

 

 

2019-09-26 23_38_44-Autodesk Revit 2019.2 - [Shutter Wall 2 - Elevation_ Front].png

 

0 Likes
474 Views
5 Replies
Replies (5)
Message 2 of 6

ToanDN
Consultant
Consultant
Why not: Mid Height = Height - Top Height - Bottom Height?
0 Likes
Message 3 of 6

bin
Advisor
Advisor

I don’t think it was telling you that you can not use instance parameter in formula. It’s probably telling you that you over-constraint your model. 

0 Likes
Message 4 of 6

chughes
Collaborator
Collaborator

Height is an instance parameter.  I could make it a type parameter, I suppose.  I wanted the flexibility of moving it independently of others.

0 Likes
Message 5 of 6

chughes
Collaborator
Collaborator

Its not overconstraining.  It's just me trying to force my idea of how something should work on Revit and Revit punching me in the face and reminding me who is boss here. 😄

0 Likes
Message 6 of 6

Anonymous
Not applicable

The parameters in the formula need to be the same type - you have a calculation based on a type and instance parameter - make both the same.

0 Likes