Revit SDK: Get all scene's elents

Revit SDK: Get all scene's elents

Anonymous
Not applicable
555 Views
1 Reply
Message 1 of 2

Revit SDK: Get all scene's elents

Anonymous
Not applicable

Hello guys,

 

I use revit sdk to create a plugin which helps me improve my working process.

I'm trying to get all the elements in the open scene with the following script:

FilteredElementCollector collector
= new FilteredElementCollector(doc)
.WhereElementIsNotElementType();


I get most of the scene's elements but for unseen reason there are few object which doesn't been collected.

 

Best.

0 Likes
556 Views
1 Reply
Reply (1)
Message 2 of 2

gopinathrbe
Participant
Participant

what do you mean by scene?

 

0 Likes