<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Moment Capacity Curve via API (nonlinear hinge, support, release example) in Robot Structural Analysis Forum</title>
    <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4505699#M77010</link>
    <description>What do you expect to get ?</description>
    <pubDate>Wed, 09 Oct 2013 14:19:26 GMT</pubDate>
    <dc:creator>Rafal.Gaweda</dc:creator>
    <dc:date>2013-10-09T14:19:26Z</dc:date>
    <item>
      <title>(API) Moment Capacity Curve via API (nonlinear hinge, support, release example)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4317393#M77003</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to access the following via API?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/55431i15C6393C962F8BB8/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="moment capacity.JPG" title="moment capacity.JPG" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Tony&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2014 12:03:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4317393#M77003</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-19T12:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Moment Capacity Curve via API</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4317771#M77004</link>
      <description>&lt;P&gt;Tony,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have fun (these code copies hinges from robot kernel to Robot but it will give you idea how to access data):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Public Sub NonLinFunctionsHandle(ByVal r As RobotOM.RobotApplication, ByVal k As KernelOM.RobotKernel)

              FormMain.ProgressBarInit(1, "nonlinear functions")
              FormMain.log.AddComment("definition of nonlinear functions")

              Dim KnlL As KernelOM.RobotNonlinearLink
              Dim nlLP As RobotOM.IRobotNonlinearLinkParams
              Dim nlL As RobotOM.RobotNonlinearLink
              Dim i As Integer
              Dim j As Integer
              Dim q As Integer
              Dim f_ As Integer
              Dim t_ As Integer

              For i = 1 To r.Project.Structure.Nodes.NonlinearLinks.Count
                     nlL = r.Project.Structure.Nodes.NonlinearLinks.Get(i)
                     KnlL = k.Structure.Nodes.NonlinearLinks.Create(nlL.Name)
                     KnlL.ModelType = nlL.ModelType
                     If nlL.Symetry Then
                           f_ = RobotOM.IRobotNonlinearLinkSemiAxisType.I_NLSAT_ANY
                           t_ = RobotOM.IRobotNonlinearLinkSemiAxisType.I_NLSAT_ANY
                     Else
                           f_ = RobotOM.IRobotNonlinearLinkSemiAxisType.I_NLSAT_POSITIVE
                           t_ = RobotOM.IRobotNonlinearLinkSemiAxisType.I_NLSAT_NEGATIVE
                     End If

                     For j = f_ To t_
                           nlLP = nlL.GetParams(j)
                           KnlL.SetCurveType(nlLP.CurveType, j)
                           If nlLP.CurveType = RobotOM.IRobotNonlinearLinkCurveType.I_NLCT_B_LINEAR Then
                                  Dim KnnLP As KernelOM.RobotNonlinearLinkParamsBLinear
                                  Dim nllP_ As RobotOM.RobotNonlinearLinkParamsBLinear
                                  KnnLP = KnlL.GetParams(j)
                                  nllP_ = nlL.GetParams(j)
                                  KnnLP.K1 = nllP_.K1
                                  KnnLP.K2 = nllP_.K2
                                  KnnLP.d1 = nllP_.d1
                                  KnlL.SetParams(KnnLP)
                           ElseIf nlLP.CurveType = RobotOM.IRobotNonlinearLinkCurveType.I_NLCT_CUSTOM Then
                                  Dim KnnLP As KernelOM.RobotNonlinearLinkParamsCustom
                                  Dim nllP_ As RobotOM.RobotNonlinearLinkParamsCustom
                                  KnnLP = KnlL.GetParams(j)
                                  nllP_ = nlL.GetParams(j)
                                  For q = 1 To nllP_.Count
                                         Dim seg As RobotOM.RobotNonlinearLinkParamsCustomSegment
                                         Dim Kseg As KernelOM.RobotNonlinearLinkParamsCustomSegment
                                         seg = nllP_.Get(q)
                                         Kseg = KnnLP.[New]()
                                         Kseg.Constant = seg.Constant
                                         Kseg.Expression = seg.Expression
                                         Kseg.OriginPoint = seg.OriginPoint
                                         KnnLP.Set(q, Kseg)
                                  Next
                                  KnlL.SetParams(KnnLP)
                           ElseIf nlLP.CurveType = RobotOM.IRobotNonlinearLinkCurveType.I_NLCT_GAP_HOOK Then
                                  Dim KnnLP As KernelOM.RobotNonlinearLinkParamsGapHook
                                  Dim nllP_ As RobotOM.RobotNonlinearLinkParamsGapHook
                                  KnnLP = KnlL.GetParams(j)
                                  nllP_ = nlL.GetParams(j)
                                  KnnLP.K = nllP_.K
                                  KnnLP.D = nllP_.D
                                  KnlL.SetParams(KnnLP)
                           ElseIf nlLP.CurveType = RobotOM.IRobotNonlinearLinkCurveType.I_NLCT_LINEAR Then
                                  Dim KnnLP As KernelOM.RobotNonlinearLinkParamsLinear
                                  Dim nllP_ As RobotOM.RobotNonlinearLinkParamsLinear
                                  KnnLP = KnlL.GetParams(j)
                                  nllP_ = nlL.GetParams(j)
                                  KnnLP.K = nllP_.K
                                  KnlL.SetParams(KnnLP)
                           ElseIf nlLP.CurveType = RobotOM.IRobotNonlinearLinkCurveType.I_NLCT_PARABOLIC Then
                                  Dim KnnLP As KernelOM.RobotNonlinearLinkParamsParabolic
                                  Dim nllP_ As RobotOM.RobotNonlinearLinkParamsParabolic
                                  KnnLP = KnlL.GetParams(j)
                                  nllP_ = nlL.GetParams(j)
                                  KnnLP.Dlim = nllP_.Dlim
                                  KnnLP.Dmax = nllP_.Dmax
                                  KnnLP.Flim = nllP_.Flim
                                  KnnLP.K = nllP_.K
                                  KnlL.SetParams(KnnLP)
                           ElseIf nlLP.CurveType = RobotOM.IRobotNonlinearLinkCurveType.I_NLCT_PARABOLIC_EC2 Then       '?
                                  Dim KnnLP As KernelOM.RobotNonlinearLinkParamsParabolic
                                  Dim nllP_ As RobotOM.RobotNonlinearLinkParamsParabolic
                                  KnnLP = KnlL.GetParams(j)
                                  nllP_ = nlL.GetParams(j)
                                  KnnLP.Dlim = nllP_.Dlim
                                  KnnLP.Dmax = nllP_.Dmax
                                  KnnLP.Flim = nllP_.Flim
                                  KnnLP.K = nllP_.K
                                  KnlL.SetParams(KnnLP)
                           ElseIf nlLP.CurveType = RobotOM.IRobotNonlinearLinkCurveType.I_NLCT_PERFECTLY_PLASTIC Then
                                  Dim KnnLP As KernelOM.RobotNonlinearLinkParamsPlastic
                                  Dim nllP_ As RobotOM.RobotNonlinearLinkParamsPlastic
                                  KnnLP = KnlL.GetParams(j)
                                  nllP_ = nlL.GetParams(j)
                                  KnnLP.Dlim = nllP_.Dlim
                                  KnnLP.Flim = nllP_.Flim
                                  KnnLP.W = nllP_.W
                                  KnnLP.K = nllP_.K
                                  KnlL.SetParams(KnnLP)
                           ElseIf nlLP.CurveType = RobotOM.IRobotNonlinearLinkCurveType.I_NLCT_PLASTIC_WITH_HARDENING Then
                                  Dim KnnLP As KernelOM.RobotNonlinearLinkParamsPlasticHardening
                                  Dim nllP_ As RobotOM.RobotNonlinearLinkParamsPlasticHardening
                                  KnnLP = KnlL.GetParams(j)
                                  nllP_ = nlL.GetParams(j)
                                  KnnLP.Dlim = nllP_.Dlim
                                  KnnLP.Flim = nllP_.Flim
                                  KnnLP.W = nllP_.W
                                  KnnLP.K0 = nllP_.K0
                                  KnnLP.K1 = nllP_.K1
                                  KnlL.SetParams(KnnLP)
                           Else
                                  'not handled
                           End If

                     Next

              Next

              'non-linear hinge functions
              Dim nlHP As RobotOM.RobotNonlinearHingeModelAxisParams
              Dim KnlHP As KernelOM.RobotNonlinearHingeModelAxisParams
              Dim KnlHM As KernelOM.RobotNonlinearHingeModelPoints
              Dim nlHM As RobotOM.RobotNonlinearHingeModelPoints
              Dim nlH As RobotOM.RobotNonlinearHingeModel
              Dim KnlH As KernelOM.RobotNonlinearHingeModel

              For i = 1 To r.Project.Structure.Bars.NonlinearHingeModels.Count

                     nlH = r.Project.Structure.Bars.NonlinearHingeModels.Get(i)
                     KnlH = k.Structure.Bars.NonlinearHingeModels.Create(nlH.Name)

                     If nlH.Symetry Then
                           f_ = RobotOM.IRobotNonlinearLinkSemiAxisType.I_NLSAT_ANY
                           t_ = RobotOM.IRobotNonlinearLinkSemiAxisType.I_NLSAT_ANY
                     Else
                           f_ = RobotOM.IRobotNonlinearLinkSemiAxisType.I_NLSAT_POSITIVE
                           t_ = RobotOM.IRobotNonlinearLinkSemiAxisType.I_NLSAT_NEGATIVE
                     End If

                     KnlH.ModelType = nlH.ModelType
                     KnlH.UnloadingMethod = nlH.UnloadingMethod
                     If KnlH.UnloadingMethod = KernelOM.IRobotNonlinearHingeModelUnloadingType.I_NHMUT_MIXED Then
                           KnlH.MixedUnloadingValue = nlH.MixedUnloadingValue
                     End If
                     KnlH.LimitCoordX = nlH.LimitCoordX
                     If KnlH.LimitCoordX Then
                           KnlH.LimitCoordXValue = nlH.LimitCoordXValue
                     End If
                     KnlH.LimitCoordY = nlH.LimitCoordY
                     If KnlH.LimitCoordY Then
                           KnlH.LimitCoordYValue = nlH.LimitCoordYValue
                     End If

                     For j = f_ To t_
                           nlHP = nlH.GetAxisParams(j)
                           KnlHP = KnlH.GetAxisParams(j)
                           KnlHP.ImmediateOccupancy = nlHP.ImmediateOccupancy
                           KnlHP.LifeSafety = nlHP.LifeSafety
                           KnlHP.StructuralStability = nlHP.StructuralStability
                           KnlH.SetAxisParams(j, KnlHP)

                           KnlHM = KnlH.GetPoints(j)
                           nlHM = nlH.GetPoints(j)
                           For q = 1 To KnlHM.Count
                                  Dim Kgp2d As KernelOM.RobotGeoPoint2D
                                  Kgp2d = k.CmpntFactory.Create(KernelOM.IRobotComponentType.I_CT_GEO_POINT_2D)
                                  Kgp2d.Set(nlHM.Get(j).X, nlHM.Get(j).Y)
                                  KnlHM.Set(q, Kgp2d)
                           Next

                     Next

              Next
              FormMain.ProgressBarNextStep()

       End Sub
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;              'non-linear hinge functions
              Dim nlHP As RobotOM.RobotNonlinearHingeModelAxisParams
              Dim KnlHP As KernelOM.RobotNonlinearHingeModelAxisParams
              Dim KnlHM As KernelOM.RobotNonlinearHingeModelPoints
              Dim nlHM As RobotOM.RobotNonlinearHingeModelPoints
              Dim nlH As RobotOM.RobotNonlinearHingeModel
              Dim KnlH As KernelOM.RobotNonlinearHingeModel

              For i = 1 To r.Project.Structure.Bars.NonlinearHingeModels.Count

                     nlH = r.Project.Structure.Bars.NonlinearHingeModels.Get(i)
                     KnlH = k.Structure.Bars.NonlinearHingeModels.Create(nlH.Name)

                     If nlH.Symetry Then
                           f_ = RobotOM.IRobotNonlinearLinkSemiAxisType.I_NLSAT_ANY
                           t_ = RobotOM.IRobotNonlinearLinkSemiAxisType.I_NLSAT_ANY
                     Else
                           f_ = RobotOM.IRobotNonlinearLinkSemiAxisType.I_NLSAT_POSITIVE
                           t_ = RobotOM.IRobotNonlinearLinkSemiAxisType.I_NLSAT_NEGATIVE
                     End If

                     KnlH.ModelType = nlH.ModelType
                     KnlH.UnloadingMethod = nlH.UnloadingMethod
                     If KnlH.UnloadingMethod = KernelOM.IRobotNonlinearHingeModelUnloadingType.I_NHMUT_MIXED Then
                           KnlH.MixedUnloadingValue = nlH.MixedUnloadingValue
                     End If
                     KnlH.LimitCoordX = nlH.LimitCoordX
                     If KnlH.LimitCoordX Then
                           KnlH.LimitCoordXValue = nlH.LimitCoordXValue
                     End If
                     KnlH.LimitCoordY = nlH.LimitCoordY
                     If KnlH.LimitCoordY Then
                           KnlH.LimitCoordYValue = nlH.LimitCoordYValue
                     End If

                     For j = f_ To t_
                           nlHP = nlH.GetAxisParams(j)
                           KnlHP = KnlH.GetAxisParams(j)
                           KnlHP.ImmediateOccupancy = nlHP.ImmediateOccupancy
                           KnlHP.LifeSafety = nlHP.LifeSafety
                           KnlHP.StructuralStability = nlHP.StructuralStability
                           KnlH.SetAxisParams(j, KnlHP)

                           KnlHM = KnlH.GetPoints(j)
                           nlHM = nlH.GetPoints(j)
                           For q = 1 To KnlHM.Count
                                  Dim Kgp2d As KernelOM.RobotGeoPoint2D
                                  Kgp2d = k.CmpntFactory.Create(KernelOM.IRobotComponentType.I_CT_GEO_POINT_2D)
                                  Kgp2d.Set(nlHM.Get(j).X, nlHM.Get(j).Y)
                                  KnlHM.Set(q, Kgp2d)
                           Next

                     Next

              Next



       Private Function NLHinge(ByRef Klab As KernelOM.RobotLabel, ByVal lab As RobotOM.RobotLabel) As KernelOM.RobotLabel

              'todo - nl function def
              Dim KnlhData As KernelOM.RobotNonlinearHingeData
              Dim nlhData As RobotOM.RobotNonlinearHingeData

              KnlhData = Klab.Data
              nlhData = lab.Data

              KnlhData.NormalStress = nlhData.NormalStress
              If nlhData.IsActive(RobotOM.IRobotNonlinearHingeComponentType.I_NHCT_FX) Then
                     KnlhData.SetModel(KernelOM.IRobotNonlinearHingeComponentType.I_NHCT_FX, nlhData.GetModel(RobotOM.IRobotNonlinearHingeComponentType.I_NHCT_FX))
              End If
              If nlhData.IsActive(RobotOM.IRobotNonlinearHingeComponentType.I_NHCT_FY) Then
                     KnlhData.SetModel(KernelOM.IRobotNonlinearHingeComponentType.I_NHCT_FY, nlhData.GetModel(RobotOM.IRobotNonlinearHingeComponentType.I_NHCT_FY))
              End If
              If nlhData.IsActive(RobotOM.IRobotNonlinearHingeComponentType.I_NHCT_FZ) Then
                     KnlhData.SetModel(KernelOM.IRobotNonlinearHingeComponentType.I_NHCT_FZ, nlhData.GetModel(RobotOM.IRobotNonlinearHingeComponentType.I_NHCT_FZ))
              End If
              If nlhData.IsActive(RobotOM.IRobotNonlinearHingeComponentType.I_NHCT_MX) Then
                     KnlhData.SetModel(KernelOM.IRobotNonlinearHingeComponentType.I_NHCT_MX, nlhData.GetModel(RobotOM.IRobotNonlinearHingeComponentType.I_NHCT_MX))
              End If
              If nlhData.IsActive(RobotOM.IRobotNonlinearHingeComponentType.I_NHCT_MY) Then
                     KnlhData.SetModel(KernelOM.IRobotNonlinearHingeComponentType.I_NHCT_MY, nlhData.GetModel(RobotOM.IRobotNonlinearHingeComponentType.I_NHCT_MY))
              End If
              If nlhData.IsActive(RobotOM.IRobotNonlinearHingeComponentType.I_NHCT_MZ) Then
                     KnlhData.SetModel(KernelOM.IRobotNonlinearHingeComponentType.I_NHCT_MZ, nlhData.GetModel(RobotOM.IRobotNonlinearHingeComponentType.I_NHCT_MZ))
              End If
              If nlhData.IsActive(RobotOM.IRobotNonlinearHingeComponentType.I_NHCT_SX) Then
                     KnlhData.SetModel(KernelOM.IRobotNonlinearHingeComponentType.I_NHCT_SX, nlhData.GetModel(RobotOM.IRobotNonlinearHingeComponentType.I_NHCT_SX))
              End If

              NLHinge = Klab

       End Function
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2013 07:46:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4317771#M77004</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2013-07-03T07:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Moment Capacity Curve via API</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4317822#M77005</link>
      <description>&lt;P&gt;Nonlinear Support example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Private Function Support(ByRef Klab As KernelOM.RobotLabel, ByVal lab As RobotOM.RobotLabel) As KernelOM.RobotLabel

              Dim supData As RobotOM.RobotNodeSupportData
              Dim KsupData As KernelOM.RobotNodeSupportData

              KsupData = Klab.Data
              supData = lab.Data
              KsupData.UX = supData.UX
              KsupData.UY = supData.UY
              KsupData.UZ = supData.UZ
              KsupData.RX = supData.RX
              KsupData.RY = supData.RY
              KsupData.RZ = supData.RZ
              KsupData.HX = supData.HX
              KsupData.HY = supData.HY
              KsupData.HZ = supData.HZ
              KsupData.KX = supData.KX
              KsupData.KY = supData.KY
              KsupData.KZ = supData.KZ
              KsupData.AX = supData.AX
              KsupData.AY = supData.AY
              KsupData.AZ = supData.AZ
              KsupData.BX = supData.BX
              KsupData.BY = supData.BY
              KsupData.BZ = supData.BZ
              KsupData.GlobalCoordSystem = supData.GlobalCoordSystem
              KsupData.Alpha = supData.Alpha
              KsupData.Beta = supData.Beta
              KsupData.Gamma = supData.Gamma
              KsupData.Advanced.B = supData.Advanced.B
              KsupData.Advanced.D = supData.Advanced.D
              KsupData.Advanced.H = supData.Advanced.H
              KsupData.Advanced.Type = supData.Advanced.Type
              If supData.Advanced.IsEquivalentElasticity Then
                     KsupData.Advanced.EquivalentElasticity.E = supData.Advanced.EquivalentElasticity.E
                     KsupData.Advanced.EquivalentElasticity.E = supData.Advanced.EquivalentElasticity.PoissonRatio
              End If
              KsupData.ElasticLinear = supData.ElasticLinear
              KsupData.ElasticSurface = supData.ElasticSurface
              KsupData.SetOneDir(KernelOM.IRobotNodeSupportFixingDirection.I_NSFD_UX, supData.GetOneDir(RobotOM.IRobotNodeSupportFixingDirection.I_NSFD_UX))
              KsupData.SetOneDir(KernelOM.IRobotNodeSupportFixingDirection.I_NSFD_UY, supData.GetOneDir(RobotOM.IRobotNodeSupportFixingDirection.I_NSFD_UY))
              KsupData.SetOneDir(KernelOM.IRobotNodeSupportFixingDirection.I_NSFD_UZ, supData.GetOneDir(RobotOM.IRobotNodeSupportFixingDirection.I_NSFD_UZ))
              KsupData.SetOneDir(KernelOM.IRobotNodeSupportFixingDirection.I_NSFD_RX, supData.GetOneDir(RobotOM.IRobotNodeSupportFixingDirection.I_NSFD_RX))
              KsupData.SetOneDir(KernelOM.IRobotNodeSupportFixingDirection.I_NSFD_RY, supData.GetOneDir(RobotOM.IRobotNodeSupportFixingDirection.I_NSFD_RY))
              KsupData.SetOneDir(KernelOM.IRobotNodeSupportFixingDirection.I_NSFD_RZ, supData.GetOneDir(RobotOM.IRobotNodeSupportFixingDirection.I_NSFD_RZ))

              If supData.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_UX) Then
                     KsupData.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_UX, supData.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_UX))
              End If
              If supData.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_UY) Then
                     KsupData.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_UY, supData.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_UY))
              End If
              If supData.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_UZ) Then
                     KsupData.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_UZ, supData.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_UZ))
              End If
              If supData.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_RX) Then
                     KsupData.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_RX, supData.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_RX))
              End If
              If supData.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_RY) Then
                     KsupData.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_RY, supData.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_RY))
              End If
              If supData.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_RZ) Then
                     KsupData.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_RZ, supData.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_RZ))
              End If

              Support = Klab

       End Function
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2013 08:06:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4317822#M77005</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2013-07-03T08:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Moment Capacity Curve via API</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4317825#M77006</link>
      <description>&lt;P&gt;Nonlinear Release example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;       Private Function Release(ByRef Klab As KernelOM.RobotLabel, ByVal lab As RobotOM.RobotLabel) As KernelOM.RobotLabel

              Dim KrelData As KernelOM.RobotBarReleaseData
              Dim relData As RobotOM.RobotBarReleaseData

              KrelData = Klab.Data
              relData = lab.Data

              KrelData.StartNode.AX = relData.StartNode.AX
              KrelData.StartNode.AY = relData.StartNode.AY
              KrelData.StartNode.AZ = relData.StartNode.AZ
              KrelData.StartNode.BX = relData.StartNode.BX
              KrelData.StartNode.BY = relData.StartNode.BY
              KrelData.StartNode.BZ = relData.StartNode.BZ
              KrelData.StartNode.HX = relData.StartNode.HX
              KrelData.StartNode.HY = relData.StartNode.HY
              KrelData.StartNode.HZ = relData.StartNode.HZ
              KrelData.StartNode.KX = relData.StartNode.KX
              KrelData.StartNode.KY = relData.StartNode.KY
              KrelData.StartNode.KZ = relData.StartNode.KZ
              KrelData.StartNode.RX = relData.StartNode.RX
              KrelData.StartNode.RY = relData.StartNode.RY
              KrelData.StartNode.RZ = relData.StartNode.RZ
              KrelData.StartNode.UX = relData.StartNode.UX
              KrelData.StartNode.UY = relData.StartNode.UY
              KrelData.StartNode.UZ = relData.StartNode.UZ

              KrelData.EndNode.AX = relData.EndNode.AX
              KrelData.EndNode.AY = relData.EndNode.AY
              KrelData.EndNode.AZ = relData.EndNode.AZ
              KrelData.EndNode.BX = relData.EndNode.BX
              KrelData.EndNode.BY = relData.EndNode.BY
              KrelData.EndNode.BZ = relData.EndNode.BZ
              KrelData.EndNode.HX = relData.EndNode.HX
              KrelData.EndNode.HY = relData.EndNode.HY
              KrelData.EndNode.HZ = relData.EndNode.HZ
              KrelData.EndNode.KX = relData.EndNode.KX
              KrelData.EndNode.KY = relData.EndNode.KY
              KrelData.EndNode.KZ = relData.EndNode.KZ
              KrelData.EndNode.RX = relData.EndNode.RX
              KrelData.EndNode.RY = relData.EndNode.RY
              KrelData.EndNode.RZ = relData.EndNode.RZ
              KrelData.EndNode.UX = relData.EndNode.UX
              KrelData.EndNode.UY = relData.EndNode.UY
              KrelData.EndNode.UZ = relData.EndNode.UZ

              If relData.StartNode.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_RX) Then
                     KrelData.StartNode.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_RX, relData.StartNode.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_RX))
              End If
              If relData.StartNode.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_RY) Then
                     KrelData.StartNode.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_RY, relData.StartNode.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_RY))
              End If
              If relData.StartNode.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_RZ) Then
                     KrelData.StartNode.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_RZ, relData.StartNode.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_RZ))
              End If
              If relData.StartNode.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_UX) Then
                     KrelData.StartNode.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_UX, relData.StartNode.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_UX))
              End If
              If relData.StartNode.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_UY) Then
                     KrelData.StartNode.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_UY, relData.StartNode.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_UY))
              End If
              If relData.StartNode.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_UZ) Then
                     KrelData.StartNode.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_UZ, relData.StartNode.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_UZ))
              End If
              If relData.EndNode.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_RX) Then
                     KrelData.EndNode.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_RX, relData.EndNode.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_RX))
              End If
              If relData.EndNode.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_RY) Then
                     KrelData.EndNode.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_RY, relData.EndNode.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_RY))
              End If
              If relData.EndNode.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_RZ) Then
                     KrelData.EndNode.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_RZ, relData.EndNode.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_RZ))
              End If
              If relData.EndNode.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_UX) Then
                     KrelData.EndNode.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_UX, relData.EndNode.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_UX))
              End If
              If relData.EndNode.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_UY) Then
                     KrelData.EndNode.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_UY, relData.EndNode.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_UY))
              End If
              If relData.EndNode.NonlinearModel.IsDefined(RobotOM.IRobotDegreeOfFreedom.I_DOF_UZ) Then
                     KrelData.EndNode.NonlinearModel.Set(KernelOM.IRobotDegreeOfFreedom.I_DOF_UZ, relData.EndNode.NonlinearModel.Get(RobotOM.IRobotDegreeOfFreedom.I_DOF_UZ))
              End If

              Release = Klab

       End Function
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2013 08:07:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4317825#M77006</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2013-07-03T08:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Moment Capacity Curve via API</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4318463#M77007</link>
      <description>oh ****</description>
      <pubDate>Wed, 03 Jul 2013 13:54:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4318463#M77007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-03T13:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Moment Capacity Curve via API (nonlinear hinge, support, release example)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4405035#M77008</link>
      <description>&lt;P&gt;Thanks man :]&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2013 17:42:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4405035#M77008</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-06T17:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Moment Capacity Curve via API (nonlinear hinge, support, release example)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4505667#M77009</link>
      <description>&lt;P&gt;I saw your code and at last made a function that enters the release functions into robot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But they get jerky and Robot doesen´t calculate correctly. Tryed iterating more values but still wrong values at calculate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on what I am missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim segments As Integer&lt;BR /&gt;Dim segment(15, 2) As Double&lt;BR /&gt;Dim i As Integer&lt;BR /&gt;Dim n As Integer&lt;BR /&gt;Dim vinkel(15) As Double&lt;BR /&gt;Dim värdet(15) As Double&lt;BR /&gt;Dim KnlL As RobotOM.RobotNonlinearLink&lt;BR /&gt;Dim KnnLP As RobotOM.RobotNonlinearLinkParamsCustom&lt;BR /&gt;Dim Kseg As RobotOM.RobotNonlinearLinkParamsCustomSegment&lt;BR /&gt;Const I_NLCT_CUSTOM = 8&lt;/P&gt;&lt;P&gt;robapp.Project.Structure.Nodes.NonlinearLinks.Remove(robapp.Project.Structure.Nodes.NonlinearLinks.Find("AHMyD"))&lt;BR /&gt;KnlL = robapp.Project.Structure.Nodes.NonlinearLinks.Create("AHMyD")&lt;BR /&gt;KnlL.SetCurveType(I_NLCT_CUSTOM, RobotOM.IRobotNonlinearLinkSemiAxisType.I_NLSAT_ANY)&lt;BR /&gt;KnlL.ModelType = RobotOM.IRobotNonlinearLinkModelType.I_NLMT_MOMENT_ROTATION&lt;BR /&gt;KnnLP = KnlL.GetParams(RobotOM.IRobotNonlinearLinkSemiAxisType.I_NLSAT_ANY)&lt;BR /&gt;n = 0&lt;BR /&gt;segments = 5&lt;BR /&gt;värdet(1) = 0&lt;BR /&gt;vinkel(1) = 0.0257&lt;BR /&gt;värdet(2) = 0.375&lt;BR /&gt;vinkel(2) = 0.0463&lt;BR /&gt;värdet(3) = 0.465&lt;BR /&gt;vinkel(3) = 0.0515&lt;BR /&gt;värdet(4) = 0.555&lt;BR /&gt;vinkel(4) = 0.0582&lt;BR /&gt;värdet(5) = 0.629&lt;BR /&gt;vinkel(5) = 0.0654&lt;BR /&gt;For i = 1 To segments - 1&lt;BR /&gt;For j = 1 To 1&lt;BR /&gt;Kseg = KnnLP.[New]()&lt;BR /&gt;Kseg.Expression = Str$((värdet(i) + (värdet(i + 1) - värdet(i)) / 10 * j) * 1000)&lt;BR /&gt;Kseg.OriginPoint = (vinkel(i) + (vinkel(i + 1) - vinkel(i)) / 10 * j)&lt;BR /&gt;n = n + 1&lt;BR /&gt;KnnLP.Set(n, Kseg)&lt;BR /&gt;KnlL.SetParams(KnnLP, IRobotNonlinearLinkSemiAxisType.I_NLSAT_ANY)&lt;BR /&gt;Next&lt;BR /&gt;Next&lt;BR /&gt;KnlL = Nothing&lt;BR /&gt;KnnLP = Nothing&lt;BR /&gt;Kseg = Nothing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this is what i get &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/65047iDA2FDF1378ED3970/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="release.jpg" border="0" align="center" title="release.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2013 14:08:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4505667#M77009</guid>
      <dc:creator>jokiller70</dc:creator>
      <dc:date>2013-10-09T14:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Moment Capacity Curve via API (nonlinear hinge, support, release example)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4505699#M77010</link>
      <description>What do you expect to get ?</description>
      <pubDate>Wed, 09 Oct 2013 14:19:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4505699#M77010</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2013-10-09T14:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Moment Capacity Curve via API (nonlinear hinge, support, release example)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4505741#M77011</link>
      <description>&lt;P&gt;I am expecting a curve that robot uses. like when i input the values manually and not from api&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/65059i3552D235941D59C4/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="release.jpg" border="0" align="center" title="release.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2013 14:29:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4505741#M77011</guid>
      <dc:creator>jokiller70</dc:creator>
      <dc:date>2013-10-09T14:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Moment Capacity Curve via API (nonlinear hinge, support, release example)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4512687#M77012</link>
      <description>&lt;PRE&gt;Kseg.Constant = False &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;then :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/65503iD6DF1A98225FCA3B/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="apinon.jpg" title="apinon.jpg" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2013 14:44:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4512687#M77012</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2013-10-11T14:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Moment Capacity Curve via API (nonlinear hinge, support, release example)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4515289#M77013</link>
      <description>&lt;P&gt;Super, many thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 12 Oct 2013 07:25:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/4515289#M77013</guid>
      <dc:creator>jokiller70</dc:creator>
      <dc:date>2013-10-12T07:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Moment Capacity Curve via API (nonlinear hinge, support, release example)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/5402651#M77014</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create a nonlinear release in a excel sheet to simulate headed studs in a composite beam but &lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;I'm&lt;/SPAN&gt; &lt;SPAN class="hps alt-edited"&gt;not succeeding in...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps alt-edited"&gt;&lt;SPAN class="hps"&gt;I am not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;an advance programmer, and these codes are a little bit confused for me.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps alt-edited"&gt;&lt;SPAN class="hps"&gt;I tried to copie yours codes into my excel but they didn't work. When i 'm setting the curve type the line code stays red and it shows a worning saying :"Expected :="&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps alt-edited"&gt;&lt;SPAN class="hps"&gt;What i'm doing wrong?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2014 22:48:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/5402651#M77014</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-13T22:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Moment Capacity Curve via API (nonlinear hinge, support, release example)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/5409959#M77015</link>
      <description>&lt;P&gt;Hi All Again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been trying some codes and the best was this one:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim RLabel As RobotLabel&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim relData As RobotBarReleaseData&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim EndData As RobotBarEndReleaseData&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim KnlL As RobotNonlinearLink&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim KnnLP As RobotNonlinearLinkParamsBLinear&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set KnlL = str.Nodes.NonlinearLinks.Create("ConectorBiLinear")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Const I_NLCT_B_LINEAR = 2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KnlL.ModelType = IRobotNonlinearLinkModelType.I_NLMT_FORCE_DISPLACEMENT&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KnlL.SetCurveType (I_NLCT_B_LINEAR)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set KnnLP = KnlL.GetParams(I_NLSAT_POSITIVE)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KnnLP.d1 = 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KnnLP.K1 = 54000&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KnnLP.K2 = 10000&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set RLabel = str.labels.Create(I_LT_BAR_RELEASE, "CONECTOR")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set relData = RLabel.Data&lt;BR /&gt;'&amp;nbsp;&amp;nbsp;&amp;nbsp; Set EndData = relData.StartNode&lt;BR /&gt;'&amp;nbsp;&amp;nbsp;&amp;nbsp; EndData.UX = I_BERV_NONLINEAR&lt;BR /&gt;'&amp;nbsp;&amp;nbsp;&amp;nbsp; EndData.UX = I_BERV_STD&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set EndData = relData.EndNode&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndData.UX = I_BERV_NONLINEAR&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndData.UX = I_BERV_STD&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; str.labels.Store RLabel&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; str.Bars.SetLabel selectionBars, I_LT_BAR_RELEASE, "CONECTOR"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, when i try to set the parameters d1 K1 and K2, the code doesn't assume that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i'm doing wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2014 01:09:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/5409959#M77015</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-18T01:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Moment Capacity Curve via API (nonlinear hinge, support, release example)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/5410299#M77016</link>
      <description>&lt;P&gt;1. Try set params after definition&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;KnlL.SetParams KnnLP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;2. Assign nonlinear model to desired direction&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;EndData.NonlinearModel.Set I_DOF_UX, "ConectorBiLinear"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;fuul code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim robapp As RobotApplication&lt;BR /&gt;Set robapp = New RobotApplication&lt;BR /&gt;Dim RLabel As RobotLabel&lt;BR /&gt;Dim relData As RobotBarReleaseData&lt;BR /&gt;Dim EndData As RobotBarEndReleaseData&lt;BR /&gt;Dim KnlL As RobotNonlinearLink&lt;BR /&gt;Dim KnnLP As RobotNonlinearLinkParamsBLinear&lt;BR /&gt;Set KnlL = robapp.Project.Structure.Nodes.NonlinearLinks.Create("ConectorBiLinear")&lt;BR /&gt;Const I_NLCT_B_LINEAR = 2&lt;BR /&gt;KnlL.ModelType = IRobotNonlinearLinkModelType.I_NLMT_FORCE_DISPLACEMENT&lt;BR /&gt;KnlL.SetCurveType (I_NLCT_B_LINEAR)&lt;BR /&gt;Set KnnLP = KnlL.GetParams(I_NLSAT_POSITIVE)&lt;BR /&gt;KnnLP.d1 = 1&lt;BR /&gt;KnnLP.K1 = 54000&lt;BR /&gt;KnnLP.K2 = 10000&lt;BR /&gt;KnlL.SetParams KnnLP&lt;/P&gt;&lt;P&gt;Set RLabel = robapp.Project.Structure.Labels.Create(I_LT_BAR_RELEASE, "CONECTOR")&lt;BR /&gt;Set relData = RLabel.Data&lt;BR /&gt;Set EndData = relData.StartNode&lt;BR /&gt;EndData.UX = I_BERV_NONLINEAR&lt;BR /&gt;EndData.NonlinearModel.Set I_DOF_UX, "ConectorBiLinear"&lt;BR /&gt;EndData.UX = I_BERV_STD&lt;/P&gt;&lt;P&gt;Set EndData = relData.EndNode&lt;BR /&gt;EndData.UX = I_BERV_NONLINEAR&lt;BR /&gt;EndData.UX = I_BERV_STD&lt;/P&gt;&lt;P&gt;robapp.Project.Structure.Labels.Store RLabel&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2014 08:03:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/5410299#M77016</guid>
      <dc:creator>marcinrakus</dc:creator>
      <dc:date>2014-11-18T08:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Moment Capacity Curve via API (nonlinear hinge, support, release example)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/5410301#M77017</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps alt-edited"&gt;&lt;SPAN class="hps"&gt;I tried to copie yours codes into my excel but they didn't work. When i 'm setting the curve type the line code stays red and it shows a worning saying :"Expected :="&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps alt-edited"&gt;&lt;SPAN class="hps"&gt;What i'm doing wrong?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try without brackets&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2014 08:05:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/5410301#M77017</guid>
      <dc:creator>marcinrakus</dc:creator>
      <dc:date>2014-11-18T08:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Moment Capacity Curve via API (nonlinear hinge, support, release example)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/5412659#M77018</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works fine..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2014 22:58:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-moment-capacity-curve-via-api-nonlinear-hinge-support/m-p/5412659#M77018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-18T22:58:35Z</dc:date>
    </item>
  </channel>
</rss>

