Skip to content
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

Dynamo2.2 for revit2020 could not import the WPF module #41

Open
lcwewei opened this issue May 24, 2020 · 0 comments
Open

Dynamo2.2 for revit2020 could not import the WPF module #41

lcwewei opened this issue May 24, 2020 · 0 comments

Comments

@lcwewei
Copy link

lcwewei commented May 24, 2020

The following error occurred when I added the following statement:
The import sys
Sys. Path. Append (IN [0])
The import RPW
Col = RPW. Db. The Collector (of_category = 'OST_Levels', is_not_type = True)
OUT = col elements
RPW. UI. Forms. SelectFromList (" bm ", OUT)

The following error :警告:IronPythonEvaluator.EvaluateIronPythonScript 操作失败。
Traceback (most recent call last):
File "", line 16, in
File "C:\Users\Administrator\AppData\Roaming\Dynamo\Dynamo Revit\2.2\packages\RevitPythonWrapper\extra\rpw.zip\rpw\ui\forms\quickform.py", line 35, in SelectFromList
File "C:\Users\Administrator\AppData\Roaming\Dynamo\Dynamo Revit\2.2\packages\RevitPythonWrapper\extra\rpw.zip\rpw\ui\forms\flexform.py", line 58, in init
AttributeError: 'module' object has no attribute 'LoadComponent'

RPW_GettingStarted.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant