Customize the line number to match a client standard
Hello Plant 3D users!! Or would be users waiting for the right moment.
One of the biggest and most common concerns and questions we get regarding Plant 3D (P3D) is how to customize the line number to match a client standard and how to show that standard on the Isometric deliverable. Out of the box P3D provides a line number format of “Size-Service-Spec-Number”. This is the typical format and can be easily changed, however the main concern is that when P3D does its annotations of the lines in either Orthographics or Isometrics it doesn’t use this format. The default for annotation will use the property called P3D Line Group, which by default is the simple line number assigned such as 1001.
So the question is how to I set up this to display the entire line number when I need it shown on an Iso or ortho? The answer is “simple” but only once you are more familiar with the interface of the P3D configuration template.
Let’s walk you all through the steps.
Step 1. Create a new Tag format in P3D
First thing we need to do is to create a NEW format for the P3D Line Group default. I highly recommend not making changes to the Out of Box set up but rather make a ‘new’ configuration instead. In this example I will show you using a P3D Line Group of Service-Number.
Select the button on the left after setting the Sub parts option to the value desired
Next select the next item in the string by picking on the “Select Class Property” button for the second item.
In this case Number has been selected.
BE SURE TO KEEP THE “USE TARGET OBLECT’S PROPERTY” SELECTED
Next Scroll down to the bottom of the Properties window and find the section called TagFormat. Select the new Custom Tag as the Default
Step 2: Create a Concatenation String
Step 2. The next step is to create a Concatenation string using the previously created Custom Tag along with other dependent fields such as Size and Spec.
When you are satisfied with the items in the String, click OK and exit out of the Project Setup.
You may ask why don’t you just set up the P3D Line Group to include the entire string having Size-Service-Number-Spec all in one place?? You could do this but you will limit the flexibility of the annotations. Some of my clients chose to do it that way and others do not. I am simply showing you some alternative solutions. How you chose to progress will need to be determined internally on an individual basis.
Now when I go to P3D and draw a new line number I can get the following info updated into Properties
Final Step: Show new format on the isometric
The final step is how to have this new format show on the isometric in this manner rather than the simple line number showing.
This is done through the file called isoconfig.xml which is contained in the project folders under Isometrics. In this case as project contained on my C: drive.
I would recommend an XML viewer to access the file as NotePad will not be sufficient. A good FREE view can be found here, feel free to use which ever product you are more comfortable with.
Open the xml file of the style you wish to customize. Remember it is always prudent to make a backup copy prior to making any changes.
The xml file is not easy to navigate through, but will become easier as you come to understand the logic and layout.
Browse to this location: This is where the output Scheme will be determined; you should see something similar to below.
What we need to do here is to ‘rearrange’ the output items and add whatever new fields in the necessary order to attain our desired Line Number output. Currently what the output from above will be is: Pipeline-Reference – size-Spec or BD-1000-6”-CS300. The line called Format will dictate this order, and then later the line called ComponentFormat will also influence the outcome.
• Remember the PipeLine-Reference Number has already been changed with the previous set up in our Custom Tag creation to be Service-Number or BD-1000
The changes are indicated with the RED arrows below. Simply redefining the order of the entry as to what fields get placed first and what fields are being populated with what information such as Size or Spec
The resultant string from the right side of the page will look like this, giving a much better indication of the final product to be reported