Customizing the Component Preference Box
There can be many times where a Designer or a project has specific needs which can be addressed by using the Component Preference window in AutoPLANT Piping. For example, the need to add the fields for the type of Insulation, or its thickness to be displayed and accounted for in the database can be done in the following steps.
As you can see in the above picture the Insul.Spec and the Insul.Thickness has been added as a selction for the user to now track per line/run that is drawn.The method to have this set so that it automatically does this for all projects is as follows:
First off, you need to set the default values into the fields you need, you need to set them in the Config.ini. You can see the two fields here -
[System.CompPref]
;// System.cmbNominalSize
Nominal = 6
;// System.cmbSpec
Spec = CS150
;// System.txtInsThck
InsThick = 0.0
;// Requested 2/11/2002
Insulation = AA
;// System.txtPaintCode
Paint_Code = 2
tracing = 0
;// System.cmbWeldGaps
WeldGap_Flag = 0
;// Toggle display of tooltips by default tooltips are on
DisableToolTips = 0
In order to get these settings to appear in the Component Preferences box you will need to add them to the CompPref.ini file located %Project_Root%\Config\
Open this file and make the following changes by either adding or amending existing sections:
;Insulation thickness for newly inserted components.
;Insulation thickness
;INSTHICK 0.0
[Insulation Thickness]
ToolTip=Insulation thickness
Resulttype=STRING
ResultField=INSTHICK
ComPrefType=0
Type=FreeText
ApplicationType=ISO,Piping
Default=4
Filter = Off
;Insulation Spec for newly inserted components.
;Insulation Spec
;INSULATION H
[Insulation Spec]
Type = FixedList
Numlist = 2
List1 = H
List2 = PP
ToolTip = Insulation Spec
Resulttype = STRING
ResultField = INSULATION
ComPrefType = 0
Type = FreeText
ApplicationType = ISO,Piping
Default = H
Filter = Off
You will notice that there is a NumList in the Insulation Spec section. This allows for a drop down list to be created
You can add to this list by adusting the NumList to equal the amount of items in the list then add List3 or List4 with the proper default to appear.
If these settings are done at the Master location for your project creation this will become the default setting for all future projects. If you have already been working on a project and want to add this functionality you will need to delete the appropriate folder under %Local_Root%\Config for that project. When you replace the files noted above then reopen the project the folder will be automatically created and the proper settings will now be in place. This will have to be done for all users that have already opened an existing project an
![]() |
As you can see in the above picture the Insul.Spec and the Insul.Thickness has been added as a selction for the user to now track per line/run that is drawn.The method to have this set so that it automatically does this for all projects is as follows:
First off, you need to set the default values into the fields you need, you need to set them in the Config.ini. You can see the two fields here -
[System.CompPref]
;// System.cmbNominalSize
Nominal = 6
;// System.cmbSpec
Spec = CS150
;// System.txtInsThck
InsThick = 0.0
;// Requested 2/11/2002
Insulation = AA
;// System.txtPaintCode
Paint_Code = 2
tracing = 0
;// System.cmbWeldGaps
WeldGap_Flag = 0
;// Toggle display of tooltips by default tooltips are on
DisableToolTips = 0
In order to get these settings to appear in the Component Preferences box you will need to add them to the CompPref.ini file located %Project_Root%\Config\
Open this file and make the following changes by either adding or amending existing sections:
;Insulation thickness for newly inserted components.
;Insulation thickness
;INSTHICK 0.0
[Insulation Thickness]
ToolTip=Insulation thickness
Resulttype=STRING
ResultField=INSTHICK
ComPrefType=0
Type=FreeText
ApplicationType=ISO,Piping
Default=4
Filter = Off
;Insulation Spec for newly inserted components.
;Insulation Spec
;INSULATION H
[Insulation Spec]
Type = FixedList
Numlist = 2
List1 = H
List2 = PP
ToolTip = Insulation Spec
Resulttype = STRING
ResultField = INSULATION
ComPrefType = 0
Type = FreeText
ApplicationType = ISO,Piping
Default = H
Filter = Off
You will notice that there is a NumList in the Insulation Spec section. This allows for a drop down list to be created
![]() |
You can add to this list by adusting the NumList to equal the amount of items in the list then add List3 or List4 with the proper default to appear.
If these settings are done at the Master location for your project creation this will become the default setting for all future projects. If you have already been working on a project and want to add this functionality you will need to delete the appropriate folder under %Local_Root%\Config for that project. When you replace the files noted above then reopen the project the folder will be automatically created and the proper settings will now be in place. This will have to be done for all users that have already opened an existing project an