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: 

Symbolic Representation - Parameter

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
chhadidg73
392 Views, 2 Replies

Symbolic Representation - Parameter

Hi,

 

just wanted to share some code as I "lost" one hour of my life to look for it. If you want to access the setting for "Symbolic Representation" inside a family document, here we go:

 

Parameter param = famdoc.OwnerFamily.get_Parameter(BuiltInParameter.FAMILY_SYMBOLIC_REP);
if (param != null)
{
    // 0 - From Family // 1 - From Project Setting
     param.Set(1);
}

Regards

Christian

2 REPLIES 2
Message 2 of 3
jeremytammik
in reply to: chhadidg73

Dear Christian,

 

Thank you very much for sharing this, and sorry for the wasted (well, not-so-wasted-after-all, thank you very much again!) time.

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 3
jeremytammik
in reply to: chhadidg73

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