Hello everyone,
I would like to use Dynamo to simplify Cut&Fill calculations in Civil3D 2024.
To do this, I create CogoPoints, which I can only convert into a surface by grouping them into point groups.
In the screenshot, I show how I assign the points I created to a new point group. I don’t get any errors when doing this.
When I then go to the AutoCAD file and check if the points are in my pointgroup, the pointgroup named “abc” has been created. However, this pointgroup has no points, even when I update it.
Can anyone help me with this?
Hi
I sort of recreated your script (with similar but different nodes) and everything worked.
What is the geometry input in your CreateCogoPoints node?
Thanks for your answer.
I used points aswell. Like you I created Points out of coordinates with Point.ByCoordinates.
After that I edited the list a bit with list.clean, list.flatten, list.UniqueItems.
The list look like this: [Point(X = …,Y = …, Z = …, Point(…)).
Finally this edited list is my Input in CogoPoint.ByGeometry.
Can you share your script file (with input file if there is one)? I could take a look because everything you said makes sense and should work
the main thing that makes me wonder is why the output of your CogoPoints show Objects with its Handle while mine shows CogoPoints
Yes its really strange that there is a list of objects and not with cagopoints, when you Watch the node.
I posted my hole skript below. There is a lot of stuff in there. The spot I screenshoted is on the far right side.
Kopie autom. DGM außer Polygonnetze.dyn (2.1 MB)
Hello, I have used the same nodes and the final node for creating the group with the provided points works correctly.
It would be helpful if you could specify what you are selecting (blocks, texts, or others) to obtain the coordinates that are later used to generate the points and finally add them to the desired group.
It would also be useful if you could indicate the version of Civil 3D you are using and the packages used in that version.
Best regards,
Hey, thanks for your answer.
I am using Civil3D 2024 and packages like ArkanceSystems and Civil3DToolkit.
In general your script is doing the same as my script. Therefore I copied your skript and be able to create a cogopointgroup. But this pointgroup still does not have points inside. Also when I refresh the group.