Unexpected error with HPS::VisualEffectsKit after downloading newer versions of HOOPS Visualize, and Exchange

Hello,

I am working with HOOPS Visualize, Exchange, and Parasolid integration using the following references:

I just downloaded the latest versions of HOOPS Visualize, and Exchange. However, upon building the project, unexpected errors occurred in properties.h which didn’t happen in previous versions.

The errors are related to HPS::VisualEffectsKit:

It seems these methods have been removed or deprecated in the newer versions. Could you please take a look or suggest any troubleshooting steps? Commenting out the related code does allow the project to build, but I’m not sure how that might affect downstream functionality.

I would truly appreciate your guidance and support.

Kind regards,
Kazi

In the HPS 2025.5.0 release, the Set, Show and UnsetAntiAliasing methods in the VisualEffectsKit and VIsualEffectsControl classes were split into Set, Show and UnsetLinesAntiAliasing and Set, Show and UnsetScreenAntiAliasing methods.

These changes are not reflected in the GitHub project you referenced. Until it’s updated, you could either update the code properties.h or use 2025.4.0.

Sorry for the inconvenience.

Mike

1 Like

Hi Kazi,

Thank you for reaching out.

Yes, this issue is likely related to the HOOPS Visualize SDK version update. When upgrading to a newer version of HOOPS Visualize, certain API changes—such as deprecations or removals like HPS::VisualEffectsKit—can cause compatibility issues, especially in shared sample code.
Updating \samples\mfc_sandbox\properties.h ensures you are using a version aligned with the current API surface.

Also, I’ve updated the GitHub repository (mfc_sandbox_HE-Ps) to be compatible with HOOPS Visualize 2025.5.0.
If you’re using that version, please make sure you pull the latest changes from GitHub to ensure full compatibility.

Best regards,
Toshi

1 Like

Hi Toshi and Mike,

Thank you both very much for the quick and helpful responses.

The updated properties.h worked perfectly, everything is running smoothly now with HOOPS Visualize 2025.5.0.

I really appreciate your support and guidance!

Kind regards,
Kazi

2 Likes