Class Column
A vertical structural framing element.
Examples
// Create a framing type.
var profile = _profileFactory.GetProfileByType(WideFlangeProfileType.W10x100);
// Create a column.
var column = new Column(Vector3.Origin, 3.0, null, profile, material: BuiltInMaterials.Steel);
Implements
Inherited Members
Namespace: Elements
Assembly: Hypar.Elements.dll
Syntax
public class Column : StructuralFraming, INotifyPropertyChanged
Constructors
Column()
Construct a column.
Declaration
public Column()
Column(Vector3, Double, Curve, Profile, Transform, Material, Representation, Boolean, Guid, String)
Construct a Column.
Declaration
public Column(Vector3 location, double height, Curve curve, Profile profile, Transform transform = null, Material material = null, Representation representation = null, bool isElementDefinition = false, Guid id = default(Guid), string name = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | location | The location of the base of the column. |
| System.Double | height | The column's height. |
| Curve | curve | The center line of the column. Will be ignored, so you can use 'null'. This parameter is required to support schema |
| Profile | profile | The column's profile. |
| Transform | transform | The column's transform. |
| Material | material | The column's material. |
| Representation | representation | The column's representation. |
| System.Boolean | isElementDefinition | Is this an element definition? |
| System.Guid | id | The column's id. |
| System.String | name | The column's name. |
Column(Vector3, Double, Curve, Profile, Double, Double, Double, Transform, Material, Representation, Boolean, Guid, String)
Construct a Column.
Declaration
public Column(Vector3 location, double height, Curve curve, Profile profile, double startSetback, double endSetback, double rotation, Transform transform = null, Material material = null, Representation representation = null, bool isElementDefinition = false, Guid id = default(Guid), string name = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | location | The location of the base of the column. |
| System.Double | height | The column's height. |
| Curve | curve | The center line of the column. Will be ignored, so you can use 'null'. This parameter is required to support schema |
| Profile | profile | The column's profile. |
| System.Double | startSetback | The setback of the column's extrusion from the base of the column. |
| System.Double | endSetback | The setback of the column's extrusion from the top of the column. |
| System.Double | rotation | An optional rotation of the column's profile around its axis. |
| Transform | transform | The column's transform. |
| Material | material | The column's material. |
| Representation | representation | The column's representation. |
| System.Boolean | isElementDefinition | Is this an element definition? |
| System.Guid | id | The column's id. |
| System.String | name | The column's name. |
Properties
Height
The height of the column.
Declaration
public double Height { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Location
The location of the base of the column.
Declaration
public Vector3 Location { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector3 |