Get Children of Node
Is there a way to get for example all Residues of a given Chain?
I tried it like this:
SAMSON::getActiveDocument()->getNodes(indexer, SBNode::IsType(SBNode::Residue) && SBNode::GetParent()==parent);
parent beeing a SBNode* representing the given Chain, but this writes nothing into my indexer.
This should work if the residues are direct children of the chain. Else, you can do:
yes you are right both ways work fine.
I had a bug I was unaware of in a different position.