-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPython3 - 'System.Reflection.Emit.TypeBuilder' was not found - Dynamo 3.0.3 #15347
Comments
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. |
@chrizzrott77 Can you try this on https://github.com/DynamoDS/Dynamo/releases/tag/3.2.1 |
Has anyone found a solution for this? |
@Narimannp Can you try this on 3.2.1 (release) If possible could you please update Revit to 2025.2 where the issue should be fixed. |
I apprecite your responce. I wish i could. I need the script to work on both 2022 and 2025. Fortunantly i found a solution how to fix the issue in earlier versions. |
That's great. Could you please share the solution you found? |
Sure, it is super simple, actually you only need to install ironpython package (the version which is compatible with your dynamo version) and run the script with ironpython instead of cpython. |
Dynamo Version
3.0.3.7597
(Dynamo Revit 3.0.3.4605)
Host
No response
Operating System
Microsoft Windows NT 10.0.22631.0
What did you do?
try to use events subscription with CPython3
Code inside Python Code Block:
import clr
clr.AddReference('System.Windows.Forms')
from System.Windows.Forms import Form, TextBox, Button, DialogResult
def create_input_box():
# Fenster erstellen
form = Form()
form.Text = "Input Box"
form.Width = 300
form.Height = 150
Text von der Eingabe-Box holen
input_text = create_input_box()
Dynamo Output
OUT = input_text
What did you expect to see?
not an error
What did you see instead?
Python Error:
What packages or external references (if any) were used?
No response
Stack Trace
No response
Details
Related Issue:
DynamoDS/DynamoRevit#3008 (comment)
CLR: 8.0.6
The text was updated successfully, but these errors were encountered: