Table of Contents

Class BarPart

Namespace
FemDesign.Bars
Assembly
FemDesign.Core.dll

bar_part_type

Underlying representation of a Bar-element.

public class BarPart : NamedEntityPartBase, IFemDesignEntity, INamedEntity, IStageElement
Inheritance
BarPart
Implements
Inherited Members
Extension Methods

Constructors

BarPart(Edge, BarType, CompositeSection, Eccentricity, Connectivity, string)

Construct a composite barpart with uniform section and uniform start/end conditions.

public BarPart(Edge edge, BarType type, CompositeSection compositeSection, Eccentricity eccentricity, Connectivity connectivity, string identifier)

Parameters

edge Edge
type BarType
compositeSection CompositeSection
eccentricity Eccentricity
connectivity Connectivity
identifier string

BarPart(Edge, BarType, CompositeSection, Eccentricity, Eccentricity, Connectivity, Connectivity, string)

Construct a composite barpart with uniform section and different start/end conditions.

public BarPart(Edge edge, BarType type, CompositeSection compositeSection, Eccentricity startEccentricity, Eccentricity endEccentricity, Connectivity startConnectivity, Connectivity endConnectivity, string identifier)

Parameters

edge Edge
type BarType
compositeSection CompositeSection
startEccentricity Eccentricity
endEccentricity Eccentricity
startConnectivity Connectivity
endConnectivity Connectivity
identifier string

BarPart(Edge, BarType, Material, Section, Eccentricity, Connectivity, string)

Construct beam or column with uniform section and uniform start/end conditions.

public BarPart(Edge edge, BarType type, Material material, Section section, Eccentricity eccentricity, Connectivity connectivity, string identifier)

Parameters

edge Edge
type BarType
material Material
section Section
eccentricity Eccentricity
connectivity Connectivity
identifier string

BarPart(Edge, BarType, Material, Section, Eccentricity, Eccentricity, Connectivity, Connectivity, string)

Construct beam or column with uniform section and different start/end conditions.

public BarPart(Edge edge, BarType type, Material material, Section section, Eccentricity startEccentricity, Eccentricity endEccentricity, Connectivity startConnectivity, Connectivity endConnectivity, string identifier)

Parameters

edge Edge
type BarType
material Material
section Section
startEccentricity Eccentricity
endEccentricity Eccentricity
startConnectivity Connectivity
endConnectivity Connectivity
identifier string

BarPart(Edge, BarType, Material, Section, Section, Eccentricity, Eccentricity, Connectivity, Connectivity, string)

Construct beam or column with start/end section and different start/end conditions

public BarPart(Edge edge, BarType type, Material material, Section startSection, Section endSection, Eccentricity startEccentricity, Eccentricity endEccentricity, Connectivity startConnectivity, Connectivity endConnectivity, string identifier)

Parameters

edge Edge
type BarType
material Material
startSection Section
endSection Section
startEccentricity Eccentricity
endEccentricity Eccentricity
startConnectivity Connectivity
endConnectivity Connectivity
identifier string

BarPart(Edge, BarType, Material, Section, string)

Construct BarPart (truss)

public BarPart(Edge edge, BarType type, Material material, Section section, string identifier)

Parameters

edge Edge
type BarType
material Material
section Section
identifier string

BarPart(Edge, BarType, Material, Section[], Eccentricity[], Connectivity[], string)

Construct beam or column with non-uniform section and start/end conditions

public BarPart(Edge edge, BarType type, Material material, Section[] sections, Eccentricity[] eccentricities, Connectivity[] connectivities, string identifier)

Parameters

edge Edge
type BarType
material Material
sections Section[]
eccentricities Eccentricity[]
connectivities Connectivity[]
identifier string

BarPart(Edge, BarType, Material, Section[], double[], Eccentricity[], Connectivity, Connectivity, string)

Construct beam or column with non-uniform section and start/end conditions

public BarPart(Edge edge, BarType type, Material material, Section[] sections, double[] positions, Eccentricity[] eccentricities, Connectivity startConnectivity, Connectivity endConnectivity, string identifier)

Parameters

edge Edge
type BarType
material Material
sections Section[]
positions double[]
eccentricities Eccentricity[]
startConnectivity Connectivity
endConnectivity Connectivity
identifier string

Fields

End

public string End

Field Value

string

SteelMadeType

public SteelMadeType? SteelMadeType

Field Value

SteelMadeType?

TrussUniformSectionObj

public Section TrussUniformSectionObj

Field Value

Section

Type

public BarType Type

Field Value

BarType

_complexCompositeObj

public ComplexComposite _complexCompositeObj

