# Create Toposolid

**URL:** <https://discourse.mcneel.com/t/create-toposolid/161260>\
**Category:** Revit\
**Tags:** windows, python\
**Created:** [June 10, 2023, 4:31am UTC](https://discourse.mcneel.com/t/create-toposolid/161260 "2023-06-10T04:31:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayon\_Id](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ayon_id/32/474608_2.png) [@Ayon\_Id](https://discourse.mcneel.com/u/Ayon_Id)\
**Post date:** [June 10, 2023, 4:31am UTC](https://discourse.mcneel.com/t/create-toposolid/161260/1 "2023-06-10T04:31:32Z")

</div>

i like to use rhino inside revit to automate repeat task, but in revit 2024 remove topograhy and replaced with toposolid, how to create toposolid with geasshopper in rhino inside revit, here toposolid api unfortunately i cant coding, help me please, thanks

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/8/8/c/88cd93f73165350e284eae8f37a7cf70b9c93123.png)

---

<div class="post-metadata">

**Author:** ![Japhy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/japhy/32/487647_2.png) [@Japhy](https://discourse.mcneel.com/u/Japhy)\
**Post date:** [June 10, 2023, 11:53am UTC](https://discourse.mcneel.com/t/create-toposolid/161260/2 "2023-06-10T11:53:09Z")

</div>

Added a feature request. [Add TopoSolid Components for Revit 2024 · Issue #939 · mcneel/rhino.inside-revit · GitHub](https://github.com/mcneel/rhino.inside-revit/issues/939)

How are you looking to add & work with Toposolids in your projects?

---

<div class="post-metadata">

**Author:** ![Ayon\_Id](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ayon_id/32/474608_2.png) [@Ayon\_Id](https://discourse.mcneel.com/u/Ayon_Id)\
**Post date:** [June 10, 2023, 12:43pm UTC](https://discourse.mcneel.com/t/create-toposolid/161260/3 "2023-06-10T12:43:42Z")

</div>

Create toposolid by points and boundary (crease), split toposolid, speed improvement for host shape  
Host shape to slow for modifi toposolid, in my case modifi only toposolid 150mx150m with 500 point take time 3 minute and if 150mx\>550m will make revit and grasshopper hang/force close,i use laptop asus rog strix, thank you✨

---

<div class="post-metadata">

**Author:** ![kike](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kike/32/608657_2.png) [@kike](https://discourse.mcneel.com/u/kike)\
**Post date:** [July 26, 2023, 11:13am UTC](https://discourse.mcneel.com/t/create-toposolid/161260/4 "2023-07-26T11:13:56Z")

</div>

Hi @Ayon_Id,

We have added ‘Add Toposolid’ and ‘Add Toposolid Sub-Division’ components in v1.17.  
‘Host Shape’ is also been improved.

It will be available also on v1.16.

---

<div class="post-metadata">

**Author:** ![Ayon\_Id](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ayon_id/32/474608_2.png) [@Ayon\_Id](https://discourse.mcneel.com/u/Ayon_Id)\
**Post date:** [July 30, 2023, 5:00am UTC](https://discourse.mcneel.com/t/create-toposolid/161260/5 "2023-07-30T05:00:18Z")

</div>

i am sorry, if file open missing the add toposolid component, why this is happen ? am i wrong ?  
this is image before save and close

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/f/1/9/f197b8470c7d27a268d109fcfdcc9d1c681d4af8.png)  
this image while open the file  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/c/6/f/c6f7278ab2e9284444f21a36fbf80b3cb675c84e.png)  
 ![0](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/0/2/6/02678f9ea8ef92150c8c3903263abe436cbcd8f1.png)  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/d/c/7/dc70e6bccdae160a672b2834e05785e341bffbb1.png)

---

<div class="post-metadata">

**Author:** ![Japhy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/japhy/32/487647_2.png) [@Japhy](https://discourse.mcneel.com/u/Japhy)\
**Post date:** [July 30, 2023, 1:48pm UTC](https://discourse.mcneel.com/t/create-toposolid/161260/6 "2023-07-30T13:48:37Z")

</div>

Hi Ayon,

Can you post your About - Details info? Thanks

> **[Rhino.Inside®.Revit](https://www.rhino3d.com/inside/revit/1.0/reference/troubleshooting#getting-rhinoinsiderevit-version)**
>
> This guide provides ways to troubleshoot and collect information about Rhino.Inside.Revit errors. Please see Known Issues & Bugs for a list of known issues.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/0/4/b/04bd2721a2d24fd530bfec314f6058efc727be82.png)

---

<div class="post-metadata">

**Author:** ![Ayon\_Id](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ayon_id/32/474608_2.png) [@Ayon\_Id](https://discourse.mcneel.com/u/Ayon_Id)\
**Post date:** [July 31, 2023, 1:50am UTC](https://discourse.mcneel.com/t/create-toposolid/161260/7 "2023-07-31T01:50:05Z")

</div>

ok this is detail info  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/c/d/0/cd09328cb179d79c65b8d575897862d8d7050e25.png)

---

<div class="post-metadata">

**Author:** ![kike](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kike/32/608657_2.png) [@kike](https://discourse.mcneel.com/u/kike)\
**Post date:** [July 31, 2023, 10:49am UTC](https://discourse.mcneel.com/t/create-toposolid/161260/8 "2023-07-31T10:49:32Z")

</div>

@Ayon_Id,

There is a fix for this on latest v1.17 from today.  
Please update.

---

<div class="post-metadata">

**Author:** ![Ayon\_Id](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ayon_id/32/474608_2.png) [@Ayon\_Id](https://discourse.mcneel.com/u/Ayon_Id)\
**Post date:** [August 2, 2023, 2:29am UTC](https://discourse.mcneel.com/t/create-toposolid/161260/9 "2023-08-02T02:29:56Z")

</div>

wow work perfectly, thanks

---

<div class="post-metadata">

**Author:** ![brianorser](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/brianorser/32/771966_2.png) [@brianorser](https://discourse.mcneel.com/u/brianorser)\
**Post date:** [December 14, 2023, 8:36pm UTC](https://discourse.mcneel.com/t/create-toposolid/161260/10 "2023-12-14T20:36:05Z")

</div>

Is there documentation of how to use the Add Toposolid component? I only find a boundary curve input, but the toposolid needs contour line input as well. Currently I am just able to make a flat toposolid.

---

<div class="post-metadata">

**Author:** ![Japhy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/japhy/32/487647_2.png) [@Japhy](https://discourse.mcneel.com/u/Japhy)\
**Post date:** [December 14, 2023, 9:07pm UTC](https://discourse.mcneel.com/t/create-toposolid/161260/11 "2023-12-14T21:07:57Z")

</div>

Hi Brian,

Check out the Host Shape Component, this will allow you to Add Points, similar to the Revit UI in Sketch mode.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/8/6/f/86fe0a53a3a67c6d35ad36724caba492ea1782a4.png)

---

<div class="post-metadata">

**Author:** ![Japhy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/japhy/32/487647_2.png) [@Japhy](https://discourse.mcneel.com/u/Japhy)\
**Post date:** [December 14, 2023, 11:07pm UTC](https://discourse.mcneel.com/t/create-toposolid/161260/13 "2023-12-14T23:07:26Z")

</div>

I would use a Divide Curve on the contours, Revit will take care of the rest.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/4/1/9/419b53011650e6d07c589f9d471dff0f8e95a38a.jpeg)

---

<div class="post-metadata">

**Author:** ![brianorser](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/brianorser/32/771966_2.png) [@brianorser](https://discourse.mcneel.com/u/brianorser)\
**Post date:** [December 14, 2023, 11:14pm UTC](https://discourse.mcneel.com/t/create-toposolid/161260/14 "2023-12-14T23:14:11Z")

</div>

Using points input results in a more amorphous solid:

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/4/f/6/4f6093a5f4ea370818ba4ceca30fc5fbb0094b78.jpeg)

Whereas using lines seems to preserve the accuracy of topography contours:

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/6/4/f/64f3666f348f0285fab04e4954e4e2259f496bcc.jpeg)

But perhaps these are geometrically identical and what I am seeing is a graphic display of the creases which are being calculated but not displayed in the points-based workflow

The error on Host Shape in the line based method doesnt make sense given that no part of the toposolid is too thin:

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/f/5/1/f51e9da331349bc7ed3b2bdaaa595085e7a985ea.png)

---

<div class="post-metadata">

**Author:** ![brianorser](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/brianorser/32/771966_2.png) [@brianorser](https://discourse.mcneel.com/u/brianorser)\
**Post date:** [December 18, 2023, 6:51pm UTC](https://discourse.mcneel.com/t/create-toposolid/161260/15 "2023-12-18T18:51:28Z")

</div>

The toposolid is working, but I am having trouble controlling the insertion elevation of the toposolid. I mean that the toposolid is coming in associated with project Level, whereas it should be associated with the Project Base Point or Survey Point (absolute elevation about sea level).

Rhino: you can see proper elevation of topo

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/d/2/5/d251b93e2da102a39c33f9b14d7f86d075fcf5f5.png)

Revit: you can see toposolid comes in in relation to Level 1, rather than in relation to Project Base Point, which is my 0,0,0 in Rhino. The contours you see in the proper location I sent through as a family with insertion point

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/1/1/7/117847258c43ed118c4a1c3db56d2671bb1c5e27.jpeg)

In this [Video](https://help.autodesk.com/view/RVT/2024/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Discipline_Specific_Functionality_Site_html) showing a toposolid made from sketch, in the toolbar you can see that the subelements of the toposolid sketch are given an “Elevation Base”, in the video set to Project Base Point.

Screenshot from the video:

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/8/9/9/899e766a957174b3a2520cfdfab789406eb255bc.jpeg)

It seems that the Rhino.Inside.Revit add Toposolid component is setting these by default to Level 1?

Here is the [Revit API page](https://help.autodesk.com/view/RVT/2024/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Discipline_Specific_Functionality_Site_html) I found:

My current solution is to use the Height Offset from Level parameter of the toposolid to move it down to where it belongs, but this feels very prone to inaccuracy. I’m not even sure what the origin point of the toposolid is, which is determining the relation to the level. Is it the bottom line/point in the contours? It definitely is not the bottom of the solid itself, as the solid thickness can be modified. It must be somewhere on the top surface.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/d/e/9/de9c9fe707a5fa9bcbd9e1a66bf50772404754bf.jpeg)

Anyone understand how I should be doing this?  
@Japhy @kike

---

<div class="post-metadata">

**Author:** ![Japhy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/japhy/32/487647_2.png) [@Japhy](https://discourse.mcneel.com/u/Japhy)\
**Post date:** [December 18, 2023, 7:31pm UTC](https://discourse.mcneel.com/t/create-toposolid/161260/16 "2023-12-18T19:31:28Z")

</div>

Hi Brian,

The Boundary, where you can control the Base Insertion, has its lowest point determined by the TopoSurface Type.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/5/c/b/5cbd53795a6e6ef7992c9606c9ee4a22f9dbb89e.png)

The modify Sub-Elements Elevation Base does not appear to be available via Revit API and is a Revit UI feature only. ([SlabShapeEditor class](https://www.revitapidocs.com/2024/573209b9-3d5e-6175-95e2-e48bb88f02ca.htm))

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/b/2/4/b244284024551d519b67e7fe9534d4cced051975.png)

---

<div class="post-metadata">

**Author:** ![brianorser](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/brianorser/32/771966_2.png) [@brianorser](https://discourse.mcneel.com/u/brianorser)\
**Post date:** [December 18, 2023, 7:34pm UTC](https://discourse.mcneel.com/t/create-toposolid/161260/17 "2023-12-18T19:34:08Z")

</div>

Ah, that’s too bad. Thanks Japhy for clarifying.

---

<div class="post-metadata">

**Author:** ![ct.rhino](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ct.rhino/32/632414_2.png) [@ct.rhino](https://discourse.mcneel.com/u/ct.rhino)\
**Post date:** [September 16, 2024, 8:36pm UTC](https://discourse.mcneel.com/t/create-toposolid/161260/18 "2024-09-16T20:36:34Z")

</div>

Hi Japhy,

Any ideas why this isn’t working? it’s producing a transaction rollback error.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/2/3/c/23cead819d02aeac3c44da8e51b58b67997b2126.jpeg)  
Here is the internalized script.  
Thanks  
[context-wip.gh](https://discourse.mcneel.com/uploads/short-url/otjDIezU7ASVI8TxzYk65Z9Sz0a.gh) (86.9 KB)

---

<div class="post-metadata">

**Author:** ![Japhy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/japhy/32/487647_2.png) [@Japhy](https://discourse.mcneel.com/u/Japhy)\
**Post date:** [September 16, 2024, 8:51pm UTC](https://discourse.mcneel.com/t/create-toposolid/161260/19 "2024-09-16T20:51:54Z")

</div>

Hi Ct.Rhino,

What does the error say?

Please post additional information such as imperial or metric as well as your Rhino.Inside.Revit [About info](https://discourse.mcneel.com/t/help-us-help-you-rhino-inside-revit-edition/170291/5). Thanks

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/f/a/c/fac078f7652cd283b7ff8e478262f815a4bc1ea2.png)

---

<div class="post-metadata">

**Author:** ![ct.rhino](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ct.rhino/32/632414_2.png) [@ct.rhino](https://discourse.mcneel.com/u/ct.rhino)\
**Post date:** [September 16, 2024, 8:54pm UTC](https://discourse.mcneel.com/t/create-toposolid/161260/20 "2024-09-16T20:54:00Z")

</div>

The error says: Transaction rolledback and aborted.

I am working in a revit model with feet and a rhino model with feet.  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/5/3/0/530b8de2e66b22fefdd2790791c0b7b0cf372077.png)

And having a weird error when trying to download the installer

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/7/8/8/78828e5215ed1ccdda40a19ef2de0111505a15cd.png)

thank you.

---

<div class="post-metadata">

**Author:** ![Japhy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/japhy/32/487647_2.png) [@Japhy](https://discourse.mcneel.com/u/Japhy)\
**Post date:** [September 16, 2024, 9:21pm UTC](https://discourse.mcneel.com/t/create-toposolid/161260/21 "2024-09-16T21:21:56Z")

</div>

Is your one drive ok? I’ll send a link, try downloading to a different directory.

[Next page](https://discourse.mcneel.com/t/create-toposolid/161260.md?page=2)
