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

    Manuel Höger
    Manuel Höger
    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…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT .NET, C++] ItemTypeLibrary Create (string name, DgnFile dgnfile, bool forCopy)

    Jon Summers
    Jon Summers
    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…
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] Delete Item Type Library: reasons for failure

    Jon Summers
    Jon Summers
    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…
    • Answered
    • over 6 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] Copy Item Type Library to a DGN file

    Jon Summers
    Jon Summers
    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…
    • Answered
    • over 6 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • View related content from anywhere
  • More
  • Cancel