Field Value

ComplexComposite

_complexCompositeRef

public Guid _complexCompositeRef

Field Value

Guid

_complexMaterialObj

Material field

public Material _complexMaterialObj

Field Value

Material

_complexMaterialRef

public Guid _complexMaterialRef

Field Value

Guid

_complexSectionObj

public ComplexSection _complexSectionObj

Field Value

ComplexSection

_complexSectionRef

public string _complexSectionRef

Field Value

string

_connectivity

public Connectivity[] _connectivity

Field Value

Connectivity[]

_eccentricityTypeField

public ModelEccentricity _eccentricityTypeField

Field Value

ModelEccentricity

_edge

Edge field

public Edge _edge

Field Value

Edge

_localY

public Vector3d _localY

Field Value

Vector3d

Properties

AnalyticalEccentricity

public Eccentricity[] AnalyticalEccentricity { get; set; }

Property Value

Eccentricity[]

BucklingData

public BucklingData BucklingData { get; set; }

Property Value

BucklingData

CamberType2d

public Camber_type_2d CamberType2d { get; set; }

Property Value

Camber_type_2d

Colouring

public EntityColor Colouring { get; set; }

Property Value

EntityColor

ComplexCompositeObj

public ComplexComposite ComplexCompositeObj { get; set; }

Property Value

ComplexComposite

ComplexCompositeRef

public Guid ComplexCompositeRef { get; set; }

Property Value

Guid

ComplexMaterialObj

Material property. When a new material is set the ComplexMaterialRef is updated.

public Material ComplexMaterialObj { get; set; }

Property Value

Material

ComplexMaterialRef

public Guid ComplexMaterialRef { get; set; }

Property Value

Guid

ComplexSectionObj

public ComplexSection ComplexSectionObj { get; set; }

Property Value

ComplexSection

ComplexSectionRef

public string ComplexSectionRef { get; set; }

Property Value

string

Connectivity

public Connectivity[] Connectivity { get; set; }

Property Value

Connectivity[]

EccCrack

public bool EccCrack { get; set; }

Property Value

bool

EccentricityCalc

public bool EccentricityCalc { get; set; }

Property Value

bool

Edge

Edge property

public Edge Edge { get; set; }

Property Value

Edge

FirstOrderAnalysisSc

public bool FirstOrderAnalysisSc { get; set; }

Property Value

bool

FirstOrderAnalysisSf

public bool FirstOrderAnalysisSf { get; set; }

Property Value

bool

FirstOrderAnalysisSq

public bool FirstOrderAnalysisSq { get; set; }

Property Value

bool

FirstOrderAnalysisU

public bool FirstOrderAnalysisU { get; set; }

Property Value

bool

HasComplexCompositeRef

public bool HasComplexCompositeRef { get; }

Property Value

bool

HasComplexMaterialRef

public bool HasComplexMaterialRef { get; }

Property Value

bool

HasComplexSectionRef

public bool HasComplexSectionRef { get; }

Property Value

bool

HasDeltaBeamComplexSectionRef

public bool HasDeltaBeamComplexSectionRef { get; }

Property Value

bool

LocalOrigin

public Point3d LocalOrigin { get; }

Property Value

Point3d

LocalX

public Vector3d LocalX { get; }

Property Value

Vector3d

LocalY

public Vector3d LocalY { get; set; }

Property Value

Vector3d

LocalZ

public Vector3d LocalZ { get; }

Property Value

Vector3d

SectionType

public SectionType SectionType { get; }

Property Value

SectionType

StageId

public int StageId { get; set; }

Property Value

int

StiffnessModifiers

public List<BarStiffnessFactors> StiffnessModifiers { get; set; }

Property Value

List<BarStiffnessFactors>

_eccentricityTypeProperty

public ModelEccentricity _eccentricityTypeProperty { get; set; }

Property Value

ModelEccentricity

Methods

GetUniqueInstanceCount()

This value will be used to set number (like ".1") part of the entity name (like "B.1"). Typically this is a counter starting at 1 and incrementing for each new instance of this class that has been created.

protected override int GetUniqueInstanceCount()

Returns

int

A unique number.

OrientCoordinateSystemToGCS()

Orient this object's coordinate system to GCS

public void OrientCoordinateSystemToGCS()

ShouldSerialize_complexCompositeRef()

public bool ShouldSerialize_complexCompositeRef()

Returns

bool

ShouldSerialize_complexMaterialRef()

public bool ShouldSerialize_complexMaterialRef()

Returns

bool

ShouldSerialize_complexSectionRef()

public bool ShouldSerialize_complexSectionRef()

Returns

bool