Filter 3D files + Edit-PWMicroStationDocuments

Hi All,

Currently I'm testing Edit-PWMicroStationDocuments cmdlet. I would like to process only 3D files from a particular folder.

The particular folder contains hundreds of 2D [drawing/sheets]  and 3D [Design] file.

Is there any way to check if the file is 2D or 3D and then processed with given key-ins in script. 

for example [Get-pwdocumentproperties] if {DesignFile = is3D} then proceed further.... something like that..

This could save lot of hours.

Any suggestion would be helpful.