Message 1 of 6
Family Instance Parameters

Not applicable
04-01-2021
11:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am having problems with setting a value to a FamilyInstance parameter.
I added a new parameter to a family with FamilyManager.AddParameter (with the isInstance bool set to true). From what I understand, this means this parameter is unique to each instance now.
I now want to set a value to this parameter (will be a different value for each instance). I don't think I can do this with FamilyManager.Set(), since I cannot provide the exact instance to set the value to. How can I do this?
Can I convert my FamilyInstance object to an Element object and then use the Set() method?
Thank you in advance.
P.S. I'm using Revit 2019