2021/08/07

过滤器定义界面System Hierarchy丢失或Object Type丢失

作者 Leon

项目中或多或少会发生一些诡异现象,前几天有客户在定义过滤器时发现系统目录树看不到了,还有客户Object Type信息看不到了,目前还未知什么骚操作引起的,但有以下三种解决方案可以尝试。

方法一

  1. Start new Smart 3D session and define workspace using some existing filter or open an existing session file.
  2. Select Tools > Custom Commands. Add custom command with ProgID SP3DPrjMgtRepairCMD.FixCnfgProjectRoot and click Run. Wait until command processing is completed.
  3. Exit Smart 3D.
  4. Restart Smart 3D. Try to define a new filter and check if system hierarchy is available for selection.

方法二

  1. Start the Package Manager tool from [Install Directory]\Core\Tools\Administrator\SQLMetadata\Bin\PackageMgr.exe.
  2. Set the Provider Type, Server, and catalog schema Database.
  3. Click Check.
  4. Select Packages tab.
  5. Click Update BOC. Wait until command processing is completed.
  6. Exit the Package Manager tool.
  7. Restart Smart 3D. Try to define a new filter and check if system hierarchy is available for selection.

方法三

  1. Start SQL Server Management Studio.
  2. Create a New Query on the problematic model database.
  3. Define the new query as follows:
    TRUNCATE TABLE COREObjectIntegrity
  4. Click Execute.
  5. Open the CheckRelations database integrity script from [Install Directory]\Core\Server\Schema\SQL\IntegrityScripts\CheckRelations.sql and connect it to the problematic model database.
  6. Click Execute.
  7. Start new Smart 3D session and define workspace using some existing filter or open an existing session file.
  8. Select Tools > Custom Commands. Add custom command with ProgID SP3DCleanDatabaseCmd.CCheckObj and click Run.
  9. For Database Type, select Model.
  10. Click Select All, then Clean Now. Wait until command processing is completed.
  11. Exit Smart 3D.
  12. Restart Smart 3D. Try to define a new filter and check if system hierarchy is available for selection.

当发生object type页面信息丢失时也可以使用方法二。

0 0 投票数
文章评分