# Create surface from 2 pointgroups

**URL:** <https://forum.dynamobim.com/t/create-surface-from-2-pointgroups/75125>\
**Category:** Civil 3D\
**Tags:** python, dynamo\
**Created:** [April 4, 2022, 6:01am UTC](https://forum.dynamobim.com/t/create-surface-from-2-pointgroups/75125 "2022-04-04T06:01:19Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![121madhu](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/121madhu/32/138360_2.png) [@121madhu](https://forum.dynamobim.com/u/121madhu)\
**Post date:** [April 4, 2022, 6:01am UTC](https://forum.dynamobim.com/t/create-surface-from-2-pointgroups/75125/1 "2022-04-04T06:01:19Z")

</div>

Dear all,

Good day!

Anyone, please help me to save my time.

1. I want to create a surface with 2 point groups see attached picture for a better understanding  
example: surface name 21TOP with point groups 21TOP & 21BOT.

2. need to know is there any chance to create a 3dpolyline from the point group, need to create a 3Dpolyline to all bottom points (point numbers are in order wise so I am doing it with transparent command but it is a repeated task I want to search any other options for this)

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/2/3258268fc9eccf7a5f0c34ebf4de5e3f981c04a7.png)

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [April 4, 2022, 6:34am UTC](https://forum.dynamobim.com/t/create-surface-from-2-pointgroups/75125/2 "2022-04-04T06:34:30Z")

</div>

![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/b/eb21ceff59a0694d42a08b29d0b4977ed4f983fb.jpeg)

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [April 4, 2022, 6:39am UTC](https://forum.dynamobim.com/t/create-surface-from-2-pointgroups/75125/3 "2022-04-04T06:39:50Z")

</div>

![Capture0](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/f/6f17d3fe047876096d13438d99ae08ef955ebc9c.jpeg)

---

<div class="post-metadata">

**Author:** ![121madhu](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/121madhu/32/138360_2.png) [@121madhu](https://forum.dynamobim.com/u/121madhu)\
**Post date:** [April 4, 2022, 7:25am UTC](https://forum.dynamobim.com/t/create-surface-from-2-pointgroups/75125/4 "2022-04-04T07:25:30Z")

</div>

Thank you for your help,  
3dpolyline is now generated to Allpoints, please help me how to get this selected point group points only

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/b/6b5ce629d61a601d60e77523e3a52a5ce4ea1813.jpeg)

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [April 4, 2022, 8:11am UTC](https://forum.dynamobim.com/t/create-surface-from-2-pointgroups/75125/5 "2022-04-04T08:11:42Z")

</div>

![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/4/a40ee2ad7849ee4f966ec6ddbe7b81b2aceb2e56.jpeg)

---

<div class="post-metadata">

**Author:** ![121madhu](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/121madhu/32/138360_2.png) [@121madhu](https://forum.dynamobim.com/u/121madhu)\
**Post date:** [April 4, 2022, 8:58am UTC](https://forum.dynamobim.com/t/create-surface-from-2-pointgroups/75125/6 "2022-04-04T08:58:19Z")

</div>

It is not connecting another point group…  
please let me know what to do.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/5/753162330aa9fb6e3b14c87124c8afb56b28fdcf.jpeg)

---

<div class="post-metadata">

**Author:** ![121madhu](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/121madhu/32/138360_2.png) [@121madhu](https://forum.dynamobim.com/u/121madhu)\
**Post date:** [April 4, 2022, 9:08am UTC](https://forum.dynamobim.com/t/create-surface-from-2-pointgroups/75125/7 "2022-04-04T09:08:13Z")

</div>

You are Brilliant,

Yes, I got this My Point No.2

Please check the above image for point no.1 for the surface with 2 point groups

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [April 4, 2022, 4:56pm UTC](https://forum.dynamobim.com/t/create-surface-from-2-pointgroups/75125/8 "2022-04-04T16:56:05Z")

</div>

Try

 ![IMG_٢٠٢٢٠٤٠٤_١٩٥٥١٠](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/e/de8e74c8eac03fb422562bb4a1a9915947fb801c.jpeg)

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [April 4, 2022, 4:57pm UTC](https://forum.dynamobim.com/t/create-surface-from-2-pointgroups/75125/9 "2022-04-04T16:57:07Z")

</div>

Best .  
Attach an AutoCAD drawing + a dynamo file  
And pay with you tomorrow morning  
You want to calculate the discarded pile quantities?  
as an idea  
You can make a surface from all points  
Outer borders have been added  
Then Extract the outer bound  
Then make a surface of it Calculate the quantities between them
