DynamoDS / Dynamo

Open Source Graphical Programming for Design
https://dynamobim.org
Other
1.74k stars 634 forks source link

Civil 3D Errors when deleting objects created by Dynamo #10620

Open ksowin opened 4 years ago

ksowin commented 4 years ago

10283 Dynamo version

Dynamo Core 2.4.1.6394 Dynamo Civil 3D 2.4.1.2161

Operating system

Windows 10.0.18363

What did you do?

  1. Ran a Dynamo script that created Civil 3D objects. The object type does not seem to matter.
  2. Close Dynamo, save drawing, and exit Civil 3D.
  3. Open Civil 3D and drawing. Open Dynamo script from step 1. (do not run)
  4. In Civil 3D, delete the Civil 3D objects created in step 1.

What did you expect to see?

Civil 3D objects are deleted without errors.

What did you see instead?

I'm seeing a reoccurring issue when I try to delete objects in Civil 3D that were created by Dynamo. As shown in the image, I tried to delete these profile objects, but empty profiles are left behind. The only way I can remove them is by auditing the drawing. However, Civil 3D crashes with a fatal error when I try to close the drawing after that. See FatalError.txt

This only seems to happen if the dyn file that created the objects is open in Dynamo. Even if the dyn has not been run for the current session.

PhantomObjects

Here is a sample dwg and dyn file in case the issue is related to one of these and not an overall issue. sample.zip

github-actions[bot] commented 4 years ago

Thank you for submitting the issue to us. We are sorry to see you get stuck with your workflow. While waiting for our team member to respond, please feel free to browse our forum at https://forum.dynamobim.com/ for more Dynamo related information.

mjkkirschner commented 4 years ago

@CoolStarLee FYI