Robot Structural Analysis Forum
Welcome to Autodesk’s Robot Structural Analysis Forums. Share your knowledge, ask questions, and explore popular Robot Structural Analysis topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ROBOT API Member Type - Intermediate bracings

6 REPLIES 6
Reply
Message 1 of 7
brunomim
525 Views, 6 Replies

ROBOT API Member Type - Intermediate bracings

Hello,

 

I am trying to create a routine to create, trough API, a member type definition to Steel Design where I can define the intermediate bracings positions. I developed a code, it chooses the correct option but ir does not writes the bracings positions and does not activates that option. Can anyone tell me what I am doing wrong?

 

Thanks...

 

 

 

Dim MTdata  As IRDimMembDefData
Dim MTpar As IRDimMembParamsE32
Dim Ptos As IRDimMembDefIntPsDataType

    Set LABEL = METALICA.Project.Structure.Labels.Create(I_LT_MEMBER_TYPE, "COLUMNS_1")
    Set MTdata = LABEL.Data
       
    Set MTpar = MTdata.CodeParams
       
        MTpar.BuckLengthCoeffY = 10
        MTpar.BucklingDiagramY = I_DBD_E32_INTERNAL_BRACINGS
        MTpar.BracedY = False 'Not Sway

        MTdata.SetIntPsCoordValueType I_DMDIPDT_BUCKLING_Y, True
        MTdata.SetIntPtAddOption I_DMDIPDT_BUCKLING_Y, I_DMDIPOT_MANUAL_COORDS, 0
        MTdata.SetIntPtValues I_DMDIPDT_BUCKLING_Y, 1, 0, 1
        
        MTdata.CodeParams = MTpar
        
        METALICA.Project.Structure.Labels.Store LABEL

Tags (2)
6 REPLIES 6
Message 2 of 7
Rafal.Gaweda
in reply to: brunomim

MTpar.BracedY = True ' = Non-Sway

I am checking the rest


Rafal Gaweda
Message 3 of 7
Rafal.Gaweda
in reply to: Rafal.Gaweda

You are right, it does not work
We found the bug 😞


Rafal Gaweda
Message 4 of 7
Rafal.Gaweda
in reply to: Rafal.Gaweda

Corrected in ARSA 2015 SP1


Rafal Gaweda
Message 5 of 7
xblanchet
in reply to: Rafal.Gaweda

Hi,

 

I have exactly the same problem as @brunomim, with exactly the same script.

 

You said, in your last message, that the problem was Corrected with RSA 2015 SP1 and I have RSA 2018.

 

Can you help me ?

 

regards,

Message 6 of 7
Rafal.Gaweda
in reply to: xblanchet

Hi @xblanchet 

 

I ma very sorry, You are right. The issue is back.

It worked well in 2015SP1 and 2016.

Need to be fixed again.

Thank You for reporting it.

 



Rafal Gaweda
Message 7 of 7
xblanchet
in reply to: Rafal.Gaweda

So sad ! Smiley Sad

 

 

I can not continue my program without this piece of script

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report