Hi would like to use the GetDependentElements Method From PartMaker Class
The get dependent elements method recives a filter
the ElementClassFilter Constructor recives a type to do a filter of this type (I Think)
And to create this type I would need to import the type class (from .net?)
And I also have to put the return of the method in a IList
The ref would look something like this ?
clr.AddReference('System')
from System.Collections.Generic import List
from System import Type
And the code would look something like this ?
Part_type=typeof(part)#making the part type
filter=ElementClassFilter(Part_type)#making the filter#making the filter
Part_List=List[ElementId]()#making the part list receiver
PartList.Add(GetDependentelElements(filter)) #getting parts ids
If anyone could help, I would appreciate