Applies To Product(s): OpenPlant Modeler Version(s): 08.11.09.XXX Environment: Windows 7 64 bit Area: Component Subarea: Original Author: Harpreet Singh, Bentley Technical Support Group Background When we add elbows of multiple radius types (Long. Short, 3R) with same angle in AutoFittingRules.xml file it always pick the elbow for the class which is higher in the order. For example, we have two classes for 90 degree elbows of short radius type in AutoFittingRules.xml file it places the elbow which comes first in the order. This is because Auto Fitting does not give the user an option to choose from the multiple types of elbows defined in the spec or AutoFittingRules.xml file. To overcome this user can define the new radius type for each elbow class which have same angle. Steps given below can be used to create new radius types. Steps to Follow Go to \%Project Root%\Workspace\OPModeler\System and open the AutoFittingRules.xml file. Copy the existing classes and modify it to match with your custom elbow class. In this case we have PIPE_ELBOW_90_DEGREE_SWEEP class which we need to add to this file. Change the elbow type to "Sweep". Save the file and close it. The above changes will just add the custom class to enable the auto-fitting for this elbow class and our next step would be to have the new elbow type to appear in the drop down of Radius Type in Auto-Fitting section of placement dialog. To do that we need to open the project PCF file and add the Sweep in below given configuration variable: OPM_AUTOFITTING_ELBOW_TYPES = Long Radius;Short Radius;3R;Sweep; Save the file and close it. Verify the Result Launch OPM again and open a model. Select the Place pipe tool and change the radius type to "Sweep" in Auto-Fitting section of placement dialog. Place the pipe with an elbow and check it's class in element information. Comments or Corrections? Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!
↧