Converting Solid Bodies from each Component to Sheet Metal body and get a thickness value of it

Hello,

I am trying to get the Thickness values of each Solid Body of FeatureType = "JT_ASSOCIATIVE_BODY" for each of the Part component in Assembly. But as mentioned in NXOpenAPI, it is possible only to get the Thickness of Sheetmetal bodies.

So, I am trying to convert each Solid body of FeatureType = "JT_ASSOCIATIVE_BODY" to Sheetmetal body from each Part component in assembly.

Can I get idea about how the NXOpen program will be for this case?