I have dwg files containing pipelines, ducts and block of some mechanical equipment. How can I insert them to revit using dynamo such that for example the lines of pipes in dwg must be the centerline of piping in revit. So revit will create pipelines based on the autocad files
This is a VERY big ask as it requires several steps and issues to sort out based variables specific to your workflow which are too numerous to count. Even if a community member were willing to post a great graph which does all of this for their setup, it wouldn’t necessarily work for you as your pipes in the dwg likely aren’t drawn to the same standard from the same parts. As a result of something that simple you’re likely going to have to spend a good amount of time making this work, and will have to deal with some significant headaches along the way which may require going back to the drawing board a few times.
That said, this is certainly doable. Check out the Bimorph package and the MEPover package for some useful nodes. As a starting point, search the forum for “pipe” and “cad” as there are many good examples of this in similar posts, some of which give fairly complete workflows like this. Test out what you find, and report back here or in the other thread if you get stuck.
Depending on how the cad file is set up it could be quite simple, using the MEPover and Bimporh package as @JacobSmall mentioned and a bit of filtering you should be ok.
Think about filtering ducts/pipes through layer names or linetypes, e.g. if you have a decent layering system: you have a layer name 100Ø Ductile iron pipework or similar then it’s plain sailing. You should be able to figure the rest out once you give it a go.
Make sure you have a decent revit template set up, ensure all required duct/pipe types along with routing preferences are loaded in.
If you wouldn’t mind it not being completely automated, or if the cad file is a bit of a mess consider using the ActiveX package for current autocad selections.