Scheduling nested families
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone here.
We recently developed complex door families, made with nested families managed by shared parameters.
These families just work fine.
We want to schedule door instances in our projects. The trouble is that we cannot show the shared parameters values as we would like to. Like in the properties dialog box, their syntax is : "Nested family name : Type name", and to extract correct data we really just need "Type name".
I perfectly understand that in the properties dialog box it is necessary to have both, because "Type 1" could be in "Nested family A" and "Nested family B", so you have to know from which family you will apply "Type 1".
But in schedules that would be great to have a "formatting" or "appearance" function that enables the user to show only type names. In that case of course he should no longer be able to change the parameter value.
I don't want to create new parameters to store only type names as Autodesk EPS proposed us, because that would add around 50 new parameters to the already existing 50 ones.
I had a look at the API possibilities, but didn't see a way to achieve my goals.
API-speaking, I think this is linked to the fact that when the StorageType of the parameter is ElementId, AsValueString() is called and this function returns the string "Family name : Type name". I'd rather get and show the FamilySymbol.Name property.
Do you have an idea of what could be done ? Or any workarounds ?
Many thanks in advance.
MV