weianweigan / RevitLookupWpf

a lookup tool based on wpf
MIT License
68 stars 16 forks source link

GetDependentElements cannot be selected #49

Open onomou opened 2 years ago

onomou commented 2 years ago

Describe the bug When snooping an element, GetDependentElements shows an IList result, but the result cannot be selected.

To Reproduce Steps to reproduce the behavior:

  1. Draw an element
  2. Select the element and use Snoop Current Selections...
  3. Scroll down to GetDependentElements under Methods
  4. Result cannot be selected

Expected behavior The list of dependent elements should open.

Screenshots 2022-05-24 12 52 09 Revit_rXLEPJaPnp

Desktop (please complete the following information):

Additional context The original RevitLookup tool works as expected.

weianweigan commented 2 years ago

GetDependentElements need a parameter named element filter. Revitlookupwpf doesn't support this parameter now. The string IList just description a return value type, not a result. There is some work to do to support this feature. Thanks for your issue.I will take a research about it.

public IList<ElementId> GetDependentElements(
    ElementFilter filter
)