#############
|HCTHEN| 2024
#############

.. raw:: html

	<style>
		blockquote {
			border-left: 0px;
			padding-left: 0px;
		}
	</style>

|HCTHEN| 2024 is based on HOOPS Visualize 2024, HOOPS Exchange 2024, and HOOPS Publish 2024.


Enhancements
------------

**API additions.** New API functions in ``Model`` to customize the Phong material properties:

	**specular color:**
	
		* ``setNodesFaceSpecularColor``
		* ``unsetNodesFaceSpecularColor``
		* ``setNodesFaceSpecularIntensity``
		* ``unsetNodesFaceSpecularIntensity``

	**ambient color:**
	
		* ``setNodesAmbientColor``
		* ``setNodesAmbientMix``

	**emissive color:**
	
		* ``setNodesFaceEmissiveColor``
		* ``unsetNodesFaceEmissiveColor``
		
**API additions.** New API in ``Model`` to retrieve capping geometry from nodes (beta)

	* ``getNodeCappingMeshData``
	* ``getNodesCappingMeshData``

**API additions.** New API functions in ``View`` for a better lights management in the scene, now allows easy deletion and modification of lights and their properties

	* ``getLightKeys``
	* ``getLight``

.. only:: not spatial

	**Exchange ID.** Exchange IDs are now uniform accross Exchange and |HCTHEN|. There is a new function, ``Communicator.Utils.exchangeIdEqual``, that can be used to compare exchange IDs. Models need to be converted again to generate new Exchange ID format.

.. only:: spatial

	**New import option.** A new import option, ``ifc_new_tessellation``, is available in |HCTHEN| platform starting from 2024  which allows user to generate an improved tessellation for IFC files. As per our tests, there is no impact on performance (conversion or loading time) but the generated SC/SCZ file could be larger in size. There are also additional edges and lines visible for IFC models compared to old |HCTHEN| versions. This feature is available in a Beta state and can be used by activating specific import option (``ifc_new_tessellation = true``). By default, this option is set to false. 



Fixed bugs
----------

.. csv-table::
	:header: "Issue number", "Description"
	
	"19302", "Regarding the difference in the amount of events generated for each point when swiping two points on the iPad at the same time"
	"19281", "getNodeProperties slowdown - execution time seems to be dependent on number of node children now"
	"19277", "Revit Section Boxes Not Displaying Properly"
	"19253", "Regarding the SC conversion option equivalent to 'ConstructionAndReferences' when importing PRC to DemoViewer"
	"19221", "Using getNodeProperties in a loop is slow in 2023 SP2, was quick in 2023 SP1 U1"
	"19192", "Resetting model colors turns floorplan background red."
	"19137", "Events not getting fired properly in case of Multi Touch Input"
	"19097", "Drawing sheets are not getting displayed after the Use of mode.createNode API"
	"19096", "Reseting Model After Isolating Nodes Showing Non-default Nodes"
	"19089", "|HCTHEN| exposes a function called 'SaveAs' in the global name space"
	"19079", "|HCTHEN| generates wrong geometry for Valid IFC."
	"19042", "[Hoops Web Viewer] Compare two node error."
	"18972", "New bug with ovals in the viewer"
	"18930", "|HCTHEN| is not able to convert valid IFC file."
	"18910", "Select by Point When Selecting Near an Edge/Face Can Cause Selection to Choose something down the Z Stack"
	"18873", "|HCTHEN| 2023 is not able to convert the valid IFC files."
	"17902", "|HCTHEN| is not able to convert valid IFC file."
