Loading... <!-- wp:paragraph {"style":{"typography":{"fontSize":"16px"}}} --> <p style="font-size:16px">项目中或多或少会发生一些诡异现象,前几天有客户在定义过滤器时发现系统目录树看不到了,还有客户Object Type信息看不到了,目前还未知什么骚操作引起的,但有以下三种解决方案可以尝试。</p> <!-- /wp:paragraph --> <!-- wp:paragraph {"style":{"typography":{"fontSize":"16px"}}} --> <p style="font-size:16px">方法一</p> <!-- /wp:paragraph --> <!-- wp:list {"ordered":true,"style":{"typography":{"fontSize":"16px"}}} --> <ol style="font-size:16px"><li>Start new Smart 3D session and define workspace using some existing filter or open an existing session file.</li><li>Select <strong>Tools</strong> > <strong>Custom Commands</strong>. Add custom command with ProgID <em>SP3DPrjMgtRepairCMD.FixCnfgProjectRoot</em> and click <strong>Run</strong>. Wait until command processing is completed.</li><li>Exit Smart 3D.</li><li>Restart Smart 3D. Try to define a new filter and check if system hierarchy is available for selection.</li></ol> <!-- /wp:list --> <!-- wp:paragraph {"style":{"typography":{"fontSize":"16px"}}} --> <p style="font-size:16px">方法二</p> <!-- /wp:paragraph --> <!-- wp:list {"ordered":true,"style":{"typography":{"fontSize":"16px"}}} --> <ol style="font-size:16px"><li>Start the Package Manager tool from <em>[Install Directory]\Core\Tools\Administrator\SQLMetadata\Bin\PackageMgr.exe</em>.</li><li>Set the Provider Type, Server, and catalog schema Database.</li><li>Click <strong>Check</strong>.</li><li>Select <strong>Packages</strong> tab.</li><li>Click <strong>Update BOC</strong>. Wait until command processing is completed.</li><li>Exit the Package Manager tool.</li><li>Restart Smart 3D. Try to define a new filter and check if system hierarchy is available for selection.</li></ol> <!-- /wp:list --> <!-- wp:image {"id":1967,"sizeSlug":"full","linkDestination":"media"} --> <figure class="wp-block-image size-full"><a href="https://mrgeng.com/usr/uploads/2021/08/MetaData-Package-Manager-01.jpg"><img src="https://mrgeng.com/usr/uploads/2021/08/MetaData-Package-Manager-01.jpg" alt="" class="wp-image-1967" style=""></a></figure> <!-- /wp:image --> <!-- wp:image {"id":1968,"sizeSlug":"full","linkDestination":"media"} --> <figure class="wp-block-image size-full"><a href="https://mrgeng.com/usr/uploads/2021/08/MetaData-Package-Manager-02.jpg"><img src="https://mrgeng.com/usr/uploads/2021/08/MetaData-Package-Manager-02.jpg" alt="" class="wp-image-1968" style=""></a></figure> <!-- /wp:image --> <!-- wp:paragraph {"style":{"typography":{"fontSize":"16px"}}} --> <p style="font-size:16px">方法三</p> <!-- /wp:paragraph --> <!-- wp:list {"ordered":true,"style":{"typography":{"fontSize":"16px"}}} --> <ol style="font-size:16px"><li>Start <strong>SQL Server Management Studio</strong>.</li><li>Create a <strong>New Query</strong> on the problematic model database.</li><li>Define the new query as follows:<br>TRUNCATE TABLE COREObjectIntegrity</li><li>Click <strong>Execute</strong>.</li><li>Open<strong> </strong>the CheckRelations database integrity script from <em>[Install Directory]\Core\Server\Schema\SQL\IntegrityScripts\CheckRelations.sql </em>and connect it to the problematic model database.</li><li>Click <strong>Execute</strong>.</li><li>Start new Smart 3D session and define workspace using some existing filter or open an existing session file.</li><li>Select <strong>Tools</strong> > <strong>Custom Commands</strong>. Add custom command with ProgID <em>SP3DCleanDatabaseCmd.CCheckObj</em> and click <strong>Run</strong>.</li><li>For <strong>Database Type</strong>, select <strong>Model</strong>.</li><li>Click <strong>Select All</strong>, then <strong>Clean Now</strong>. Wait until command processing is completed.</li><li>Exit Smart 3D.</li><li>Restart Smart 3D. Try to define a new filter and check if system hierarchy is available for selection.</li></ol> <!-- /wp:list --> <!-- wp:paragraph {"style":{"typography":{"fontSize":"16px"}}} --> <p style="font-size:16px">当发生object type页面信息丢失时也可以使用方法二。</p> <!-- /wp:paragraph --> 最后修改:2025 年 03 月 13 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 如果觉得我的文章对你有用,请随意赞赏