Symbolic Representation - Parameter

Symbolic Representation - Parameter

Anonymous
Not applicable
617 Views
2 Replies
Message 1 of 3

Symbolic Representation - Parameter

Anonymous
Not applicable

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

Accepted solutions (1)
618 Views
2 Replies
Replies (2)
Message 2 of 3

jeremytammik
Autodesk
Autodesk
Accepted solution

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

0 Likes
Message 3 of 3

jeremytammik
Autodesk
Autodesk
0 Likes