- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've been using this to get the door width:
Parameter width = door.Symbol.get_Parameter(BuiltInParameter.DOOR_WIDTH);
..It works fine for 3' doors, but still reports 3' for double wide doors, where i think it should be reporting 6'.
Is this expected behavior and/or should I be looking at the frame type or Identity data to determine if its 2x the reported width?
For these 'double wide' doors, I see the frame type is S2 ..I don't find much documentation frame types so I'm not sure if this is something I can count on in my code.
I also see the Identity data for the door has a 'Paired door' parameter, with a value of PR. That makes more sense since paired door is basically a double door. Is this the correct parameter to look at? If so, is there an easy way to get at it programatically? I don't see it showing up when traversing the built in parameters using:
foreach (Parameter p in instance.Parameters)
{
BuiltInParameter biParam = (p.Definition as InternalDefinition).BuiltInParameter;
...
}
Solved! Go to Solution.