Working with Energy Ports
Posted: 18 November 2026, 18:06
Hi all,
I was wondering if there are any specific requirements for working with Energy Ports in COBIA. More specifically, regarding the type of the connected object. In the case of Material Ports, the Connect() method requires casting to CAPEOPEN_1_2::CapeThermoMaterial, but I couldn't find an equivalent class for Energy.
I'd appreciate any relevant information on the matter, thanks!
I was wondering if there are any specific requirements for working with Energy Ports in COBIA. More specifically, regarding the type of the connected object. In the case of Material Ports, the Connect() method requires casting to CAPEOPEN_1_2::CapeThermoMaterial, but I couldn't find an equivalent class for Energy.
I'd appreciate any relevant information on the matter, thanks!