Hi @h_eger,
Thanks for your reply. If i add one Nozzle to my EquipmentType.xml like above, I'm getting the below error while creating the component.

Also my current EquipmentType.xml will look like below,
<?xml version="1.0" encoding="utf-8"?>
<EquipmentType
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
Name="TESTVESSEL"
Type="C"
SubType="V"
PartSubType="GeneralVessel"
GUID="{4E1D18D7-85E8-473D-BC05-468AFB98AA0F}"
PartType="Vessel">
<DisplayName>TESTVESSEL</DisplayName>
<PartProperties>
<PropertyInfo Name="PartSizeLongDesc" DefaultValue="TESTVESSEL" />
</PartProperties>
<Parameters>
<ParameterInfo Name="R1" DefaultValue="100" Type="d" />
<ParameterInfo Name="H1" DefaultValue="50" Type="d" />
</Parameters>
<Nozzles>
<NozzleInfo Name="Nozzle 1" PortIndex="1">
<DisplayName>Nozzle 1</DisplayName>
<NozzleTypes />
<Parameters>
<ParameterInfo Name="LOC" DefaultValue="1" Type="List" />
<ParameterInfo Name="R" DefaultValue="0" Type="d0" />
<ParameterInfo Name="A" DefaultValue="0" Type="a" />
<ParameterInfo Name="L" DefaultValue="3" Type="d" />
</Parameters>
<PortProperties>
<PropertyInfo Name=".SizeRecordId" DefaultValue="4e77a112-54bb-5aaf-ab95-255acade6937" />
</PortProperties>
</NozzleInfo>
</Nozzles>
</EquipmentType>
And my .py script file will look like below,
import aqa.math
import math
from varmain.primitiv import *
from varmain.var_basic import *
from varmain.custom import *
@activate(Group="Vessel", TooltipShort="TESTVESSEL", TooltipLong="TESTVESSEL", LengthUnit="mm")
@group("MainDimensions")
@param(R1=LENGTH, TooltipShort="Radius of Cylinder")
@param(H1=LENGTH, TooltipShort="Height of Cylinder")
@group(Name="meaningless enum")
@enum(1, "align X")
@enum(2, "align Y")
@enum(3, "align Z")
def TESTVESSEL (s, R1=2000, H1=1500, ID = 'TESTVESSEL', **kw):
o1 = CYLINDER(s, R=R1, H=H1, O=0.0)
s.setPoint((0, 0, 0), (-1, 0, 0))
Kindly let me know what I'm missing.