Hi, everybody, I’m a dynamo baby of using a civil connection. Does anyone have a problem of point code transfer from civil 3D to dynamo?
Thank
@chris.cn.low welcome to the forum. Can you confirm if you have experience in Civil 3D? Also the Subassembly point codes can be extracted directly from the corridor.
have a look at the examples here
@chris.cn.low the point codes in CivilConnection can be read from the corridor object. In this case you can access the Subassembly parameters and get the point codes too.



@chris.cn.low you cannot create a solid shape only from the point codes because if you have a complex cross section in the subassembly you do not normally have a unique code at every point. In your example it can be done because you a have only 4 points.
But even with your super simple subassembly, if you have instances next to each other (e.g. two lanes in a road), you are going to have duplicated point codes and it will be much harder to distinguish which point code to use.
The point codes in CivilConnection are used to extract the Corridor Featurelines.
If you need the Revit families you have the AppliedSubassemblyShapes.
@chris.cn.low share your DWG. The AppliedSubassemblyShape is the gray solid hatch in a particular station along the corridor. It has nothing to do with the Corridor Featurelines.
Here is my file.
Share file.dwg (1.2 MB)
Thanks for your help. It’s a good chance for me to study and discuss with other dynamo experts.
you are welcome, I wrote CivilConnection so I should know a couple of things about how it works 
Can i ask you something about complex subassembly shape? If the subassembly need so many point code to define the shape (such as 40 points) is it suitable to use the civil connection to form the solid family? I mean is it any limitations or constraints of using civil connection.
yes, but you need zero point codes to create the shape
![]()
Where are you from?
Hong Kong
Are you a Revit user or a Civil 3D user?
Both I m using Civil 3D to form the corridor for horizontial BIM, so i need to transfer the corridor data through the civil connection to revit.