How to add a new component into Plant 3D PnID / P&ID
Firstly we need to create a block in a plant project drawing,
If it is not in a plant project, you may encounter issues as I show later on.
Find a piece of equipment or component that you wish to add to the project.
Make it into a block.
Add Point Parameters to the ends.
Select a Point Parameter,
open its Properties.
Locate the Position name.
insert the following:
AttachmentPoint#:EndCode*
# Being the number Endpoint.
* Being the angle of the connection from the component .
Some components do not need both and you can just use AttachmentPoint#
By using the EndCode, you force the angle and direction of the component.
Below is the Finished example,
Note that AttachmentPoint2:EndCode90 is incorrect and in this case should be AttachmentPoint2:EndCode180
When done select Close Block Editor.
Now that the Block is Ready,
SAVE the drawing in a place you can locate it.
Navigate to the Project Setup and open it.
Navigate to the sub directory that the component will go into.
Right click on the Class directory name,
Select New.
Assign the Class Name, this cannot contain spaces, only Letters, Numbers and Underscores.
then add the Display Name, This can contain most characters.
Click OK when done.
Now we add the Block that was created.
Click the Newly created class.
Select the Add Symbols button.
The add Symbols dialoge box opens,
Select the Browse Button.
Browse to where you saved the drawing that contains the block.
I highly suggested this be a drawing that is in the project.
Select Open.
The blocks inside the drawing should display on the left panel,
Find the component,
Select the Add>>> Button.
The component should move to the right panel and the Preview should display.
Click Next>>.
Enter the Symbol Name.
Change the Symbol Scale (This may need tweaking later to suit your )
Select Finish.
If your Preview is Blank like shown,
Something went wrong,
this is normally what happens when the block is saved in a drawing that it is not in the project.
I would recommend going back, saving the drawing to the project and redoing the steps till here.
Once done,
Select Add to Tool Palette…
Then select Apply/OK.
The Component should appear on the active tool palette,
If its in the wrong location, drag it to the correct place.
You should now be able to click on it and place it into your drawing.
If the component looks out of scale,
go back and adjust the scale of the symbol or block item to suit your drawing.