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: 

Keep a formula value different in a Type family and Get rid of grip handles

16 ANTWORTEN 16
GELÖST
Antworten
Nachricht 1 von 17
shelmsGYSXD
675 Aufrufe, 16 Antworten

Keep a formula value different in a Type family and Get rid of grip handles

I have a family that has two different types. The first Type works how I want it to. The problem is the second Type I want to make, the Height is 5' 6 5/8" and the Adjust Height CTRL formula would be if(Adjust Height < 0', 0', if(Adjust Height < 4' 3 7/16", Adjust Height, 4' 3 7/16")) I see that when you change a formula it changes for both Types and so that's not what I want. So my question is what to do I need to do/change to make it so I can keep these as Types but alter the formulas to work?

The second part of my question is when I load this family into a project I only want the grip handles to move the wing nut up and down, but I am getting two sets of grip handles, one that moves the wing nut and one that moves the rest of the family but not the wing nut. How do I get rid of the ones that moves the rest of the family? I also have attached the file for you guys. Thanks

16 ANTWORTEN 16
Nachricht 2 von 17
Ahmed_Muharram
als Antwort auf: shelmsGYSXD

For the first part I think you should make 2 families not types

Ahmed Muharram, B.Sc, AEE, ACI, ACP
BIM Manager
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


Nachricht 3 von 17
barthbradley
als Antwort auf: shelmsGYSXD

I'm having a difficult time understanding the parametrics here.  Adjust Height. Don't Adjust Height. It doesn't make sense to me.  Plus, it's a circular reference. Please explain how you want this family to operate - as if it were something you just purchased from Home Depot.   

Nachricht 4 von 17
shelmsGYSXD
als Antwort auf: barthbradley

I think my naming of the parametrics isn't clear to an outsider which is why you're confused. So the Height parametric is for the overall height of the object. There are two sizes that never change. One is 2' 7 7/8" and the other is 5' 6 5/8" which is why I've made the Height parametric a Type and not an Instance. So essentially one Type is just longer than the other. The Adjust Height parametric is just for the wing nut. So it could also be named 'Wing Nut Location'. In regards to how I want it to operate, imagine the long vertical part is a screw, and the part I need to move, the wing nut, is a well a nut. So it can move up and down. JUST the nut. I just want to be able to move it within a range and with grip handles. But the ranges need to be different depending on the Type, with the numbers I detailed in the original question. So that's what I am struggling with. I hope that makes more sense.

Nachricht 5 von 17
barthbradley
als Antwort auf: shelmsGYSXD

See attached. 

 

Is this what you are trying to acheive? 

Nachricht 6 von 17
shelmsGYSXD
als Antwort auf: barthbradley

The first type is modeled correctly. But I need the second type to move between 0'0" and 4' 3 7/16"

Nachricht 7 von 17
barthbradley
als Antwort auf: shelmsGYSXD

Can you just play with what I sent you and tell me how is or is not behaving properly?  Notice that the widget (which is work plane based) in directly constrained by the Adjust Height CTRL which is associated to the widget's offset from work plane parameter.   Its work plane is the "abc" Ref. Plane.  

 

 

 

 

 

Nachricht 8 von 17
shelmsGYSXD
als Antwort auf: barthbradley

I'm not sure how better else to explain it. I just need what you are referring to as the widget to move up to 4' 3 7/16" on the MM_1.3_Mega_Screw_Jack Type, aka the second Type. Right now it only moves up to 1' 4 23/32", which is exactly like the MM_0.4_Mega_Screw_Jack Type, aka the first Type and that is due to the formula. Which is why I assumed my original problem was my formula was set up wrong. I think you are capable of fixing this I think we just aren't understanding each other since its hard to explain things over a screen. I attached photos of the movement I want to achieve. The first Type works as I wanted, thanks to you! And am only attaching that photo as a reference of the first Type. But the second Type doesn't have the full range of movement I want, it stops at the same point as Type 1. I hope this helps

Nachricht 9 von 17
ToanDN
als Antwort auf: shelmsGYSXD

Sure it can be done rather easily.

 

ToanDN_2-1669148472376.png

 

 

ToanDN_1-1669148455236.png

 

 

Nachricht 10 von 17
shelmsGYSXD
als Antwort auf: ToanDN

This is not quite right either. Your file still has two sets of grip handles, I only want one attached to the "widget". Also when I drag the grip handles, once I go past 1' 4 23/32" it skips to the 4' 3 7/16" position (the top of the screw) so I lose all those positions in between those values.

Nachricht 11 von 17
shelmsGYSXD
als Antwort auf: ToanDN

Disregard my last reply, I see you fixed the skipping problem, but I do need to get rid of the second pair of grip handles

Nachricht 12 von 17
ToanDN
als Antwort auf: shelmsGYSXD

Here is a totally cleaned up, revamped version of your family.  One grip, stretch to the height limit defined by type.

 

ToanDN_0-1669150458286.png

 

Nachricht 13 von 17
shelmsGYSXD
als Antwort auf: ToanDN

This isn't correct either. The Height and Adjust Height parameters are not related to each other. I named them poorly which I explained higher in the thread. Adjust Height would be better named as "Wing Nut Location'. Height would be better named "Overall Height" The first Type Overall Height needs to be 2' 7 7/8" and the second Type Overall Height needs to be 5' 6 5/8". These parameters should be Types because they never change. It will always be one or the other depending on the Type I select. The only thing that needs to move is the Wing Nut or the "Widget" as mentioned higher in the thread. I do believe you have the right idea for the formula though.

Nachricht 14 von 17
ToanDN
als Antwort auf: shelmsGYSXD


@shelmsGYSXD wrote:

This isn't correct either. The Height and Adjust Height parameters are not related to each other. I named them poorly which I explained higher in the thread. Adjust Height would be better named as "Wing Nut Location'. Height would be better named "Overall Height" The first Type Overall Height needs to be 2' 7 7/8" and the second Type Overall Height needs to be 5' 6 5/8". These parameters should be Types because they never change. It will always be one or the other depending on the Type I select. The only thing that needs to move is the Wing Nut or the "Widget" as mentioned higher in the thread. I do believe you have the right idea for the formula though.


Too much noise in so many posts so it's hard for me to follow.  Do me a favor and mark with text and dimensions on the elevation showing the 4 family instances, what thing needs to move and from where to where?

Nachricht 15 von 17
shelmsGYSXD
als Antwort auf: ToanDN

Is this helpful?

Nachricht 16 von 17
ToanDN
als Antwort auf: shelmsGYSXD


@shelmsGYSXD wrote:

Is this helpful?


Yes. Try this one.

 

ToanDN_0-1669153251953.png

 

 

Nachricht 17 von 17
shelmsGYSXD
als Antwort auf: ToanDN

You are literally a life saver. This is exactly what I needed, thank you so much!!!!!

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