## to_array() {#default} Copies all nodes from the collection to a new array of nodes. ```python def to_array(self): ... ``` ### Remarks You should not be adding/removing nodes while iterating over...... ```python doc = aw.Document(file_name=MY_DIR + 'Textboxes...b), list(doc.get_child_nodes(aw.NodeType.SHAPE, True))))) self...