How to determine the dimension belong to which body?

I have created four segments to make a closed section.

Forthemore, to add the dimension by the following functions "ModelDoc2::AddDimension2" and "Dimension::SetSystemValue3".

Then, the result goes as following picture,

Moreover, I use the API function "FeatureRevolve" to make a cylinder as follows.

I can catch the event about the dimension being changed from the function "swPartDimensionChangeNotify".

My question is that is any possible to query this body (ex:revolve 1) from the select dimension ?

By the way, I use C++ Com as my development tool.

Thank a lot.

SolidworksApi macros