开云体育

Re: How to delete a turnout with jython


 

Hi Ralph,

Can you give us an idea of the circumstances in which you want to do this? I'm totally nonplussed trying to think of a use-case, as the "normal" way of going about it would be panel creation with the Panel Pro tooling, and operational additions with scripting.

Wouter

On Thu, 3 Apr 2025, 00:36 Snorkel via , <ralphsokel=[email protected]> wrote:
I can easily create turnouts, sensors and blocks but I can't delete them from their Panel Pro tables with jython. The only method I found while browsing the class structure was dispose() and that had no effect. So far I am only using the simple jython classes ( if I have the nomenclature correct) in statements like turnouts.newTurnout(...) .
--
-Ralph

Join [email protected] to automatically receive all group messages.