NeVeSpl / RevitDBExplorer

Interactive Revit database exploration tool to view and edit BIM element parameters, properties and relationships.
Apache License 2.0
179 stars 40 forks source link

Added Adaptive component Instance Util #27

Closed mostafa901 closed 4 months ago

mostafa901 commented 4 months ago

I think it will be helpful to have Adaptive Component Instance Util. In short, it will allow snooping adaptive points within adaptive family instances

image

NeVeSpl commented 4 months ago

Does it make sense to display it for every FamilyInstance? or rather only for those for which IsAdaptiveComponentInstance retuns true?

(doc, target) => AdaptiveComponentInstanceUtils.GetInstancePlacementPointElementRefIds(target), kind: MemberKind.StaticMethod, canBeUsed: x => AdaptiveComponentInstanceUtils.IsAdaptiveComponentInstance(x)
mostafa901 commented 4 months ago

I was thinking about it as well while driving today, seems you got an earlier greenlight :) good catch. I have updated the branched and pushing now.