<- PRPL reference <- Particles

GetAllConnectedBonds

ArgumentsResultNotation
pid bid* count [ int - int* int]

Description

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.

Examples

# destroy all bonds
<-pid GetAllConnectedBonds 0 do
    DestroyBond
loop