Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Door familyparameter width

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
sonicer
552 Views, 2 Replies

Door familyparameter width

There is so many tutorial how to add parameter or how to go to familymanager....

 

But I need so simple value of width of family door...

Don't understand the tree ...

 

I have now this ...its good way?

Family family = q.Symbol.Family;
Document familyDoc = doc.EditFamily(family);
FamilyManager familymanager = familyDoc.FamilyManager;
IList<FamilyParameter> familyPar =familymanager.GetParameters(); 

 

Thx...

2 REPLIES 2
Message 2 of 3
matthew_taylor
in reply to: sonicer

Hi @sonicer,

Refer here for help on getting started:

https://forums.autodesk.com/t5/revit-api-forum/check-out-the-self-paced-guide-my-first-plug-in/m-p/3...

 

The most important thing to do is install RevitLookup - it will help you navigate the database. A quick google will help you find it.

Your query will appear simple when you use it.

 

Dim widthInFeet as double= _
doorFamilyInstance.symbol.Parameter(BuiltinParameter.Door_Width).AsDouble

 

 


Cheers,

-Matt
_______________________________________________________________________________
Marking a post as a 'solution' helps the community. Giving a post 'Kudos' is as good as saying thanks. Why not do both?
Message 3 of 3
Tripler123
in reply to: matthew_taylor

estimado,

mi duda es cuando tengo un parametro compartido dentro de la familia. como en la imagen.Captura.PNG

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community