Civil3D 2024 to Revit 2024

Hi Everyone.

Can someone help me with this script? I tried to recreate civil pipes and utilities in Revit, everything worked perfectly, but I want to bring some curve lines into detail on a view, and I can’t transform geometry with “RevitUtils.DocumentTotalTransform”. Do you have any advice?

What is the warning on the Polycurve.Curves node and on the RevitUtils.DocumentTotalTransform node?

My guess is the later isn’t supported for your Revit build (I’m not sure what it should pull the coordinate system from either), but I’m also not sure where it comes from as that is a node I haven’t seen/needed.

Asked to convert non-convertibles types-Warring for Polycurves.Curves

LIkely means there is a non-polycurve object in the list coming into that node - best to start there.

1- can you view the curve point XYZ

2-can you view th error RevitUtils.DocumentTotalTransform

Very interesting. With Civil closed, it works. I have some warnings but it is working

Well ..If I change the project base point still don’t working .RevitUtils.DocumentTotalTransform operation failed. Object reference not set to an instance of an object

:face_exhaling:

this nod not related to C3d. it get the CS based on the Basepoint location only.

I have not looked at this fully but you may need to utilise the “CoordinateSystem.Transform” node to transform the coordinates of the information from how the civils has the coordinates into the views coordinates.

1 Like

Solved.Thanks :grinning_face:

009.Extract geometryByLayer.dyn (895.8 KB)

also I will share my Dynamo scripts.

101.CreateStructureFromCivilPipingNetwork+data.dyn (2.1 MB)

100.CreatePipingFromCivilPipingNetwork+data.dyn (404.9 KB)