Civil 3D Toolkit Feedback thread

Hi @Paolo_Emilio_Serra1 great update, a node that code return MapFeature pleaseeee (via select object/s)…Thank you…

@myrwen.junterealSJC7 unfortunately it is not as easy as it seems, even if you select 1000 MapFeatures it returns a single ImpEntity, I’d recommend that you find another way for the foreseeable future.

1 Like

Thanks @Paolo_Emilio_Serra1 i found a workaround, a bit slower but will do the job :slight_smile:

1 Like

11 Likes

These Breakline nodes we’re sooo needed - thank you @Paolo_Emilio_Serra1

Some quick code for accessing specific pressure pipe property set data and updating it without the need of excel. I edited @Paolo_Emilio_Serra1 python scripts.

1 Like

@HakanSeven12 this seems pretty useful. Could you post the Python code to a new forum post so we can use it as well?

7 Likes

@Paolo_Emilio_Serra1 I noticed that when creating a feature line by polycurve, a new feature line is created each time the graph is run. For example, if I translate the source polycurve (i.e. change the elevation of the resulting feature line), the name of the feature line is incremented with a counter. This breaks any objects that are linked to the feature line, such as gradings, because the name is changed. Is this the desired behavior? If so, would it be possible to have a node for adjusting feature line elevations?

@mzjensen I’ll have to look into that, thanks for the feedback

Hi ,
I am new to using these tools, but have been tinkering and have hit a block in what I wish to do, any help appreciated.
I want to export the alignment element data to excel to create custom reporting solutions. Here is my initial attempt, it seems I cant get to the sub items in the elements list?


I want the elements in each column as if you imported from a csv etc, so one column has element types, next has x, then y etc, etc moving on to direction etc. I tried to experiment in python but it does not like it as its an object see error shown, any help appreciated.

cm

I think you can use the list.flatten node before adding the list to the spreadsheet export node.

Thankyou for the reply, but flatten has no effect on the list produced by the AlignmentExtensions.GetGeometry Node?

Was this node designed to be used in this way? The element objects do not seem to allow inspection?

Any further advise appreciated.
cm

@cjm you the node returns Dynamo Geometry objects, the properties you can inspect reside under a different shelf (e.g. an Arc in the Alignment will generate a Dynamo Arc, Geometry > Curve > Arc).
Now if you wanted to get the length of an Arc, you should look under the parent shelf, Curve, because it is a property that is not specific to Arcs (e.g. you can measure the length of Lines, Circles, PolyCurves, etc.). Hope this clarifies.

Thanks Paolo for your reply.
OK, so now I get that the node creates Dynamo Geometry. I am struggling to work out how to select that geometry, to use the nodes you mention. It is probably documented in many places, I just cant find it , I will look

How to you select the designscript geometry to use the nodes i.e. Curve Length etc, All I can see is references to Revit in the forums and ref docs?
As always feedback most appreciated.
cm

@cjm you should familiarize with Dynamo first, https://primer.dynamobim.org/
Strictly speaking what you are asking is not related to the Civil 3D Toolkit anymore and you should post your question under the appropriate category in the forum.

My bad! I was doing everything right but for some reason the graph was not working, It was todo with the link to the current document, now it all works as expected. Now hopefully I can contribute some more here.
cm

To get profile data ? I can’t find a node to select as per the alignment, do we need to use the select object node and select in CAD, is this the intended workflow?

look harder