[MStn CE U17 C++] API method, equivalent to "Solid by Extrusion Along" tool(s)?

Hi,

what is API equivalent of Solid by Extrusion Along tool?

I need to create solid with defined profile (simple rectangle), moved along common LineString in 3D.

I found this problem:

  • In code I use SolidUtil::Create::BodyFromSweep method, but quite often error is returned and solid (ISolidKernelEntity) is not created.
  • With the same input elements (profile and path) I am able to create the solid using new CONSTRUCT SOLID ALONG key-in (creating parametric solid) and also using deprecated LEGACY CONSTRUCT SOLID ALONG key-in (creating SmartSolid).

It looks like I use different method than is is used by the mentioned key-ins, but I am not aware of other "extrusion along" method, available in API (I guess I can construct SmartFeature nodes, but sounds like a bit complex operation for simple extrusion). Do I miss anything?

With regards,

  Jan