Change conduit diameter

How can I change conduit size including all conduit fittings in the same run?
I want to get the parameter value from the comments parameter and want to apply that size to the whole conduit run.

Hello @rada0015 try something here…

Revit_72kMqlFVcV

Thank you so much sovitek for your response.
I am a beginner in Dynamo trying to solve a few problems in my company.
Can you please help me with a path to find “Elements in connected network” package I am trying, but I couldn’t find it?

I tried the same script. Not working properly.
Can you suggest options to solve this error?

Hi @rada0015 that node if from mepover… if you are in 23-24 then check yyou have ironpythondynamo package installed 2.7 version 2.5