<- PRPL reference <- Particles
Arguments | Result | Notation |
---|---|---|
pid | bid* count | [ int - int* int] |
Gets all bonds that are connected to this particle in a chain. All the bond ids are pushed on top of the stack, with the total count pushed on top of it, similar to GETCORESWITHVAR.
# destroy all bonds <-pid GetAllConnectedBonds 0 do DestroyBond loop