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: 

Elastic Foundation with API VBA

14 REPLIES 14
SOLVED
Reply
Message 1 of 15
mateaus
985 Views, 14 Replies

Elastic Foundation with API VBA

Hi,

 

I would like to create an elastic foundation on a element with Robot API in VB.

 

Have a look to the video please.

 

Can you give me the code ?

14 REPLIES 14
Message 2 of 15
Rafal.Gaweda
in reply to: mateaus

Dim ElasticGroundLabel As RobotLabel
Dim ElaData As RobotBarElasticGroundData

 

Set ElasticGroundLabel = Robapp.Project.Structure.Labels.Create(I_LT_BAR_ELASTIC_GROUND, "my_ground")
Set ElaData = ElasticGroundLabel.Data
ElaData.KZ = 10000


Robapp.Project.Structure.Labels.Store ElasticGroundLabel



Rafal Gaweda
Message 3 of 15
mateaus
in reply to: Rafal.Gaweda

Ok how can I apply to a element ? for example number 4.

Message 4 of 15
Rafal.Gaweda
in reply to: mateaus

Dim Bar As RobotBar
Set Bar = RobApp.Project.Structure.Bars.Get(4)
Bar.SetLabel I_LT_BAR_ELASTIC_GROUND, "my_ground"



Rafal Gaweda
Tags (1)
Message 5 of 15

Hi,

I would like to create an elastic foundation on a panel (KZ , KY and Kx ) with Robot API in VBA and thank you 

GUID-6EC27A12-8EC5-4480-9C94-6DDFF8047B3C.gif

Message 6 of 15
Message 7 of 15

Hi 

 and thank you KX KY.PNG

Message 8 of 15

Hi @bensalahsayf.edd 

 

Not implemented in API.



Rafal Gaweda
Message 9 of 15

Thank you , But have you another solution ? 

Message 10 of 15

Hi @bensalahsayf.edd 

 

Use planar support instead.

 



Rafal Gaweda
Message 11 of 15

I used but is not the same result 😞

Message 12 of 15

Hi 

 

Message 13 of 15

Hi @bensalahsayf.edd 

 

??????

It is not implemented in API so it does not matter which language You C++, C#, VB, VBA, Python, Dynamo etc.



Rafal Gaweda
Message 14 of 15

Okey and thank you 

Message 15 of 15

Hi Rafal Gaweda

How to define nodes in loads and thank you  

Capture.PNG

Tags (1)

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

Post to forums  

Autodesk Design & Make Report