I am trying to make a family with a changing steel angle. I want to have a few dimensions to change/update depending on the angle size. I have nested in an angle family with a changing profile extrusion to adjust its shape. When I make a family type paramiter it shows up as L-(zero) : L6X4X1/2 with only the L6X4X1/2 differing between types. Another type is L-(zero) : L4X3X1/4. That information would I use to reference the changed type. The parameter I have named as Angle_Type.
I am trying to make a family with a changing steel angle. I want to have a few dimensions to change/update depending on the angle size. I have nested in an angle family with a changing profile extrusion to adjust its shape. When I make a family type paramiter it shows up as L-(zero) : L6X4X1/2 with only the L6X4X1/2 differing between types. Another type is L-(zero) : L4X3X1/4. That information would I use to reference the changed type. The parameter I have named as Angle_Type.
I would assume that an ElementId parameter data type would be appropriate.
The safest way to find out is to set up the required family definition manually through the user interface first and ensure that is all works as expected. Once that is complete, you can analyse the result and see how to create it programmatically. This approach is described in the worksop on the Key Concepts of the Family Editor:
https://thebuildingcoder.typepad.com/blog/2013/06/key-concepts-of-the-family-editor.html
Other hints on defining families and the Family API are provided in The Building Coder topic group:
https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.25.1
I would assume that an ElementId parameter data type would be appropriate.
The safest way to find out is to set up the required family definition manually through the user interface first and ensure that is all works as expected. Once that is complete, you can analyse the result and see how to create it programmatically. This approach is described in the worksop on the Key Concepts of the Family Editor:
https://thebuildingcoder.typepad.com/blog/2013/06/key-concepts-of-the-family-editor.html
Other hints on defining families and the Family API are provided in The Building Coder topic group:
https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.25.1
Can't find what you're looking for? Ask the community or share your knowledge.