Dynamo icon indicating copy to clipboard operation
Dynamo copied to clipboard

Python DynamoWrapper seem break custom .Net Class

Open Cyril-Pop opened this issue 10 months ago • 2 comments

Dynamo Version

All versions, (I think)

Host

Revit, SandBox

Operating System

Windows 10, Windows 11

What did you do?

Python (CPython3 and PythonNet3 engines) DynamoWrapper IN/OUT seems to break python classes that are inherited from a .Net Type

Image

A solution is to wrap .Net Class (inherited from a .Net Type) into simple Python Class (Python Class can be used as module too)

Image

What did you expect to see?

no error

What did you see instead?

error, attribute error or no method

What packages or external references (if any) were used?

No response

Stack Trace

No response

Details

No response

Cyril-Pop avatar Jan 30 '25 17:01 Cyril-Pop

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.

github-actions[bot] avatar Jan 30 '25 17:01 github-actions[bot]

tracked DYN-8232

avidit avatar Jan 30 '25 18:01 avidit