How to create new component
The below steps illustrate a systematic approach to enhance the content to add desired connection points. By creating a new component in a discipline merits a customized design approach.
Steps to creating new component
- Create a schema
(.xsd) in
\\OpenBuildings CONNECT
Edition\Configuration\Datasets\Dataset_US\DataGroupSystem
OR
Use Definition Editor utility to create a new DataGroup Definition. Include all essential properties in the schema required for the component. - Add an entry under Catalog Item Name in HVAC~ .xml for HVAC components and in Plumbing~.xml for Plumbing components, respectively.
- The EndSpec schema defines number of connection point you need. In schema name for example, EndSpec5_22222 this indicates you will have 5 connection point and all with round shape (1 indicates rectangular, 2 round , and 3 oval).
- Define default values for each properties in the xml files located in \\OpenBuildings CONNECT Edition\Configuration\Datasets\Dataset_US\DataGroupSystem.
- Add entry in *.methods file to link the VBA script located at \\OpenBuildings CONNECT Edition\Configuration\Datasets\Dataset_US\vba. Specify project name(.mvba) module name and entry point function name. There are different VBA projects located at \\OpenBuildings CONNECT Edition\Configuration\Datasets\Dataset_US\vba as you specify module in above steps create new module, entry point function.
- Create new class module
for you component and instance that class in entry point function.
List of available VBA projects.
- BMECH_AccessDoors.mvba
- BMECH_Cleanouts.mvba
- BMECH_AccessDoors.mvba
- BMECH_Cleanouts.mvba
- BMECH_Goosenecks.mvba
- BMECH_MiscFitting.mvba
- BMECH_MixedFitting.mvba
- BMECH_OvalFitting.mvba
- BMECH_PUMPS.mvba
- BMECH_RectFitting.mvba
- BMECH_RoundFitting.mvba
- BMECH_Sprinklers.mvba
- BMP_Equipments.mvba
- fixtures.mvba
- inlinedevices.mvba
- grilles.mvba
- valves_flanges.mvba
- Static
cell components with connection point can be created by changing macro
via VBA Project Manager.
To do so, copy class module as it is from project, say HVAC_InlineDevices — ClsRectangularAHUs1 into your newly created class module.