hi Paolo, do you have sample to use Mass.BySolid and Mass.ByCrossSections or Mass.ByLoftCrossSections?
for unknown reason, using Mass.ByShapesCreaseStations or Mass.ByClosedCurvesCreaseStations works OK, but Solid or CrossSections got from AppliedSubassemblyShape.Geometry doesn’t work as input to Mass.BySolid and Mass.ByCrossSections or Mass.ByLoftCrossSections.
somehow, Loft doesn’t work!?

so i switched to using FamilyType.ByGeometry and FamilyInstance.ByPoint, but this have new issue of insertion point and rotation.