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.
Namespace: Karamba.GHopper.CrossSectionsAssembly: karamba (in karamba.dll) Version: 1.0.0+eb23a7103f0eca0b6d808121e15fec6899194e15
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
)
Public Shared Sub ReadCroSecDataFromComponent (
da As IGH_DataAccess,
defaultEcceZ As Double,
defaultHeight As Double,
defaultMaterial As FemMaterial,
isConst As Boolean,
<OutAttribute> ByRef msg As String,
<OutAttribute> ByRef level As GH_RuntimeMessageLevel,
<OutAttribute> ByRef familyName As String,
<OutAttribute> ByRef crosecName As String,
<OutAttribute> ByRef elemIds As List(Of String),
<OutAttribute> ByRef color As Color?,
<OutAttribute> ByRef materials As List(Of FemMaterial),
<OutAttribute> ByRef ecceZ As List(Of Double),
<OutAttribute> ByRef heights As List(Of Double)
)
public:
static void ReadCroSecDataFromComponent(
IGH_DataAccess^ da,
double defaultEcceZ,
double defaultHeight,
FemMaterial^ defaultMaterial,
bool isConst,
[OutAttribute] String^% msg,
[OutAttribute] GH_RuntimeMessageLevel% level,
[OutAttribute] String^% familyName,
[OutAttribute] String^% crosecName,
[OutAttribute] List<String^>^% elemIds,
[OutAttribute] Nullable<Color>% color,
[OutAttribute] List<FemMaterial^>^% materials,
[OutAttribute] List<double>^% ecceZ,
[OutAttribute] List<double>^% heights
)
static member ReadCroSecDataFromComponent :
da : IGH_DataAccess *
defaultEcceZ : float *
defaultHeight : float *
defaultMaterial : FemMaterial *
isConst : bool *
msg : string byref *
level : GH_RuntimeMessageLevel byref *
familyName : string byref *
crosecName : string byref *
elemIds : List<string> byref *
color : Nullable<Color> byref *
materials : List<FemMaterial> byref *
ecceZ : List<float> byref *
heights : List<float> byref -> unit
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.