How to use ElementScanCriteriaClass

Hi,

We are making the transitioning to CONNECT Update 2.

I'm trying to get the scanner to function. With the former version this worked:

Bentley.Interop.MicroStationDGN.ElementScanCriteria msScan = new Bentley.Interop.MicroStationDGN.ElementScanCriteriaClass();

Now it doesn't. The compiler says:

"The type 'Bentley.Interop.MicroStationDGN.ElementScanCriteriaClass' has no constructors"

"Interop type 'Bentley.Interop.MicroStationDGN.ElementScanCriteriaClass' cannot be embedded. Use the applicable interface instead."

Does anybody have a solution to this problem?

Thanks!

Jan

Parents Reply Children
No Data