hexagon logo

GetReferencedFeature

Hello all,

How do I access the X measured value of one of the features in a distance dimension.
I tried " IF DimCmd.GetReferencedFeature(2 ).X > DimCmd.GetReferencedFeature(1).X THEN".
But PCDMIS doesn't like the .X.
Any help would be appreciated.

Thanks