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: 

Control parameter using type name

7 ANTWORTEN 7
Antworten
Nachricht 1 von 8
PrathapSekar
4024 Aufrufe, 7 Antworten

Control parameter using type name

Hi Masters!!!

 

           Can we control a parameter with type name of the family? If so, please advise me how acquire that. Thanks.

Thank You! and please 'Accept As Solution' when you found a solution, to help others.
7 ANTWORTEN 7
Nachricht 2 von 8
Alfredo_Medina
als Antwort auf: PrathapSekar

Please provide an example of what you want to do. It's not clear enough.


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin
Nachricht 3 von 8
PrathapSekar
als Antwort auf: Alfredo_Medina

Thank you for your reply @Alfredo_Medina,

 

I have a family with six types,

  1. 01- Type A,
  2. 01- Type AB, 
  3. 02- Type A, 
  4. 02- Type AB,
  5. 03- Type A,
  6. 03- Type AB.

here I want to control a extension of a extrusion, i.e. For the types "A" it should be 100, and for types "AB" it should be 150. I can enter value regards to types, but I don't want others to change the value manually. So I need a formula to control the values according to the type name. If it isn't too clear please let me know.

Thank You! and please 'Accept As Solution' when you found a solution, to help others.
Nachricht 4 von 8
PrathapSekar
als Antwort auf: PrathapSekar

Also kindly note that, I don't want to add additional parameters to control this values.
Thank You! and please 'Accept As Solution' when you found a solution, to help others.
Nachricht 5 von 8
nathan.chapman
als Antwort auf: PrathapSekar

The bad news is  types can't be used to drive other parameters so the only other solution i could think of is have something like a yes/no parameter that drives your length.  One a formula is driving something it locks users out from changing.  They would have to edit the family and change the length value in the formula or delete the formula all together to change the value.  I know you stated you dont want to add parameters but that is the only way to accomplish what you are trying to do.

 

 

Nathan Chapman
Production Manager at General Heating and Air Conditioning

Revit Architecture Certified Professional
Revit MEP Mechanical Certified Professional
Revit MEP Electrical Certified Professional
DynaFabrication Package Author

Was this answer helpful? If so, please click the ACCEPT AS SOLUTION or the KUDOS button.
Nachricht 6 von 8
chrisplyler
als Antwort auf: PrathapSekar

In the family editor, you define each family Type, and you set the default values of their Type Parameters.

 

So make the parameter you want controlled by the family Type as a Type Parameter, set the default value for each family Type, and checkmark the option for each of those values to be Locked.

 

So now Type A can have the extrusion length be 100, and Type AB can have the extrusion length be 150, etc.

 

The length parameter isn't "Driven" by the Type's name, but it is defined within the Type by you.

Nachricht 7 von 8
nathan.chapman
als Antwort auf: chrisplyler

I forgot about the lock option.  Good catch Chrisplyler!

Nathan Chapman
Production Manager at General Heating and Air Conditioning

Revit Architecture Certified Professional
Revit MEP Mechanical Certified Professional
Revit MEP Electrical Certified Professional
DynaFabrication Package Author

Was this answer helpful? If so, please click the ACCEPT AS SOLUTION or the KUDOS button.
Nachricht 8 von 8
Alfredo_Medina
als Antwort auf: PrathapSekar


@PrathapSekar wrote:

 

 

... For the types "A" it should be 100, and for types "AB" it should be 150. I can enter value regards to types, but I don't want others to change the value manually. So I need a formula to control the values according to the type name. If it isn't too clear please let me know.


What I do is this: if a parameter is not supposed to be editable by the final user, I make that parameter equal to a formula, and I move the parameter out of the "Dimensions" group, and I put it into the "Constraint" group.


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin

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