jbervel
2010-03-19, 11:03 AM
Hello,
I do not know how to modify the parameters of the 'Buckling Curve Y/Z' using the API. By default, these parameters are set to 'auto', and I would like to set these values to 'a0', 'a', 'b', 'c' or 'd'.
With this code:
Dim lbl As RobotOM.RobotLabel =
r.Project.Structure.Labels.Create(RobotOM.IRobotLabelType.I_LT_MEMBER_TYPE, "p")
Dim data As RobotOM.RDimMembDef = lbl.Data
data.SetLengthYZUV (RobotOM.IRDimMembDefLengthDataType.I_DMDLDT_LENGTH_Y, 321)
data.SetLengthYZUV(RobotOM.IRDimMembDefLengthDataType.I_DMDLDT_LENGTH_Z, 123)
r.Project.Structure.Labels.Store(lbl)
I can modify other buckling parameters, but I can not access to the 'Buckling Curve' parameters.
Thanks
I do not know how to modify the parameters of the 'Buckling Curve Y/Z' using the API. By default, these parameters are set to 'auto', and I would like to set these values to 'a0', 'a', 'b', 'c' or 'd'.
With this code:
Dim lbl As RobotOM.RobotLabel =
r.Project.Structure.Labels.Create(RobotOM.IRobotLabelType.I_LT_MEMBER_TYPE, "p")
Dim data As RobotOM.RDimMembDef = lbl.Data
data.SetLengthYZUV (RobotOM.IRDimMembDefLengthDataType.I_DMDLDT_LENGTH_Y, 321)
data.SetLengthYZUV(RobotOM.IRDimMembDefLengthDataType.I_DMDLDT_LENGTH_Z, 123)
r.Project.Structure.Labels.Store(lbl)
I can modify other buckling parameters, but I can not access to the 'Buckling Curve' parameters.
Thanks