[quote user="Jan Slegr"]string
mdlTaskId = ManagedToolsExample.Instance().MdlTaskId;
[/quote]
Almost! It's the following, where Program is the class that inherits from Bentley.MstnPlatformNET.AddIn...
String mdlTaskId = Program.Addin.MdlTaskId;
[quote user="Jan Slegr"]string
mdlTaskId = ManagedToolsExample.Instance().MdlTaskId;
[/quote]
Almost! It's the following, where Program is the class that inherits from Bentley.MstnPlatformNET.AddIn...
String mdlTaskId = Program.Addin.MdlTaskId;