# Loadable families with subcategory

**URL:** <https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967>\
**Category:** Revit\
**Created:** [March 8, 2021, 7:39pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967 "2021-03-08T19:39:03Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnnaAN](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/annaan/32/540378_2.png) [@AnnaAN](https://discourse.mcneel.com/u/AnnaAN)\
**Post date:** [March 8, 2021, 7:39pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/1 "2021-03-08T19:39:03Z")

</div>

I’ve tried to create Loadable Family Component with new subcategory but I have still some problems with New Component Family.

When I’ve resolved problem with categoryId: _1. The input category id cannot be assigned as the new category for this family.Parameter name: categoryId._

I get the error _1. ElementId cannot be deleted.Parameter name: elementId_

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/4/0/5/40579b6364871b05487761462367ccdfd775f4f9.png)

Why the error appear: which elementId cannot be deleted? I cannot understand what I do wrong?  
Any help and advise appreciate.

[New Component Family\_rhino to revit.gh](https://discourse.mcneel.com/uploads/short-url/yXr2HD2z3TUBrkKmy0L3yUdH9Cs.gh) (14.4 KB)  
[Annotations triangle.rfa](https://discourse.mcneel.com/uploads/short-url/yBtxYqR1terrHCleRCrKwCeBY9R.rfa) (304 KB)

---

<div class="post-metadata">

**Author:** ![scottd](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/scottd/32/494002_2.png) [@scottd](https://discourse.mcneel.com/u/scottd)\
**Post date:** [March 8, 2021, 7:56pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/2 "2021-03-08T19:56:40Z")

</div>

Is the problem the Category \<\> SubCategory component that is plugged into the Main Family component?

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/2/6/1/261b5f4f98611ec779d2c26a1bc3dcc68cd3432d.png)

Also, do Generic Annotations support Loadable families?

I will take a look.

---

<div class="post-metadata">

**Author:** ![AnnaAN](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/annaan/32/540378_2.png) [@AnnaAN](https://discourse.mcneel.com/u/AnnaAN)\
**Post date:** [March 8, 2021, 9:40pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/3 "2021-03-08T21:40:03Z")

</div>

Main Family Component you mean all Model categories (not Annotation) like for example Lines?

I’ve tried to use Model categories but I’ve faced problem with categoryId: _1. The input category id cannot be assigned as the new category for this family.Parameter name: categoryId._

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

I want to create family contains flat triangles with possiblity to assign angles and lenght of the sides of the triangle via shared parameters (please see picture above).

I thought the generic annotations template will be the best choice. If you have any advice of model categories and templates to create flat triangle (lines or surface) I really appreciate.

---

<div class="post-metadata">

**Author:** ![scottd](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/scottd/32/494002_2.png) [@scottd](https://discourse.mcneel.com/u/scottd)\
**Post date:** [March 8, 2021, 11:40pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/4 "2021-03-08T23:40:32Z")

</div>

Normally if I wanted a family to adapt to the Grasshopper shape, I would use an adaptive Family.

Here is an example: [Rhino.Inside®.Revit](https://www.rhino3d.com/inside/revit/beta/discover/adaptive-components-with-grasshopper)

Is this an existing Family in Revit which you are trying to change?

---

<div class="post-metadata">

**Author:** ![thomas.lagarde](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/thomas.lagarde/32/477743_2.png) [@thomas.lagarde](https://discourse.mcneel.com/u/thomas.lagarde)\
**Post date:** [June 19, 2023, 5:32pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/5 "2023-06-19T17:32:00Z")

</div>

I have the same problem, I can’t create a ceiling family apparently

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/0/a/1/0a1fb314cdfddc0915839c2f0e24ea5540b28ce3.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 19, 2023, 5:58pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/6 "2023-06-19T17:58:00Z")

</div>

For a Ceiling (system family) or a Host Ceiling Family (such as a light)? If you are trying to fake a system family see this workaround for adding System Category ‘faux’ family.

> **[Rhino.Inside®.Revit](https://www.rhino3d.com/inside/revit/1.0/guides/revit-types#creating-new-family-templates)**
>
> When working with Revit or Revit API, we are mostly dealing with Revit Types and Custom Families. This gu...

---

<div class="post-metadata">

**Author:** ![thomas.lagarde](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/thomas.lagarde/32/477743_2.png) [@thomas.lagarde](https://discourse.mcneel.com/u/thomas.lagarde)\
**Post date:** [June 22, 2023, 6:12pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/7 "2023-06-22T18:12:19Z")

</div>

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/d/3/b/d3b399de40cfdc2e36c130effc8caeb3e4ccb929.png)  
Is that a typo in the explanation ? “As an RFA file”

---

<div class="post-metadata">

**Author:** ![thomas.lagarde](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/thomas.lagarde/32/477743_2.png) [@thomas.lagarde](https://discourse.mcneel.com/u/thomas.lagarde)\
**Post date:** [June 22, 2023, 6:38pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/8 "2023-06-22T18:38:04Z")

</div>

Also I am not trying to do anything crazy. I would just like to transfer a Shape from Rhino to Revit and have it classified as a ceiling and have all the parameters of a pre existing ceiling type that I picked, also to be located exactly where it is in Rhino. Is there such a component in RhinoInsideRevit, Pick geometry, pick category, pick type, profit ?

---

<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 22, 2023, 7:13pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/10 "2023-06-22T19:13:10Z")

</div>

> [@thomas.lagarde](#):
>
> classified as a ceiling and have all the parameters of a pre existing ceiling type that I picked

The Ceilings Type Parameters are specific to the System Family.

A DirectShape will get you the closest to your wish. You would need to make custom parameters that align with your System Families and DirectShape types for scheduling and tagging purposes.

> **[Rhino.Inside®.Revit](https://www.rhino3d.com/inside/revit/1.0/guides/revit-directshapes)**
>
> The DirectShape element store geometric shapes in a Revit document. The geometry can include closed points, lines, solids or meshes. DirectShape is primarily...

---

<div class="post-metadata">

**Author:** ![thomas.lagarde](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/thomas.lagarde/32/477743_2.png) [@thomas.lagarde](https://discourse.mcneel.com/u/thomas.lagarde)\
**Post date:** [June 22, 2023, 7:25pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/11 "2023-06-22T19:25:15Z")

</div>

Well I would need those things

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/f/9/9/f994a8fb073cb6ea9bd60c5980828613c4094ac2.png)  
So direct shape or direct shape types is not an option.  
Isn’t there a template or a component that can simply get a geometry and transfer it to Revit, in place and with all the parameters of a type you have selected (apparently as a components family since it’s the only one that has almost all I need).  
Component is almost perfect, there must be way to place it easily just the way it is in Rhino.

---

<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 22, 2023, 7:36pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/12 "2023-06-22T19:36:32Z")

</div>

> [@thomas.lagarde](#):
>
> Isn’t there a template or a component that can simply get a geometry and transfer it to Revit, in place and with all the parameters of a type you have selected

Revit does not have that functionality, their answer is the in-place component, direct shape or direct shape type; all of which come up a little short of your needs.

---

<div class="post-metadata">

**Author:** ![thomas.lagarde](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/thomas.lagarde/32/477743_2.png) [@thomas.lagarde](https://discourse.mcneel.com/u/thomas.lagarde)\
**Post date:** [June 22, 2023, 8:16pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/13 "2023-06-22T20:16:56Z")

</div>

> [@Japhy](#):
>
> in-place component

Are you talking about this ?

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/1/0/3/1034f22070055100ec5dace5516ec330b2ac5942.jpeg)

Why is there no explanation about it ? Why is there a Brep output ?

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/7/0/9/709a1938833655cc77eea36bfb02931ce0a4b577.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 22, 2023, 8:35pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/14 "2023-06-22T20:35:11Z")

</div>

Model Component In-Place is a Revit UI function.

---

<div class="post-metadata">

**Author:** ![thomas.lagarde](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/thomas.lagarde/32/477743_2.png) [@thomas.lagarde](https://discourse.mcneel.com/u/thomas.lagarde)\
**Post date:** [June 22, 2023, 8:41pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/15 "2023-06-22T20:41:17Z")

</div>

Okay we might need a little explanation on this, there is no help in the Rhino interface or your website, needs some update.

---

<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 22, 2023, 8:45pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/16 "2023-06-22T20:45:38Z")

</div>

> [@Japhy](#):
>
> > [@thomas.lagarde](#):
> >
> > Isn’t there a template or a component that can simply get a geometry and transfer it to Revit, in place and with all the parameters of a type you have selected
> 
> Revit does not have that functionality, their answer is the in-place component, direct shape or direct shape type; all of which come up a little short of your needs.

This is referring to Revit’s ability to create a one-off Element in a System Family Category.

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

---

<div class="post-metadata">

**Author:** ![thomas.lagarde](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/thomas.lagarde/32/477743_2.png) [@thomas.lagarde](https://discourse.mcneel.com/u/thomas.lagarde)\
**Post date:** [June 22, 2023, 9:09pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/17 "2023-06-22T21:09:59Z")

</div>

Cool, but then the output should be called shape or form no ? Also can you update the help/definition in the plugin and on the webpage ?

---

<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 22, 2023, 9:22pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/18 "2023-06-22T21:22:50Z")

</div>

The Component Family Form is for creating geometry in a Family & the output label seems appropriate

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

---

<div class="post-metadata">

**Author:** ![thomas.lagarde](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/thomas.lagarde/32/477743_2.png) [@thomas.lagarde](https://discourse.mcneel.com/u/thomas.lagarde)\
**Post date:** [June 26, 2023, 3:26pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/19 "2023-06-26T15:26:25Z")

</div>

Just to get back on this.  
As of know if I understand correctly, when I model walls, ceilings and other things in Rhino with a precise location in mind

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/a/5/c/a5c354e012969adecec4754ea843873a38c864d9.jpeg)

My only option to have them appear in Revit at their exact location is to use direct shape as such

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

But then, nobody else can modify them and tagging them and scheduling them is an headache

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/e/8/d/e8d2c8edea15e5ff90f796723f53e090e5466d06.png)

Is that correct as of today ?

---

<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 26, 2023, 3:36pm UTC](https://discourse.mcneel.com/t/loadable-families-with-subcategory/119967/20 "2023-06-26T15:36:26Z")

</div>

Correct, Direct Shapes are not modifiable via the Revit UI.

Tagging and Scheduling requires a shared Parameter.

> [@Add Scheduled and Tagged Direct Shapes to Revit Example](https://discourse.mcneel.com/t/add-scheduled-and-tagged-direct-shapes-to-revit-example/134572):
>
> A quick tutorial on bringing in Direct Shapes from Rhino that have Materials & Tags. [[DirectShape Schedules Example Rhino.Inside.Revit] ](https://www.youtube.com/watch?v=nyO7ZlOHS6o) Revit file is 2022.1 (can be recreated in 2018 and above from the files below) Rhino 7 in Decimal Feet. Rhino.Inside.Revit 1.3.7983.15227 Requires Elefront Plugin [eleFront | Food4Rhino](https://www.food4rhino.com/en/app/elefront)[103-Add Scheduled Direct Shapes.rvt](https://discourse.mcneel.com/uploads/short-url/dLGGl9v2uldU4UX2DDm4Bstabd5.rvt) (1.6 MB) [Rhino\_Param\_Breps.3dm](https://discourse.mcneel.com/uploads/short-url/brGEQfmVJjTQPfxXXDqU4xZUsBi.3dm) (1.3 MB) [Parameters-103-DirectShape.gh](https://discourse.mcneel.com/uploads/short-url/xSPC1CIUkImByLXKQtZy0b6GjPb.gh) (13.7 KB)
