Find out if a part has any PMI

Is there a way to identify if a part has any PMI dimensions?

The method I use is to collect all the PMI and then check the array length to determine if there is any PMI in the part.
You may also want to check PmiManager.PmiRegions - these need to go into a PmiRegionCollection.
Dim allpmi As PmiCollection = workpart.PmiManager.Pmis
If allpmi.ToArray.Length >0 Then ...

Mike

Thank you MikeHyde that is exactly how I am doing it.

Thomas