© 2010 Autodesk
Introduction to the Navisworks 2011 .NET API
Mixing Search Methods
IEnumerable
<
ModelItem
> expensive_items =
from
item
in
search.FindIncremental(
Application
.ActiveDocument,
false
);
where
ItemPrice(item) > 100
select
item;
Combine Search With LINQ
Can combine mechanisms. First, use Search to select a subset of the model, then use LINQ to perform more sophisticated searches over the selection.