• [CONNECT C++ U16.2] Item Type iteration fails

    Hello all, I want to iterate over all Itemtypes in a all Libraries but I get an Memory Exception in the second iteration in following Code: try { ItemTypeLibraryPtr itemTypeLibrary = ItemTypeLibrary::FindByName(libName.c_str(), *ISessionMgr…
  • [CONNECT .NET, C++] ItemTypeLibrary Create (string name, DgnFile dgnfile, bool forCopy)

    public static ItemTypeLibrary Create ( string name, DgnFile dgnfile, bool forCopy); What is the purpose of the final argument forCopy in that method declaration? There's a similar method in the C++ class, with a similar absence of explanation in…
  • [CONNECT C++] Delete Item Type Library: reasons for failure

    I'm writing code to delete an Item Type library from a DGN file. ItemTypeLibrary.Delete() returns a SchemaDeleteStatus value. While some values are clear, what do the following mean? SCHEMADELETE_ProviderNotFound : what is the provider if not the…
  • [CONNECT C++] Copy Item Type Library to a DGN file

    I want to copy an Item Type Library ( ItemTypeLibrary class) from a DgnLib into the active DGN file. Having found the Item Type Library in a DgnLib, I think I want to use ItemTypeLibrary.CloneForFile (activeDgnFile, forReplacement) . What does the second…