Component_CroSecReadCroSecDataFromComponent(IGH_DataAccess, Double, Double, FemMaterial, Boolean, String, GH_RuntimeMessageLevel, String, String, ListString, NullableColor, ListFemMaterial, ListDouble, ListDouble) Method

retrieve cross section data from component data.

Definition

Namespace: Karamba.GHopper.CrossSections
Assembly: karamba (in karamba.dll) Version: 1.0.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public static void ReadCroSecDataFromComponent(
	IGH_DataAccess da,
	double defaultEcceZ,
	double defaultHeight,
	FemMaterial defaultMaterial,
	bool isConst,
	out string msg,
	out GH_RuntimeMessageLevel level,
	out string familyName,
	out string crosecName,
	out List<string> elemIds,
	out Color? color,
	out List<FemMaterial> materials,
	out List<double> ecceZ,
	out List<double> heights
)

Parameters

da  IGH_DataAccess
Grasshopper data access object.
defaultEcceZ  Double
default cross section eccentricity in z-direction.
defaultHeight  Double
default height of the cross section.
defaultMaterial  FemMaterial
default material of the cross section.
isConst  Boolean
true if material, height and eccentricity are constant.
msg  String
error message or "".
level  GH_RuntimeMessageLevel
severeness of message.
familyName  String
family name.
crosecName  String
cross section name.
elemIds  ListString
identifiers of elements on which the cross section shall apply.
color  NullableColor
color to be used for coloring the cross section.
materials  ListFemMaterial
references of material to be used for the cross section or null.
ecceZ  ListDouble
eccentricity in z-direction.
heights  ListDouble
cross section heights.

See Also