Skip to content

Commit ddef9e8

Browse files
authored
Merge pull request #11 from BHoM/automatic-api-updates
API Updates
2 parents 9d31b0b + 8b13363 commit ddef9e8

15 files changed

Lines changed: 89 additions & 18 deletions
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
title: Joint
3+
---
4+
5+
# <small>BH.oM.Adapters.GSA.Elements.</small>**Joint**
6+
7+
A joint describing linked degrees of freedom between nodes. Relates the displacement or force at the constrained degree of freedom to the primary degree of freedom without considering eccentricities.
8+
9+
## Class structure
10+
11+
### Implemented interfaces and base types
12+
13+
???+ bhom "The Joint is inheriting from the following base type(s) and implements the following interfaces:"
14+
15+
- BH.oM.Base.[BHoMObject](/api/oM/Framework/Base/BHoMObject)
16+
- BH.oM.Base.[IBHoMObject](/api/oM/Framework/Base/Interface/IBHoMObject)
17+
- BH.oM.Base.[IObject](/api/oM/Framework/Base/Interface/IObject)
18+
19+
20+
## Properties
21+
22+
23+
24+
### Defining properties
25+
26+
The following properties are defined on the class
27+
28+
| Name | Type | Description | Quantity |
29+
|------------------|------------------|------------------|------------------|
30+
| PrimaryNode | [Node](/api/oM/Analytical/Structure/Elements/Node) | Defines the primary node of the joint. | - |
31+
| ConstrainedNode | [Node](/api/oM/Analytical/Structure/Elements/Node) | Defines the constrained node of the joint. | - |
32+
| X | [bool](https://learn.microsoft.com/en-us/dotnet/api/System.Boolean?view=netstandard-2.0) | True defines a rigid connectivity between primary and constrained node for translations along the X-axis, i.e. true prohibits relative translation along the X-axis between primary and constrained node. | - |
33+
| Y | [bool](https://learn.microsoft.com/en-us/dotnet/api/System.Boolean?view=netstandard-2.0) | True defines a rigid connectivity between primary and constrained node for translations along the Y-axis, i.e. true prohibits relative translation along the Y-axis between primary and constrained node. | - |
34+
| Z | [bool](https://learn.microsoft.com/en-us/dotnet/api/System.Boolean?view=netstandard-2.0) | True defines a rigid connectivity between primary and constrained node for translations along the Z-axis, i.e. true prohibits relative translation along the Z-axis between primary and constrained node. | - |
35+
| XX | [bool](https://learn.microsoft.com/en-us/dotnet/api/System.Boolean?view=netstandard-2.0) | True defines a rigid connectivity between primary and constrained node for rotations about the X-axis, i.e. true prohibits relative rotation about the X-axis between primary and constrained node. | - |
36+
| YY | [bool](https://learn.microsoft.com/en-us/dotnet/api/System.Boolean?view=netstandard-2.0) | True defines a rigid connectivity between primary and constrained node for rotations about the Y-axis, i.e. true prohibits relative rotation about the Y-axis between primary and constrained node. | - |
37+
| ZZ | [bool](https://learn.microsoft.com/en-us/dotnet/api/System.Boolean?view=netstandard-2.0) | True defines a rigid connectivity between primary and constrained node for rotations about the Z-axis, i.e. true prohibits relative rotation about the Z-axis between primary and constrained node. | - |
38+
| StageList | [List](https://learn.microsoft.com/en-us/dotnet/api/System.Collections.Generic.List-1?view=netstandard-2.0)&lt;[int](https://learn.microsoft.com/en-us/dotnet/api/System.Int32?view=netstandard-2.0)&gt; | List of analysis stages where the joint should be active as a list of integers. If none specified 'all' will be applied. | - |
39+
40+
41+
### Inherited properties
42+
The following properties are inherited from the base class of the object
43+
44+
| Name | Type | Description | Quantity |
45+
|------------------|------------------|------------------|------------------|
46+
| BHoM_Guid | [Guid](https://learn.microsoft.com/en-us/dotnet/api/System.Guid?view=netstandard-2.0) | - | - |
47+
| Name | [string](https://learn.microsoft.com/en-us/dotnet/api/System.String?view=netstandard-2.0) | - | - |
48+
| Fragments | [FragmentSet](/api/oM/Framework/Base/FragmentSet) | - | - |
49+
| Tags | [HashSet](https://learn.microsoft.com/en-us/dotnet/api/System.Collections.Generic.HashSet-1?view=netstandard-2.0)&lt;[string](https://learn.microsoft.com/en-us/dotnet/api/System.String?view=netstandard-2.0)&gt; | - | - |
50+
| CustomData | [Dictionary](https://learn.microsoft.com/en-us/dotnet/api/System.Collections.Generic.Dictionary-2?view=netstandard-2.0)&lt;[string](https://learn.microsoft.com/en-us/dotnet/api/System.String?view=netstandard-2.0), [object](https://learn.microsoft.com/en-us/dotnet/api/System.Object?view=netstandard-2.0)&gt; | - | - |
51+
52+
53+
## Code and Schema
54+
55+
### C# implementation
56+
57+
``` C# title="C#"
58+
public class Joint : BH.oM.Base.BHoMObject, BH.oM.Base.IBHoMObject, BH.oM.Base.IObject
59+
```
60+
61+
Assembly: GSA_oM.dll
62+
63+
The C# class definition is available on github:
64+
65+
- [Joint.cs](https://github.com/BHoM/GSA_Toolkit/blob/develop/GSA_oM/Elements\Joint.cs)
66+
67+
All history and changes of the class can be found by inspection the history.

docs/oM/Adapter/Adapters/Revit/Misc/ClonedType.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The following properties are defined on the class
2727

2828
| Name | Type | Description | Quantity |
2929
|------------------|------------------|------------------|------------------|
30-
| SourceTypeId | [int](https://learn.microsoft.com/en-us/dotnet/api/System.Int32?view=netstandard-2.0) | ElementId of the source Revit type to be cloned. | - |
30+
| SourceTypeId | [long](https://learn.microsoft.com/en-us/dotnet/api/System.Int64?view=netstandard-2.0) | ElementId of the source Revit type to be cloned. | - |
3131

3232

3333
### Inherited properties

docs/oM/Adapter/Adapters/Revit/Parameters/RevitIdentifiers.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ The following properties are defined on the class
2929
| Name | Type | Description | Quantity |
3030
|------------------|------------------|------------------|------------------|
3131
| PersistentId | [object](https://learn.microsoft.com/en-us/dotnet/api/System.Object?view=netstandard-2.0) | The PersistentId property stores the UniqueId of the Revit element correspondent to the BHoM object that owns this fragment. The PersistentId can be used for Diffing purposes. | - |
32-
| ElementId | [int](https://learn.microsoft.com/en-us/dotnet/api/System.Int32?view=netstandard-2.0) | ElementId of the Revit element correspondent to the BHoM object that carries this fragment. | - |
32+
| ElementId | [long](https://learn.microsoft.com/en-us/dotnet/api/System.Int64?view=netstandard-2.0) | ElementId of the Revit element correspondent to the BHoM object that carries this fragment. | - |
3333
| CategoryName | [string](https://learn.microsoft.com/en-us/dotnet/api/System.String?view=netstandard-2.0) | Category of the Revit element correspondent to the BHoM object that carries this fragment. | - |
3434
| FamilyName | [string](https://learn.microsoft.com/en-us/dotnet/api/System.String?view=netstandard-2.0) | Family of the Revit element correspondent to the BHoM object that carries this fragment. | - |
3535
| FamilyTypeName | [string](https://learn.microsoft.com/en-us/dotnet/api/System.String?view=netstandard-2.0) | Family type of the Revit element correspondent to the BHoM object that carries this fragment. | - |
36-
| FamilyTypeId | [int](https://learn.microsoft.com/en-us/dotnet/api/System.Int32?view=netstandard-2.0) | ElementId of family type of the Revit element correspondent to the BHoM object that carries this fragment. | - |
36+
| FamilyTypeId | [long](https://learn.microsoft.com/en-us/dotnet/api/System.Int64?view=netstandard-2.0) | ElementId of family type of the Revit element correspondent to the BHoM object that carries this fragment. | - |
3737
| Workset | [string](https://learn.microsoft.com/en-us/dotnet/api/System.String?view=netstandard-2.0) | Name of the parent workset of the Revit element correspondent to the BHoM object that carries this fragment. Empty if the Revit model is not shared. | - |
38-
| OwnerViewId | [int](https://learn.microsoft.com/en-us/dotnet/api/System.Int32?view=netstandard-2.0) | ElementId of view that owns the Revit element correspondent to the BHoM object that carries this fragment. -1 if the Revit element is not view-dependent. | - |
39-
| ParentElementId | [int](https://learn.microsoft.com/en-us/dotnet/api/System.Int32?view=netstandard-2.0) | ElementId of the parent element of the Revit element correspondent to the BHoM object that carries this fragment. -1 if the Revit element is not a nested element. | - |
38+
| OwnerViewId | [long](https://learn.microsoft.com/en-us/dotnet/api/System.Int64?view=netstandard-2.0) | ElementId of view that owns the Revit element correspondent to the BHoM object that carries this fragment. -1 if the Revit element is not view-dependent. | - |
39+
| ParentElementId | [long](https://learn.microsoft.com/en-us/dotnet/api/System.Int64?view=netstandard-2.0) | ElementId of the parent element of the Revit element correspondent to the BHoM object that carries this fragment. -1 if the Revit element is not a nested element. | - |
4040
| LinkDocument | [string](https://learn.microsoft.com/en-us/dotnet/api/System.String?view=netstandard-2.0) | Name of the link document containing the Revit element correspondent to the BHoM object that carries this fragment. Empty if the Revit element is not a link element. | - |
4141

4242

docs/oM/Adapter/Adapters/Revit/Requests/FilterByElementIds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The following properties are defined on the class
2626

2727
| Name | Type | Description | Quantity |
2828
|------------------|------------------|------------------|------------------|
29-
| ElementIds | [List](https://learn.microsoft.com/en-us/dotnet/api/System.Collections.Generic.List-1?view=netstandard-2.0)&lt;[int](https://learn.microsoft.com/en-us/dotnet/api/System.Int32?view=netstandard-2.0)&gt; | List of integers representing Revit ElementIds to be used to filter the elements. | - |
29+
| ElementIds | [List](https://learn.microsoft.com/en-us/dotnet/api/System.Collections.Generic.List-1?view=netstandard-2.0)&lt;[long](https://learn.microsoft.com/en-us/dotnet/api/System.Int64?view=netstandard-2.0)&gt; | List of integers representing Revit ElementIds to be used to filter the elements. | - |
3030

3131

3232
### Derived properties

docs/oM/Adapter/Adapters/Revit/Requests/FilterByFamilyType.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The following properties are defined on the class
2626

2727
| Name | Type | Description | Quantity |
2828
|------------------|------------------|------------------|------------------|
29-
| FamilyTypeId | [int](https://learn.microsoft.com/en-us/dotnet/api/System.Int32?view=netstandard-2.0) | ElementId of the Revit family type. | - |
29+
| FamilyTypeId | [long](https://learn.microsoft.com/en-us/dotnet/api/System.Int64?view=netstandard-2.0) | ElementId of the Revit family type. | - |
3030

3131

3232
### Derived properties

docs/oM/Adapter/Adapters/Revit/Requests/FilterByViewSpecific.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The following properties are defined on the class
2626

2727
| Name | Type | Description | Quantity |
2828
|------------------|------------------|------------------|------------------|
29-
| ViewId | [int](https://learn.microsoft.com/en-us/dotnet/api/System.Int32?view=netstandard-2.0) | ElementId of the owner view in Revit. | - |
29+
| ViewId | [long](https://learn.microsoft.com/en-us/dotnet/api/System.Int64?view=netstandard-2.0) | ElementId of the owner view in Revit. | - |
3030

3131

3232
### Derived properties

docs/oM/Adapter/Adapters/Revit/Requests/FilterByVisibleInView.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The following properties are defined on the class
2626

2727
| Name | Type | Description | Quantity |
2828
|------------------|------------------|------------------|------------------|
29-
| ViewId | [int](https://learn.microsoft.com/en-us/dotnet/api/System.Int32?view=netstandard-2.0) | ElementId of Revit view to be checked for element visibility. | - |
29+
| ViewId | [long](https://learn.microsoft.com/en-us/dotnet/api/System.Int64?view=netstandard-2.0) | ElementId of Revit view to be checked for element visibility. | - |
3030

3131

3232
### Derived properties

docs/oM/Adapter/Adapters/Revit/Requests/FilterMemberElements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The following properties are defined on the class
2626

2727
| Name | Type | Description | Quantity |
2828
|------------------|------------------|------------------|------------------|
29-
| ParentId | [int](https://learn.microsoft.com/en-us/dotnet/api/System.Int32?view=netstandard-2.0) | ElementId of the Revit element that contains member elements. | - |
29+
| ParentId | [long](https://learn.microsoft.com/en-us/dotnet/api/System.Int64?view=netstandard-2.0) | ElementId of the Revit element that contains member elements. | - |
3030

3131

3232
### Derived properties

docs/oM/Adapter/Adapters/Revit/Requests/FilterTypesOfFamily.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The following properties are defined on the class
2626

2727
| Name | Type | Description | Quantity |
2828
|------------------|------------------|------------------|------------------|
29-
| FamilyId | [int](https://learn.microsoft.com/en-us/dotnet/api/System.Int32?view=netstandard-2.0) | ElementId of the Revit family, which types are being queried. | - |
29+
| FamilyId | [long](https://learn.microsoft.com/en-us/dotnet/api/System.Int64?view=netstandard-2.0) | ElementId of the Revit family, which types are being queried. | - |
3030

3131

3232
### Derived properties

docs/oM/Adapter/Adapters/Revit/Requests/FilterViewsByTemplate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The following properties are defined on the class
2626

2727
| Name | Type | Description | Quantity |
2828
|------------------|------------------|------------------|------------------|
29-
| TemplateId | [int](https://learn.microsoft.com/en-us/dotnet/api/System.Int32?view=netstandard-2.0) | ElementId of the Revit view template. | - |
29+
| TemplateId | [long](https://learn.microsoft.com/en-us/dotnet/api/System.Int64?view=netstandard-2.0) | ElementId of the Revit view template. | - |
3030

3131

3232
### Derived properties

0 commit comments

Comments
 (0)