Browse By Tags

  • [CONNECT .NET] Session.NewDesignFile

    Session.NewDesignFile() returns an int . What is the meaning of that value? What value does it return if the file is successfully opened?
  • [CONNECT .NET] Disable 'No Workset Alert'

    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…
  • [CONNECT .NET] Configuration Variables

    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…
  • [CONNECT .NET] Session.ContainsMacros

    What is the purpose of Session.ContainsMacros(string s) ? Is it looking in the passed string or in some other object?
  • [CONNECT .NET] AddIn load and unload events

    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…