C# - Get family parameter and perform if statement with said paramete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I am new to C# and would like a jumping off point if someone would help me.
What i have in my project:
family: Receptacle
Type: duplex receptacle, quadraplex, (this list can grow)
parameter: Error (yes no)
what i want:
A message to appear when error message is true.
I would need the error message to display which family type is containing the error. if more than one type, I would like it to then be a list of error reported types. This would make finding the family type that needs to be fixed easier.
I am not asking for the huge lines of code (that would be awesome if you did lol) but a jumping off point of what code to use to get family, types, parameters and then initiating a if statement with dialog box in revit.
If anyone can help point me in the right direction, that would be great! thank you!