• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Robot Structural Analysis

    Reply
    Member
    Posts: 4
    Registered: ‎08-30-2012

    charges « linéaires 2P » et aux charges « linéaires sur bord » (API)

    159 Views, 4 Replies
    09-06-2012 07:36 AM

     

    Vous m’avez expliqué, il y a quelques jours comment  récupérer les coordonnées des points  pour le type de charges décrites par 3 points sur des éléments surfaciques d'un modèle Robot.

     

    For j = 1 To serveurcharges.Count

            Set RC = serveurcharges.Get(j)

            If serveurcharges.Get(j).Type = I_LRT_IN_CONTOUR Then

                Set RLRC = serveurcharges.Get(j)

                For jj = 1 To RLRC.GetValue(I_ICRV_NPOINTS)

                    RLRC.GetContourPoint jj, x, y, z

                Next jj

               

            Else

                If Not RC.IsAutoGenerated Then

                    Set charges = serveurcharges.Get(j)

                End If

            End If

        Next j

     

    J’ai essayé de reprendre la méthode pour récupérer les coordonnées des points  correspondant aux charges « linéaires 2P » et aux charges « linéaires sur bord », mais cela ne fonctionne pas. Pouvez-vous me dépanner ? Merci !

    Please use plain text.
    Product Support
    Posts: 2,729
    Registered: ‎04-26-2010

    Re: charges « linéaires 2P » et aux charges « linéaires sur bord »

    09-06-2012 07:45 AM in reply to: ClaudeSAINTJEAN3202

    Thanks to translate.google.com we can understand what you mean :-)



    Rafal Gaweda
    Product Support
    Autodesk, Inc.
    Please use plain text.
    Product Support
    Posts: 2,729
    Registered: ‎04-26-2010

    Re: charges « linéaires 2P » et aux charges « linéaires sur bord »

    09-06-2012 08:14 AM in reply to: ClaudeSAINTJEAN3202
    Dim charges As RobotLoadRecord
    ......
    If serveurcharges.Get(j).Type = I_LRT_LINEAR_ON_EDGES Then Set charges = serveurcharges.Get(j) sss = charges.GetValue(I_LOERV_PZ) endif

     



    Rafal Gaweda
    Product Support
    Autodesk, Inc.
    Please use plain text.
    Member
    Posts: 4
    Registered: ‎08-30-2012

    Re: charges « linéaires 2P » et aux charges « linéaires sur bord » (API)

    09-07-2012 01:44 AM in reply to: ClaudeSAINTJEAN3202

    My question concerns the problem of recovering the coordinates of points corresponding to the loads "2P linear" loads and "linear on board."
    Thank you for your answer

    Please use plain text.
    Product Support
    Posts: 2,729
    Registered: ‎04-26-2010

    Re: charges « linéaires 2P » et aux charges « linéaires sur bord » (API)

    09-07-2012 03:24 AM in reply to: ClaudeSAINTJEAN3202

     

    My question concerns the problem of recovering the coordinates of points corresponding to the loads "2P linear" loads and "linear on board."

     

    Internally , load on edge is converted to 2P linear load (additionally it has isautogenerated = true) so you can access both types by this code:

     

    Dim chlin3d As RobotLoadRecordLinear3D
    .....
    If serveurcharges.Get(j).Type = I_LRT_LINEAR_3D Then
                Set chlin3d = serveurcharges.Get(j)
                chlin3d.GetPoint 1, x, y, z
                chlin3d.GetPoint 2, x, y, z
                aaa = chlin3d.GetValue(I_L3DRV_PZ1)
                bbb = chlin3d.GetValue(I_L3DRV_PZ2)
    
    endif

     



    Rafal Gaweda
    Product Support
    Autodesk, Inc.
    Please use plain text.