Civil 3D Toolkit Feedback thread

@bertrand.savarit thanks for reply :slight_smile: but this is not what i am looking for :confused:
The example you showed gives the Distance2 (perpendicular to Alignment 2) but I would like to know Distance1 (perpendicular to Alignment 1) calculating by station Alignment 1.
Explanatory drawing below:
screen1

1 Like

Hi @Paolo_Emilio_Serra1 am trying to get the radius of my alignment at stations using “AlignmentExtensions.GetInstantaneousRadiusAtStation” node. Though am able to get the radius properly at some stations, for few stations the radius turns out to be infinity. I can share the entire script and c3d file if required. I have attached the screenshot of the problem i encounter.

If you see in the civil 3d UI, the radius at station “362.583” is “500” but according to the results from the node the radius is “Infinity” at “362.583”

1 Like

For getting distance 2, you have to just plug in the alignment alternatively then

1 Like

If it’s a tangent station between a spiral or curve and a line you have this result (the instantaneous radius is both infinity and 500 :wink: ) try to get the radisu at this station +0.001 or -0.001 to understand…

3 Likes

I’ve been playing around with the Layer functions, there are many different nodes to play with the properties of a new layer, but not one for plot style? Am I just not looking in the right spot?

1 Like

that helps, that is the case exactly has happened. Added +0.001 and was able to get the radius now. Thanks for the help

2 Likes

@Paolo_Emilio_Serra1 what is the purpose of the “layer” input on this node? It seems unnecessary if you have already selected an alignment with another node.

2 Likes

@zachri.jensen add a profile view, sample lines, etc. and you will understand

1 Like

@Paolo_Emilio_Serra1 - the “layer” port on FeatureLine.ByPolyCurve does not seem to work. It always puts them on layer 0.

2 Likes

@zachri.jensen good catch! fixed it in 1.1.3

2 Likes

Hi @Paolo_Emilio_Serra1 - the Structure.SetSizeByInnerDimension node doesn’t appear to be working. I’ve tried various ways of inputting a value but have not had any success setting a new size using this node.

1 Like

@henry_from_sydney could you please share your DWG so I can try to reproduce the issue?

1 Like

@Paolo_Emilio_Serra1 The system will not let me upload a file but the issue appears to be with square/rectangular structures. It works fine with circular structures.

1 Like

can you send a wetransfer?

1 Like

This is everything we need! I can now pull full grade sheets for my surveyors from our profiles.
Awesome work Paolo. Thank you for making this.

4 Likes

@Paolo_Emilio_Serra1 - link as requested https://we.tl/t-1BKEJ9rKED

2 Likes

OK I am seeing what you mean now, but I am getting inconsistent results:

  1. If I start a clean drawing and create an alignment, the node does not seem to work without providing a layer input.

  1. Once I provide a layer input, there are several null values that appear (same example shown here, but also with a profile).

  1. Here’s a different drawing now, with several profiles. It correctly gets the alignment geometry with no null values, but this time no profile geometry. Also note that it works without a layer input.

One final question - it seems like the intent is to get all geometry associated with an alignment (arcs, tangents, spirals, profiles, profile views, sample lines) with a single node. Could this be split up into separate nodes? Or perhaps have a dictionary output with the various groups?

2 Likes

@zachri.jensen the layer input acts as a filter. By Default though it is passing a “C-ROAD” value (so in general only the horizontal information of the Alignment). Can you confirm what is the layer associated to the alignment you created in 1? Number 2 could be fine, can you try to pass null instead of layer 0? It could be that there are objects associated that I’m not converting (e.g. labels). Number 3 is behaving as designed if the layer you are using for the horizontal alignment entities is called “C-ROAD”

1 Like

In Number 1, the alignment was on layer 0. I tried it again by changing the alignment to layer “C-ROAD” and then it worked without supplying the layer input.

No change when using a null input. I also deleted all of the labels to rule that out.

I’m noticing that in Number 3, it is returning all of the tangent construction lines (or whatever you call them) in addition to the actual alignment geometry. But in Number 1, that is not happening. Maybe that is the null values?

2 Likes

Great idea. I can see leveraging this too. Thanks for post and thanks for replying Paolo.

1 Like