|
Component_CroSecreadCroSecDataFromComponent Method (IGH_DataAccess, Double, Double, Boolean, String, GH_RuntimeMessageLevel, String, String, ListString, NullableColor, ListFemMaterial, ListDouble, ListDouble)
|
retrieve cross section data from component data
Namespace:
Karamba.GHopper.CrossSections
Assembly:
karambaGH (in karambaGH.dll) Version: 1.15.0.0 (1.15.0.0)
Syntaxpublic static void readCroSecDataFromComponent(
IGH_DataAccess DA,
double default_ecce_z,
double default_height,
bool is_const,
out string msg,
out GH_RuntimeMessageLevel level,
out string family_name,
out string crosec_name,
out List<string> elem_ids,
out Nullable<Color> color,
out List<FemMaterial> materials,
out List<double> ecce_z,
out List<double> heights
)
Public Shared Sub readCroSecDataFromComponent (
DA As IGH_DataAccess,
default_ecce_z As Double,
default_height As Double,
is_const As Boolean,
<OutAttribute> ByRef msg As String,
<OutAttribute> ByRef level As GH_RuntimeMessageLevel,
<OutAttribute> ByRef family_name As String,
<OutAttribute> ByRef crosec_name As String,
<OutAttribute> ByRef elem_ids As List(Of String),
<OutAttribute> ByRef color As Nullable(Of Color),
<OutAttribute> ByRef materials As List(Of FemMaterial),
<OutAttribute> ByRef ecce_z As List(Of Double),
<OutAttribute> ByRef heights As List(Of Double)
)
public:
static void readCroSecDataFromComponent(
IGH_DataAccess^ DA,
double default_ecce_z,
double default_height,
bool is_const,
[OutAttribute] String^% msg,
[OutAttribute] GH_RuntimeMessageLevel% level,
[OutAttribute] String^% family_name,
[OutAttribute] String^% crosec_name,
[OutAttribute] List<String^>^% elem_ids,
[OutAttribute] Nullable<Color>% color,
[OutAttribute] List<FemMaterial^>^% materials,
[OutAttribute] List<double>^% ecce_z,
[OutAttribute] List<double>^% heights
)
static member readCroSecDataFromComponent :
DA : IGH_DataAccess *
default_ecce_z : float *
default_height : float *
is_const : bool *
msg : string byref *
level : GH_RuntimeMessageLevel byref *
family_name : string byref *
crosec_name : string byref *
elem_ids : List<string> byref *
color : Nullable<Color> byref *
materials : List<FemMaterial> byref *
ecce_z : List<float> byref *
heights : List<float> byref -> unit
Parameters
- DA
- Type: IGH_DataAccess
Grasshopper data access object - default_ecce_z
- Type: SystemDouble
default cross section eccentricity in z-direction - default_height
- Type: SystemDouble
default height of the cross section - is_const
- Type: SystemBoolean
true if marerial, height and eccentricity are constant - msg
- Type: SystemString
eror message or "" - level
- Type: GH_RuntimeMessageLevel
severeness of message - family_name
- Type: SystemString
family name - crosec_name
- Type: SystemString
cross section name - elem_ids
- Type: System.Collections.GenericListString
identifiers of elements on which the cross section shall apply - color
- Type: SystemNullableColor
color to be used for coloring the cross section - materials
- Type: System.Collections.GenericListFemMaterial
references of material to be used for the cross section or null - ecce_z
- Type: System.Collections.GenericListDouble
eccentricity in z-direction - heights
- Type: System.Collections.GenericListDouble
cross section heights
See Also