Robot Component Manager (API)

Robot Component Manager (API)

jmmarin
Advocate Advocate
565 Views
4 Replies
Message 1 of 5

Robot Component Manager (API)

jmmarin
Advocate
Advocate

Hi all.

I would like to know how to call and manipulate objects created in a model. In particular, I would like to create a footing (for instance) and call to this object using Excel VBA in order to change the properties etc...

 

I know the code for calling to Robot elements (nodes, bars, loads, etc...) but I have never used the RC component manager (footings, columns, beams, etc...).  Should I load any additional reference in Excel?

 

Dim robApp As RobotApplication
Set robApp = New RobotApplication

 

Dim robCim As RobotProjectComponentMngr
Set robCim = robApp.Project.ComponentMngr

 

.... ?

 

Thanks in advance.

 

0 Likes
Accepted solutions (3)
566 Views
4 Replies
Replies (4)
Message 2 of 5

Stephane.kapetanovic
Mentor
Mentor
Accepted solution

hi @jmmarin 

(API) MACRO FOR FOUNDATIONS

Stéphane Kapetanovic

Did you find this post helpful? If it gave you one or more solutions,
don't forget to accept the solution and leave a < like !
EESignature
0 Likes
Message 3 of 5

jmmarin
Advocate
Advocate
Accepted solution

Thanks for the reply!

Do I need to load reference "Robot Concrete Footings" or just RobotOM?.

jmmarin_0-1655986382515.png

Regards!

 

 

0 Likes
Message 4 of 5

Stephane.kapetanovic
Mentor
Mentor
Accepted solution

hi @jmmarin 

First run the example code with RobotOM.

Stéphane Kapetanovic

Did you find this post helpful? If it gave you one or more solutions,
don't forget to accept the solution and leave a < like !
EESignature
0 Likes
Message 5 of 5

jmmarin
Advocate
Advocate

Yes, it works. I have access to the object. 

0 Likes