Get Child Element

I have an annotation family with an embedded annotation family. Once I use the place family instance node to place the parent annotation family, i push those elements intoo get child elements node and it will not find those. But if i use “Selec model element” node and select them by hand, the get child elements node then finds them. Even tho both ways are feeding the same exact elements in the same structured list. Is there any reason why it works one way and not the other?

I think it is a transaction issue.

You can’t select an associated thing until both it and the thing it is associated to have been written to the document and the document is regenerated.

Stuff gets written into the document and the regeneration run when you commit a transaction.

Confirm (and fix) by putting a Transaction.End node (which really should be called Transaction.Commit but that’s another conversation) and then a Transaction.Start node between the FamilyInstance.ByPointInView node and the Element.GetChildElements node.