API: How define a bar name

API: How define a bar name

Anonymous
Not applicable
789 Views
3 Replies
Message 1 of 4

API: How define a bar name

Anonymous
Not applicable

Hi everyone,

 

How define a name for bar via macro in Excel? I tried something and nothing worked.

 

Image below shows the definition of names in the interface of Robot.

 

Thanks.

 

Test01.PNG

0 Likes
Accepted solutions (1)
790 Views
3 Replies
Replies (3)
Message 2 of 4

Romanich
Mentor
Mentor
Accepted solution

Hi @Anonymous,

 

I didn't try by myself, but maybe this will help:

Dim RBar As RobotBar
RBar.Name
'or
RBar.NameTemplate

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.

Roman Zhelezniak

Robot Evangelist & Passionate Civil Structural Engineer

LinkedIn | Robot & Хобот | App Store for Robot
EESignature


0 Likes
Message 3 of 4

Anonymous
Not applicable

 

It worked with  RBar.NameTemplate = "Test_01"

 

Thanks

0 Likes
Message 4 of 4

Anonymous
Not applicable

Hi

 

Is it possible to use Python to define a bar as cable? I am designing a bridge and a few bars are cables and I am not sure if I can use AnalyticalBar.SetSection!

 

Regards

Tofigh

0 Likes