#load directive runs, but causes a save error
Description: I've created a simple csx (C# script) file which contains a single class. I can load the csx file and utilise the class, however, I get an error (without details) when I try to save the macro. TE3 Macro #load "C:\Users\maguires\AppData\Local\TabularEditor3\CustomClasses.csx" CustomClass.CreateCT("tst", "{0}") C# Script #r "Microsoft.VisualBasic" using Microsoft.VisualBasic; // *** The below public classes are common across scripts *** public static class CustomClass { // this is an example one public static Table CreateCT(string tableName, string tableExpression) { return Model.AddCalculatedTable( name: tableName, expression: tableExpression ); } } Tabular Editor 3 Version: 3.12.0 Screenshots: Expected behavior: The macro saves and can be used again in the future Windows Version: Windows 10 Pro (22H2)
0 Comments
Sign in to comment
No comments yet. Be the first to share your thoughts!
