• [CONNECT .NET] Session.NewDesignFile

    Jon Summers
    Jon Summers
    Session.NewDesignFile() returns an int . What is the meaning of that value? What value does it return if the file is successfully opened?
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT .NET] Disable 'No Workset Alert'

    Jon Summers
    Jon Summers
    My AddIn processes a list of DGN files. For each file, it uses Session.NewDesignFile() . In many cases, that pops modal dialog No Workspace Alert ... I want to eliminate that dialog so the list can be processed with no human intervention. In another…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT .NET] Configuration Variables

    Jon Summers
    Jon Summers
    The .NET APIs divide configuration variable functionality between at least two classes: DgnPlatformNet::ConfigurationManager and MstnPlatformNet.Session . We've written Viz Studio project ConfigurationManagerCombined that provides a façade for those…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Blog
  • [CONNECT .NET] Session.ContainsMacros

    Jon Summers
    Jon Summers
    What is the purpose of Session.ContainsMacros(string s) ? Is it looking in the passed string or in some other object?
    • Answered
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT .NET] AddIn load and unload events

    Jon Summers
    Jon Summers
    C++ programmers can implement event handlers to monitor application load and unload events. For example, if I want to clean up resources when my app. is unloaded I can write a C++ callback (.NET delegate ) for SystemCallback::SetUnloadProgramFunction…
    • Answered
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum