C# create bar

C# create bar

hvdsidf
Enthusiast Enthusiast
304 Views
0 Replies
Message 1 of 1

C# create bar

hvdsidf
Enthusiast
Enthusiast

Hi,

 

I'm new in C#. 

When I create a bar with the below code, it show a error.

Robot-API-Create a bar.JPG

I can create a bar with this code: Str.Bars.Create(bNumber,nS_number, nE_number)

And then assigne : IRobotBar b = (IRobotBar)Str.Bars.Get(bNumber);

 

But I dont' like this way.

Please help, thanks.

0 Likes
305 Views
0 Replies
Replies (0)