BH.oM.Adapters.SAP2000.Fragments.PanelAutoMeshByNumberOfObjects¶
Divide the panel into a given number of elements in each direction.
Class structure¶
Implemented interfaces and base types¶
The PanelAutoMeshByNumberOfObjects is inheriting from the following base type(s) and implements the following interfaces:
- BH.oM.Adapters.SAP2000.Fragments.IPanelAutoMesh
- BH.oM.Base.IFragment
- BH.oM.Base.IObject
Properties¶
Defining properties¶
The following properties are defined on the class
Name | Type | Description | Quantity |
---|---|---|---|
N1 | int | This is the number of objects created along the edge of the meshed area object that runs from point 1 to point 2. | - |
N2 | int | This is the number of objects created along the edge of the meshed area object that runs from point 1 to point 3. | - |
LocalAxesOnEdge | bool | - | - |
LocalAxesOnFace | bool | - | - |
RestraintsOnEdge | bool | - | - |
RestraintsOnFace | bool | - | - |
Group | string | - | - |
SubMesh | bool | - | - |
SubMeshSize | double | - | - |
Code and Schema¶
C# implementation¶
C#
public class PanelAutoMeshByNumberOfObjects : BH.oM.Adapters.SAP2000.Fragments.IPanelAutoMesh, BH.oM.Base.IFragment, BH.oM.Base.IObject
Assembly: SAP2000_oM.dll
The C# class definition is available on github:
All history and changes of the class can be found by inspection the history.
JSON Schema implementation¶
The object is defined as a JSON schema. You can validate a JSON instance against this schema by reference. To do this, use the schema reference below in a validator like this one.
JSON Schema
{
"$ref" : "https://raw.githubusercontent.com/BHoM/BHoM_JSONSchema/develop/SAP2000_oM/Fragments/PanelAutoMeshByNumberOfObjects.json"
}
The JSON Schema is available on github here: