# Create Tin Surface and default Style?

**URL:** <https://forum.dynamobim.com/t/create-tin-surface-and-default-style/42422>\
**Category:** Civil 3D\
**Created:** [October 28, 2019, 1:19pm UTC](https://forum.dynamobim.com/t/create-tin-surface-and-default-style/42422 "2019-10-28T13:19:42Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![John.DeLeeuw](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john.deleeuw/32/79337_2.png) [@John.DeLeeuw](https://forum.dynamobim.com/u/John.DeLeeuw)\
**Post date:** [October 28, 2019, 1:19pm UTC](https://forum.dynamobim.com/t/create-tin-surface-and-default-style/42422/1 "2019-10-28T13:19:43Z")

</div>

I noticed when creating a Tin Surface the default Surface Style is not picked up from the active document. Any idea why this happens?

Maybe in the coming Civil3DToolkit that @Paolo_Emilio_Serra1 has promised, there might also nodes to get/set Styles?

 ![2019-10-28_14-12-29](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/d/7dc2b5460eaf12c08e62249dcb0bec2322c84dde.png)

The Surface wasn’t created with the default style but another:

 ![2019-10-28_10-29-02](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/8/d8416d3e3c342e04661a25dc5a2d52389cccb39a.png)

---

<div class="post-metadata">

**Author:** ![JowennLua](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jowennlua/32/79854_2.png) [@JowennLua](https://forum.dynamobim.com/u/JowennLua)\
**Post date:** [October 28, 2019, 1:36pm UTC](https://forum.dynamobim.com/t/create-tin-surface-and-default-style/42422/2 "2019-10-28T13:36:19Z")

</div>

Hi @John.DeLeeuw ,

Good observation. I got the same issue as you. Probably we need a node that can change a surface style.

 ![SameIssue](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/3/03d88eea0ca0eebfd90e83a2bbc9321360ec32ce.png)

Cheers,  
Jowenn

---

<div class="post-metadata">

**Author:** ![Paolo\_Emilio\_Serra1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paolo_emilio_serra1/32/12902_2.png) [@Paolo\_Emilio\_Serra1](https://forum.dynamobim.com/u/Paolo_Emilio_Serra1)\
**Post date:** [October 28, 2019, 6:20pm UTC](https://forum.dynamobim.com/t/create-tin-surface-and-default-style/42422/3 "2019-10-28T18:20:06Z")

</div>

Yeap

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/8/380b9af3addb02f40e03ae5c8f30ee86de808871.png)

---

<div class="post-metadata">

**Author:** ![John.DeLeeuw](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john.deleeuw/32/79337_2.png) [@John.DeLeeuw](https://forum.dynamobim.com/u/John.DeLeeuw)\
**Post date:** [October 28, 2019, 8:28pm UTC](https://forum.dynamobim.com/t/create-tin-surface-and-default-style/42422/4 "2019-10-28T20:28:54Z")

</div>

Nice!

But still, why doesn’t it pick up the default Style? It doesn’t make sense to change Styles for every Civil 3D object created 😨

---

<div class="post-metadata">

**Author:** ![Paolo\_Emilio\_Serra1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paolo_emilio_serra1/32/12902_2.png) [@Paolo\_Emilio\_Serra1](https://forum.dynamobim.com/u/Paolo_Emilio_Serra1)\
**Post date:** [October 28, 2019, 8:57pm UTC](https://forum.dynamobim.com/t/create-tin-surface-and-default-style/42422/5 "2019-10-28T20:57:57Z")

</div>

In this implementation of the TinSurface it is used an API call that does not require to specify the style and assigns the first style from the list which is not necessarily the default style.

---

<div class="post-metadata">

**Author:** ![John.DeLeeuw](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john.deleeuw/32/79337_2.png) [@John.DeLeeuw](https://forum.dynamobim.com/u/John.DeLeeuw)\
**Post date:** [October 28, 2019, 9:21pm UTC](https://forum.dynamobim.com/t/create-tin-surface-and-default-style/42422/6 "2019-10-28T21:21:03Z")

</div>

Hmnnn…the first style from what list then @Paolo_Emilio_Serra1? Below my list of available Surface Styles. The first style in my list is actually a non-visible style. That would also create a dilemma for me.

 ![2019-10-28_22-17-17](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/5/1523dfb7d9048145be25b4ade3743e597825cbfd.png)

---

<div class="post-metadata">

**Author:** ![Paolo\_Emilio\_Serra1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paolo_emilio_serra1/32/12902_2.png) [@Paolo\_Emilio\_Serra1](https://forum.dynamobim.com/u/Paolo_Emilio_Serra1)\
**Post date:** [October 28, 2019, 9:22pm UTC](https://forum.dynamobim.com/t/create-tin-surface-and-default-style/42422/7 "2019-10-28T21:22:40Z")

</div>

@John.DeLeeuw That is sorted alphabetically for user convenience, internally they are stored in order of creation, sorry I should have mentioned that

---

<div class="post-metadata">

**Author:** ![Paolo\_Emilio\_Serra1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paolo_emilio_serra1/32/12902_2.png) [@Paolo\_Emilio\_Serra1](https://forum.dynamobim.com/u/Paolo_Emilio_Serra1)\
**Post date:** [October 28, 2019, 9:56pm UTC](https://forum.dynamobim.com/t/create-tin-surface-and-default-style/42422/8 "2019-10-28T21:56:04Z")

</div>

@John.DeLeeuw I made a small change to the Civil 3D Toolkit, if you don’t provide any name it will assign the default style 🙂 for the time being is a good option

---

<div class="post-metadata">

**Author:** ![John.DeLeeuw](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john.deleeuw/32/79337_2.png) [@John.DeLeeuw](https://forum.dynamobim.com/u/John.DeLeeuw)\
**Post date:** [October 28, 2019, 10:05pm UTC](https://forum.dynamobim.com/t/create-tin-surface-and-default-style/42422/9 "2019-10-28T22:05:46Z")

</div>

Great Paolo 👍

---

<div class="post-metadata">

**Author:** ![jordan.norval](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@jordan.norval](https://forum.dynamobim.com/u/jordan.norval)\
**Post date:** [November 7, 2019, 3:12pm UTC](https://forum.dynamobim.com/t/create-tin-surface-and-default-style/42422/10 "2019-11-07T15:12:33Z")

</div>

What package is being used in the screenshots above? I’m looking to change surface styles within C3D but haven’t found any nodes yet.

---

<div class="post-metadata">

**Author:** ![rita.zhen](https://avatars.discourse-cdn.com/v4/letter/r/71c47a/32.png) [@rita.zhen](https://forum.dynamobim.com/u/rita.zhen)\
**Post date:** [January 22, 2020, 12:27am UTC](https://forum.dynamobim.com/t/create-tin-surface-and-default-style/42422/11 "2020-01-22T00:27:09Z")

</div>

> [@John.DeLeeuw](#):
>
> Civil3DToolkit

Not super relevant to the original question. But I can’t find TinSurface.ByCogoPointGroup in my library, and as well as Circle.ByGeometry and Solid.ByGeometry which are in the embedded samples. The dynamo version I’m using is up to date - “Dynamo Core 2.1.1.7865”, “Dynamo Civil 3D 2.1.1.896”. Is that I need to install some other packages? Thank you!

---

<div class="post-metadata">

**Author:** ![Paolo\_Emilio\_Serra1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paolo_emilio_serra1/32/12902_2.png) [@Paolo\_Emilio\_Serra1](https://forum.dynamobim.com/u/Paolo_Emilio_Serra1)\
**Post date:** [January 22, 2020, 4:45am UTC](https://forum.dynamobim.com/t/create-tin-surface-and-default-style/42422/12 "2020-01-22T04:45:32Z")

</div>

@rita the latest version is running on 2.4.1, check again your Dynamo for Civil 3D Beta 2

---

<div class="post-metadata">

**Author:** ![bkanther](https://avatars.discourse-cdn.com/v4/letter/b/e0b2c6/32.png) [@bkanther](https://forum.dynamobim.com/u/bkanther)\
**Post date:** [February 2, 2021, 11:03am UTC](https://forum.dynamobim.com/t/create-tin-surface-and-default-style/42422/13 "2021-02-02T11:03:50Z")

</div>

Dynamo noob here… but is this the only way to create a Civil 3D surface with dynamo, using cogo points? Was curious to see if there was some other method of creating a surface… like an empty surface that maybe the style was assigned by default, but noticed that this is the only create surface method available?

---

<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:** [February 2, 2021, 7:48pm UTC](https://forum.dynamobim.com/t/create-tin-surface-and-default-style/42422/14 "2021-02-02T19:48:27Z")

</div>

> [@bkanther](#):
>
> is this the only way to create a Civil 3D surface with dynamo, using cogo points?

Yes, but you should be able to create a new surface via the API with a few lines of Python.
