Is it possible to use functions in custom dll that return objects of the model? #432
-
it is a very niche question, so I'll just leave it here in case someone has succeded. I'm creating custom functions in a custom dll to reuse from tabular editor scripts Model.AddCalculatedTable should return a table (or CalculatedTable) object right? either my lacking tomwrapper knowledge and/or c# knowledge are to blame for this question this works
this does not
am I doing something wrong? I might stick with the boolean approach, but wondering if in some cases I could do the object approach |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I think the error you're seeing originates from the outer script that calls into your custom dll. Could you share that script here as well? |
Beta Was this translation helpful? Give feedback.
-
Sure, it's something like this. I tried with Table and CalculatedTable
|
Beta Was this translation helpful? Give feedback.
Sure,
it's something like this. I tried with Table and CalculatedTable