Open johnpierson opened 2 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.
@johnpierson can you link to the code where you create a code block?
Quick Update: It seems related to the deletion of the original node. When I remove https://github.com/johnpierson/MonocleForDynamo/blob/e140880a5143f342d3d0f74c1c4f1ca5e61c6401/src/KeyboardShorties.cs#L207 it works without crash.
thanks @johnpierson - how does this function actually get called? ReplaceDropdown
I am calling the command with DelegateCommand
from a contextual menu.
DelegateCommand command = MonocleViewExtension.ConvertDropdownCommand;
command.Execute("");
Issue Description
Please fill in the following information to help us reproduce the issue:
Dynamo version
Dynamo:
2.13.0.3077
Operating system
OS:
Microsoft Windows NT 6.2.9200.0
What did you do?
Monocle View Extension has options for creating code blocks on the fly. Upon code block creation this exception happens from Dynamo.![image](https://user-images.githubusercontent.com/15744724/140972777-9c496e47-834b-49d0-9859-080f342a86a0.png)
What did you expect to see?
Just the new code block no error
What did you see instead?
This crash which does not seem to be in my code (in debug for monocle)
What packages or external references (if any) were used?
Loaded Packages
Stack Trace
CLR:
4.0.30319.42000