Click or drag to resize

FactoryPartIndexToBeam Method

Create a beam builder from node indexes

Namespace:  KarambaCommon.Factories
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public virtual BuilderBeam IndexToBeam(
	int in_ind_a,
	int in_ind_b,
	string identifier,
	CroSec crosec = null,
	Nullable<Vector3> zOri = null,
	Nullable<Color> color = null
)

Parameters

in_ind_a
Type: SystemInt32
Index of the starting node
in_ind_b
Type: SystemInt32
index of the end node
identifier
Type: SystemString
Name of the element
crosec (Optional)
Type: Karamba.CrossSectionsCroSec
Cross section of the element
zOri (Optional)
Type: SystemNullableVector3
New orientation of the local Z-axis of beam. If the vector has zero length, the default orientation remains in place.
color (Optional)
Type: SystemNullableColor
Color of the beam. The component applies the longest list principle with respect to the input lines.

Return Value

Type: BuilderBeam
Beam builders
See Also