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.

Hi Can you show me how to use this solution in dynamo?
i’ve pasted it in an empty code block but doesn’t act as expected, thanks!