Rotor.DetailedInfo not working anymore

PazDim shared this bug 6 years ago
Outdated

Hello. I can't get rotor's detailed info in programmable block. Example of code:

IMyTerminalBlock control_rotor_az = GridTerminalSystem.GetBlockWithName("Control_az");

Convert.ToSingle(control_rotor_az.DetailedInfo.Remove(0, control_rotor_az.DetailedInfo.IndexOf("angle: ") + 6).TrimEnd('°'));

DetailedInfo returns an empty string. It started 1-2 updates back, before everything worked. I don't know any other ways to get the angle.

Replies (3)

photo
1

I don't know if I can't get rotor angle by PB, but rotors detailed infornation in control panel doesn't display peoperly or doesn't display at all. Perhaps one is connected to other, not sure.

photo
1

Hello, Engineer!


Thank you for your feedback! Your topic has been added between considered issues.


Please keep voting for the issue as it will help us to identify the most serious bugs.


We really appreciate your patience.


Kind Regards


Keen Software House: QA Department

photo
1

I hope you will fix it soon. Half of my heavily scripted units require it. Keeping finers crossed.

photo
1

Shouldn't you change status to solved in this one? I haven't checked if it worka again, but latest update description says It's fixed.


BTW, thank you very much!

photo
photo
1

Correction. Current angle aint working like it used to, cheering up for nothing. It updates only if its opened in terminal. It sucks :-(.

Leave a Comment
 
Attach a file