Message 1 of 2
Shared Parameters to Family vs. FamilySymbol
Not applicable
07-14-2014
12:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
How to I add shared parameter to a family or family symbol.
Family family = Helper.RevitHelper.FindElementByName(GVar.RDoc, typeof(Family), listBox_Family.SelectedValue.ToString()) as Family;
listBox_FamilyTypes.Items.Add(family.Name.ToString());
FamilySymbol symbol = null;
foreach (FamilySymbol s in family.Symbols)
{
symbol = s;
listBox_FamilyTypes.Items.Add("==" + symbol.Name.ToString() + "==" + (s.Category.Id.ToString()));
}in the above code just trying to get the family and family types under that.
Now I need to add non editable parameter to the family or family type.
how do it do it. I searched everywhere only thing i can find is family instance or builtin categories.
How do i specify a family or family symbol and add shared parameter to it.