ASSS Questions - Iballs::GetBallData Live-Wire - Mon Oct 24, 2005 1:59 am Post subject: Iballs::GetBallData
Is asss.iballs.GetBallData supported in python?
I get the error:
AttributeError: 'asss.Iballs' object has no attribute 'GetBallData'
The reason I ask is because I'm trying to work with the BallData struct .. wondering why the ball CB_*s accept a bid param instead of a reference to the ball object.
Whats the best way to go about loading the BallData struct of a bid?
Grelminar - Mon Oct 24, 2005 1:36 pm Post subject:
There's probably not a good reason. The balls interface is somewhat old, and was derived from the old flags interface. The old flags interface was replaced by flagcore, partly because it was impossible to use from python. So basically, the interface needs to be changed. It should be done in the style of flagcore, with GetBalls and SetBalls functions, that will allow access to all the balls at once, from C, but only one at a time from python. I'm willing to do it, but please file a bug so I don't forget.