Revit API customize CEFSharp settings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Looking into the Revit API Changes 2020 I can see, in the section dedicated to CEFSharp:
Revit automatically initializes CEFsharp
Revit and Autodesk add-ins use the CEFsharp library internally for several features. Some third-party add-ins do so as well. Occasionally, when different versions of the library are used, it leads to instability issues for Revit.In order to avoid version conflicts, we are clarifying what CEFsharp version is being used, and loading it prior to all add-in initialization.
For my application I need to enable some features of CEFSharp: gpu acceleration and webGL support.
Unfortunately, as I can read from CEFSharp documentation, those features can only be activated during CEF initialization, but this action can be performed only once per process.
Since in the Revit documentation there is no mention about on how to customize the default settings, basically I can't start a Chromium instance with those features enabled.
Is there somebody that can help me with this issue ?
Thanks a lot.