Baseline from corridorfeatureline

Has anyone managed to use ironpython code to obtain baselines from a corridorfeatureline with the new 2025 or 2024 API?

Baseline.SetFeatureLine(ObjectId featureLineId). This sets a baseline as feature line-based.