Custom Node - Select Parts List by name

I’m trying to create a custom node that will allow me to select a parts list by name from the current drawing. Exactly the same as the Selection.SurfaceByName node except that I can select a specific parts list to assign to a pipe network.
How can I find out the code to enter into the Code Block? I’m also having difficulty with the Document input. Can I use an existing node as input for a custom node?
I’ve attached a screenshot of what I’m trying to do. Thank you in advance for any assitance.

Hi @dana.riceN32EY,

You should check out the Data-Shapes Package.

thank you

@dana.riceN32EY download the latest version of the Civil 3D Toolkit, it will have a node for this.

thank you