Extract Horizontal Tangent Point Chainage and its Code from an Alignment into Excel with Dynamo

Hi

I want to extract Horizontal Tangent Point Chainages and its codes from an Alignment into Excel by use of Dynamo.
I am not able to find out which node to use for this graph. Example what I want to extract

Stations Codes
100+000.000 TS
100+020.00 SC

Request for your kind help.

HI,
I got the following Python Code , from ChatGPT. I tried many time but not able to modify it to get the result.
I request , if anyone can revise the code to get the result.

New Text Document (2).txt (2.2 KB)

Regards
Babulal

Hi ,
My language bad…
If you are using ChatGPT You must have Somewhat knowledge of programming So take what you want from it It will not give you anything special
In any case Share a better example drawing

1 Like

Hi,

My objective of the code:
TO GET THE HORIZONTAL TANGENT POINT CHAINAGE AND ITS CODES FROM AN ALIGNMENT WITH DYNAMO AND EXPORT IT TO EXCEL


C3D_RTL Check_203+000 to 216+000.dwg (1.2 MB)
Get Horizontal Tangent Point Codes.dyn (19.6 KB)
New Text Document (2).txt (2.2 KB)

I have attached the Civil3d drawing , Dynamo file

The code will not work
Favor used Civil3D toolkit

And looking for an example in the forum

1 Like

Below is one way to create the codes you’re looking for in dynamo based on the subentities of the alignment. It uses nodes from the Civil3DToolkit (AlignmentExtensions.GetSubEntities and AlignmentSubEntity.SubEntityType) to get all the subentity types and then uses some string manipulation/logic to create the codes.

Dear Sir

Thanks a lots for your kind help. It works for me. Very Good Creative Thinking in the Graph :clap: :clap:
Sorry for the late response, because I took some time to understand your graph and replicate in my system.

Regards
Babulal

Happy to help. Great to see you took the time to try and understand the graph!