Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How Do You Search Local BCL Components Using API With C# Bindings

How do you use the searchComponents method of a local BCL instance? It takes two string arguments; one for the search term and one for the componentType. What is component type exactly? Is it something like "OS:Fan:VariableVolume" or something else?

I'm using the C# bindings and am getting a reference to the local instance using: var localBCL = LocalBCL.instance()

Checking the path it seems to exist, but I can't seem to get the search to return any results. Does anyone know what the componentType input should be? Also, does the search term need to be an exact match or just partial?

How Do You Search Local BCL Components Using API With C# Bindings

How do you use the searchComponents method of a local BCL instance? It takes two string arguments; one for the search term and one for the componentType. What is component type exactly? Is it something like "OS:Fan:VariableVolume" or something else?

I'm using the C# bindings and am getting a reference to the local instance using: var localBCL = LocalBCL.instance()

Checking the path it seems to exist, but I can't seem to get the search to return any results. Does anyone know what the componentType input should be? Also, does the search term need to be an exact match or just partial?

How Do You Search Local BCL Components Using API With C# Bindings

How do you use the searchComponents method of a local BCL instance? It takes two string arguments; one for the search term and one for the componentType. What is component type exactly? Is it something like "OS:Fan:VariableVolume" or something else?

I'm using the C# bindings and am getting a reference to the local instance using: var localBCL = LocalBCL.instance()

Checking the path it seems to exist, but I can't seem to get the search to return any results. Does anyone know what the componentType input should be? Also, does the search term need to be an exact match or just partial?