There are dynamo nodes that can select the object by type or obtain the Civil3D objects, but this only works at the current active document.
Goal:
The goal is to use Python (Civil3D API) to [select all the Solid3D and Civil3D Objects → obtain the handle of each object → then export the handles into a csv] for each of the dwgs within the folder. The purpose of using python is to allow the script to run on each of the dwgs in the folder.
At the moment, the simple code below gives out the handle of the selected objects only at the current active document.
I have used the Dynamo sample “Dump Properties to CSV” so I have an idea on how to export those csv.
I have read the other forums regarding “running the script across dwgs within a folder” and the script and help that they provided works.
The only problem I have left is to identify how to select all the Solid3D and Civil3D Objects using Python so I can link my code together to achieve the goal.