Unable to expand a plant in the tree view or publish your PBS after upgrade - SmartPlant Foundation - IM Update 47 - Installation & Upgrade

SmartPlant Foundation Upgrade

Language
English
Product
SmartPlant Foundation
Search by Category
Installation & Upgrade
SmartPlant Foundation / SDx Version
10

After upgrading with a custom PBS, if you are unable to expand your plant in the Tree view and you are also unable to publish your custom PBS hierarchy, this problem may be the result of having overwritten your custom PBS hierarchy graph definition during the upgrade. If the custom PBS graph definition was overwritten, perform the procedure below to restore your custom PBS hierarchy graph definition.

Regenerate and reload PBS Hierarchy graph definition

  1. To recreate the PBS Hierarchy graph definition used to expand the hierarchy in the Tree view, find the CMF you modified in the Desktop Client (Find > Integration > Schema Documents).

  2. Right-click the CMF file version (CMF_Ver), and click Launch CMF File manager (PBS).

  3. Click Load.

    One node should appear in the tree view.

  4. Make sure the Inherit Clicked Item option is selected.

  5. Select the PBSComponent object.

  6. Select only the classdefs of your hierarchy.

  7. Click Export.

  8. Edit the generated file SPF_01_AuthoringSchema.xml.

  9. Copy and paste the DirectedGraphDef, DeleteInstruction, and Rel object code into a new XML file.

    An example of this code is shown below (yours will vary, depending on your hierarchy).

    <Container>

    <DirectedGraphDef>

    <IDirectedGraphDef GraphDefn="+ISPFPlant/+ISPFPlant/,SPFPlant_SPFArea_21/SPFArea/+ISPFPlant/,SPFArea_SPFUnit_21/SPFUnit/SPFArea/,SPFUnit_SPFBuilding_21/SPFBuilding/SPFUnit/,SPFBuilding_SPFBlock_21/SPFBlock/SPFBuilding/,SPFBlock_SPFTrain_21/SPFTrain/SPFBlock" />

    <IObject UID="DGD_PBSHierarchy" Name="PBSHierarchy" />

    <ISchemaObj SchemaRevVer="04.02.05" ByCust="True" />

    </DirectedGraphDef>

    <DeleteInstruction>

    <IObject UID="DeleteInstruction-2" Name="Delete_{E3D82BE6-7065-4B1B-8525-1B78D80FB472}" />

    <IRefObject RefClass="Rel" RefUID="{E3D82BE6-7065-4B1B-8525-1B78D80FB472}" RefName="" />

    <IInstruction />

    <IRefRel RefDefUID="GraphDefInterfaceDef" RefUID1="DGD_PBSHierarchy" RefUID2="IPlant" />

    <IDeleteInstruction DeleteTransition="Terminated" />

    </DeleteInstruction>

    <Rel>

    <IObject UID="DGD_PBSHierarchy.ISPFPlant" />

    <IRel UID1="DGD_PBSHierarchy" UID2="ISPFPlant" DefUID="GraphDefInterfaceDef" />

    <ISchemaObj SchemaRevVer="04.02.05" ByCust="True" />

    </Rel>

    </Container>

  10. Launch the Desktop Client Loader (File > Loader), and select the XML file you just created.

  11. Click Process.