Reference objects are always null within IExtrudeFeatureData2

Hi,

I'm trying to use GetFromEntity, GetEndConditionReference and GetDirectionReference within IExtrudeFeatureData2, but all the methods return null for object references.

The case is similar to this thread  AccessSelections returns true on call. 

What else am I missing?

SolidworksApi/macros