# Baseline from corridorfeatureline

**URL:** <https://forum.dynamobim.com/t/baseline-from-corridorfeatureline/108574>\
**Category:** Civil 3D\
**Created:** [March 7, 2025, 12:59pm UTC](https://forum.dynamobim.com/t/baseline-from-corridorfeatureline/108574 "2025-03-07T12:59:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![manuel.lozanomASTWU](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@manuel.lozanomASTWU](https://forum.dynamobim.com/u/manuel.lozanomASTWU)\
**Post date:** [March 7, 2025, 12:59pm UTC](https://forum.dynamobim.com/t/baseline-from-corridorfeatureline/108574/1 "2025-03-07T12:59:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![manuel.lozanomASTWU](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@manuel.lozanomASTWU](https://forum.dynamobim.com/u/manuel.lozanomASTWU)\
**Post date:** [March 15, 2025, 9:12am UTC](https://forum.dynamobim.com/t/baseline-from-corridorfeatureline/108574/2 "2025-03-15T09:12:03Z")

</div>

> **[Help](https://help.autodesk.com/view/CIV3D/2025/ENU/?guid=302de2ee-4cab-3cb7-e689-81f98c89bc97)**

---

<div class="post-metadata">

**Author:** ![Kevin.DePooter](https://avatars.discourse-cdn.com/v4/letter/k/85e7bf/32.png) [@Kevin.DePooter](https://forum.dynamobim.com/u/Kevin.DePooter)\
**Post date:** [June 12, 2026, 2:39pm UTC](https://forum.dynamobim.com/t/baseline-from-corridorfeatureline/108574/3 "2026-06-12T14:39:16Z")

</div>

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!
