• [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 C++] Create custom IECInstance formatter for ItemType property

    I have existing code that creates an IECInstance formatter for the area property of my Item Type. bool CreateAreaFormatter (IECInstancePtr& formatInstance, int nUnits, int accuracy, Annotator::AreaDecoratorOptions decorator) { ECN::ECSchemaPtr…