[v8I - VBA] Select element(s) in a reference

Hi guys,

I want select all elements (and only them) in a level of a referenced file.

myFilter.ExcludeAllLevels

myFilter.ExcludeAllTypes

myFilter.IncludeLevel ActiveModelReference.Levels(myLevel.Name)
Set myCellElement = ActiveModelReference.Attachments(ModelName).Scan(myFilter)

"myFilter.IncludeLevel ActiveModelReference.Levels(myLevel.Name)" gives an error

How can I select all elements (and only them) of a level in a reference?

Thanks and bye.

Paolo