# How to convert polylines with gis data (OD) to civil 3d parcels with the same attributes of (OD)

**URL:** <https://forum.dynamobim.com/t/how-to-convert-polylines-with-gis-data-od-to-civil-3d-parcels-with-the-same-attributes-of-od/94594>\
**Category:** Civil 3D\
**Tags:** excel, python, geometry, dynamo, civil3d\
**Created:** [October 16, 2023, 12:34pm UTC](https://forum.dynamobim.com/t/how-to-convert-polylines-with-gis-data-od-to-civil-3d-parcels-with-the-same-attributes-of-od/94594 "2023-10-16T12:34:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![belal.hasheesh](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@belal.hasheesh](https://forum.dynamobim.com/u/belal.hasheesh)\
**Post date:** [October 16, 2023, 12:34pm UTC](https://forum.dynamobim.com/t/how-to-convert-polylines-with-gis-data-od-to-civil-3d-parcels-with-the-same-attributes-of-od/94594/1 "2023-10-16T12:34:54Z")

</div>

- I have more than 6000 polylines from gis and those polylines have object data (gis attributes).  
is there’s any method to convert those polylines to civil3d parcels with the same gis attributes.  
i tried to get object data from polylines and did property sets for polylines by the same attributes and i need to add node for parcels fom the same objects (polylines).  
 ![dynamo](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/2/a285cbe31e38bf6343311da732e531c62cabfafe.png)  
 ![Parcels](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/8/b8502bdbc7abe216486ae375136e2ddbec053038.png)

---

<div class="post-metadata">

**Author:** ![belal.hasheesh](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@belal.hasheesh](https://forum.dynamobim.com/u/belal.hasheesh)\
**Post date:** [October 16, 2023, 12:47pm UTC](https://forum.dynamobim.com/t/how-to-convert-polylines-with-gis-data-od-to-civil-3d-parcels-with-the-same-attributes-of-od/94594/2 "2023-10-16T12:47:48Z")

</div>

@zachri.jensen @Anton_Huizinga @austin_perigee @omar.g @rpriceAZEG6 @Paolo_Emilio_Serra1 @KirkWM @hosneyalaa  
[try\_test.dwg](https://forum.dynamobim.com/uploads/short-url/8DASDYgukKzJBD5sygOQflj5i5z.dwg) (1014.4 KB)

---

<div class="post-metadata">

**Author:** ![patrick.ericson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/patrick.ericson/32/121411_2.png) [@patrick.ericson](https://forum.dynamobim.com/u/patrick.ericson)\
**Post date:** [October 16, 2023, 3:57pm UTC](https://forum.dynamobim.com/t/how-to-convert-polylines-with-gis-data-od-to-civil-3d-parcels-with-the-same-attributes-of-od/94594/3 "2023-10-16T15:57:13Z")

</div>

Can you add your .dyn graph as well? Make it easier to investigate.

---

<div class="post-metadata">

**Author:** ![austin\_perigee](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/austin_perigee/32/120708_2.png) [@austin\_perigee](https://forum.dynamobim.com/u/austin_perigee)\
**Post date:** [October 16, 2023, 4:24pm UTC](https://forum.dynamobim.com/t/how-to-convert-polylines-with-gis-data-od-to-civil-3d-parcels-with-the-same-attributes-of-od/94594/4 "2023-10-16T16:24:54Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/8/889b27413fbe331c77b7d444756e649408aefce3.png)  
So far I have worked out a partial solution. This is at least how I would read in the object data from the polylines. After this point, I would create the parcels from the polylines. When I attempted to create the parcels using the _Parcel.ByObject_ node I get an error, so maybe someone else can help us on that part. However, after getting the parcels created, I think the next step would be to rename them according to the desired OD field and then if you want to preserve other fields, you might be able to use the _ObjectExtensions.AddXData_ node.

---

<div class="post-metadata">

**Author:** ![belal.hasheesh](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@belal.hasheesh](https://forum.dynamobim.com/u/belal.hasheesh)\
**Post date:** [October 16, 2023, 4:31pm UTC](https://forum.dynamobim.com/t/how-to-convert-polylines-with-gis-data-od-to-civil-3d-parcels-with-the-same-attributes-of-od/94594/5 "2023-10-16T16:31:03Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/1/41d2d9d56c7ab17f03e8a505b9edda85bd3bcefd.png)  
i received error once am uploading Dynamo script , so you can find it in this we transfere link  
@patrick.ericson @zachri.jensen @Anton_Huizinga @austin_perigee @omar.g @rpriceAZEG6 @Paolo_Emilio_Serra1 @KirkWM [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa) @zachri.jensen @Anton_Huizinga @austin_perigee @omar.g @rpriceAZEG6 @Paolo_Emilio_Serra1 @KirkWM @kovacsv

> **[OD\_to\_PS.dyn](https://wetransfer.com/downloads/97808943d6f008e7b26b030ba147fac820231016162954/4ea0aa0eb3ccac243776af73f5d871b520231016163011/95173c?trk=TRN_TDL_01&utm_campaign=TRN_TDL_01&utm_medium=email&utm_source=sendgrid)**
>
> 1 file sent via WeTransfer, the simplest way to send your files around the world
