Quantcast
Channel: OpenPlant | AutoPLANT
Viewing all articles
Browse latest Browse all 12277

Wiki Page: How To Create and Populate Service Description Property on Piping Component Element Information

$
0
0
Applies To Product(s): OpenPlant Modeler Version(s): 08.11.09.XXX (SS5) | 08.11.11.XX (SS6) Environment: Windows 7/8.1/10 (64 bit) Area: Properties Subarea: Original Author: Kestutis Mitkus, Bentley Product Advantage Group Background User’s requirement is to create or edit Service with required Description and while placing any piping component same description should be visible in Element Information dialog. Steps to Accomplish Load OpenPlant_3D.01.07 schema and supplement it with OpenPlant_3D_Supplemental_Modeling.01.07 & OpenPlant_3D_Supplemental_ModelingViews.01.07 schemas. These schemas are generally located in C:\ProgramData\Bentley\OpenPlantModeler V8i\WorkSpace\Projects\%PROJECT_NAME%\Dataset\schemas folder. Search for Pipeline (PIPING_NETWORK_SYSTEM) class , click the Properties tab and copy SERVICE_NAME property. Paste it at the end of all properties and edit its name and display label to create SERVICE_DESCRIPTION property Click "Custom Attributes.." button and change applied custom attributes location to OpenPlant_3D_Supplemental_ModelingViews.01.07 . Search for PIPING_COMPONENT class, click the Properties tab and copy SERVICE property. Paste it at the end of all properties, edit its name and display label to create SERVICE_DESCRIPTION property. Click "Custom Attributes.." button and change applied custom attributes location same as it is in SERVICE property. Go to Calculated ECProperty Specification custom attribute and edit SERVICE_NAME to SERVICE_DESCRIPTION in it at the end of whole expression. Existing ECExpression value for SERVICE property: this.GetRelatedInstance("SEGMENT_HAS_PIPING_COMPONENT:1:PIPING_NETWORK_SEGMENT").GetRelatedInstance("PIPELINE_HAS_SEGMENT:1:PIPING_NETWORK_SYSTEM").SERVICE_NAME Edited ECExpression value for SERVICE_DESCRIPTION property: this.GetRelatedInstance("SEGMENT_HAS_PIPING_COMPONENT:1:PIPING_NETWORK_SEGMENT").GetRelatedInstance("PIPELINE_HAS_SEGMENT:1:PIPING_NETWORK_SYSTEM"). SERVICE_DESCRIPTION Save all changes and load “OpenPlant_Supplemental_Tagging” schema in class editor. Go to PIPING_NETWORK_SYSTEM class and switch to Properties tab. Right-click SERVICE_NAME property, copy and paste it in same Property tab. Edit its Name, display label and Calculated ECProperty Specification ECExpression value. Change NAME at the end of ECExpression to DESCRIPTION ECExpression value for SERVICE_NAME property: this.GetRelatedInstance("SERVICE_IS_RELATED_TO_NAMED_ITEM:1:SERVICE").NAME ECExpression value for SERVICE_DESCRIPTION property: this.GetRelatedInstance("SERVICE_IS_RELATED_TO_NAMED_ITEM:1:SERVICE"). DESCRIPTION Save all the changes in schema. Verify the Results Launch OpenPlant Modeler. In create pipeline dialog, click button to add new Service. In the Create Service dialog, input required Service description and save. Try to place piping component and already in component placement dialog it is presented Place component and check its Element Information If model has existing components and they are still not showing Service Description, then check this wiki article how to update all components and see these changes See Also Comments or Corrections? Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!

Viewing all articles
Browse latest Browse all 12277

Trending Articles