# Create grading from feature line

**URL:** <https://forum.dynamobim.com/t/create-grading-from-feature-line/62971>\
**Category:** Civil 3D\
**Tags:** python, dynamo\
**Created:** [April 16, 2021, 4:37pm UTC](https://forum.dynamobim.com/t/create-grading-from-feature-line/62971 "2021-04-16T16:37:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![magpies](https://avatars.discourse-cdn.com/v4/letter/m/50afbb/32.png) [@magpies](https://forum.dynamobim.com/u/magpies)\
**Post date:** [April 16, 2021, 4:37pm UTC](https://forum.dynamobim.com/t/create-grading-from-feature-line/62971/1 "2021-04-16T16:37:46Z")

</div>

Hi,  
I want to create a grading between a feature line and a surface, something similar to what is shown in the pictures below. The feature line is created in dynamo with the FeatureLine.ByPolyCurve.  
I start the grade creation with the “\_AeccGradingTools”, could i use this in Dynamo? I have tried to search the [Civil 3D .NET API](http://docs.autodesk.com/CIV3D/2019/ENU/API_Reference_Guide/index.html) for a method that might help me, but I haven’t found anything.  
Can I create a grading with Dynamo?

 ![featureline](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/9/492bf2446c00ab76d443e0729e975b896fd0833b.jpeg) ![graded_featureline](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/2/22762d73a2ef92dc85eca9e6f243b92d31571510.png)

---

<div class="post-metadata">

**Author:** ![Giovanni\_Succi](https://avatars.discourse-cdn.com/v4/letter/g/dc4da7/32.png) [@Giovanni\_Succi](https://forum.dynamobim.com/u/Giovanni_Succi)\
**Post date:** [April 19, 2021, 8:08am UTC](https://forum.dynamobim.com/t/create-grading-from-feature-line/62971/2 "2021-04-19T08:08:33Z")

</div>

Maybe something like this?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/9/09e086e9f593679cd5a244541a4c6c78ce3c6b95.png)

---

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [April 19, 2021, 2:23pm UTC](https://forum.dynamobim.com/t/create-grading-from-feature-line/62971/3 "2021-04-19T14:23:43Z")

</div>

Hi @magpies,

I think you are correct, the .NET API doesn’t expose any members for grading objects so I think you might be out of luck. Here’s an older post that was similar:

> [@Grading with pavement layers](https://forum.dynamobim.com/t/grading-with-pavement-layers/53251/4):
>
> OK I understand. Unfortunately we do not have any nodes yet for grading groups or grading objects. So the creation of those would have to be manual. However, you could automate the initial creation of the platform solids and feature lines with Dynamo. After initially creating the feature lines (using the Civil 3D Toolkit package), they would have to be updated manually with any adjustments. Changing the inputs in Dynamo will create feature lines with different names, which will break the grading…

---

<div class="post-metadata">

**Author:** ![magpies](https://avatars.discourse-cdn.com/v4/letter/m/50afbb/32.png) [@magpies](https://forum.dynamobim.com/u/magpies)\
**Post date:** [June 9, 2021, 12:34pm UTC](https://forum.dynamobim.com/t/create-grading-from-feature-line/62971/4 "2021-06-09T12:34:33Z")

</div>

Thank you both for your answers.  
My temporary solution is to have a arbitrarily placed feature line with a grading group already placed in the file, then use dynamo to change the feature line to the desired location.

 ![grading_before](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/0/30128cf1930fc6836043f0719cb4235316a28948.png) ![grading_after_moving_point](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/5/5576bdc8522d32936a923f6ebbd61e655fceb329.png)

---

<div class="post-metadata">

**Author:** ![jjvegaVRG97](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jjvegaVRG97](https://forum.dynamobim.com/u/jjvegaVRG97)\
**Post date:** [July 22, 2024, 4:05pm UTC](https://forum.dynamobim.com/t/create-grading-from-feature-line/62971/5 "2024-07-22T16:05:06Z")

</div>

Hi, i want to know how you can do it, because i’m trying to do the same, but i dont know where are the nodes, could you helpe me pleaase!!.
