You can use hitpoints to create a groove quantize preset.
Prerequisite
The audio event from which you want to extract the timing is opened in the Sample Editor, and the hitpoints are set at the correct positions.
Procedure
In the Hitpoints section in the Sample Editor
Inspector, open the Create section, and click Groove.
Result
The groove is extracted from the audio event and automatically selected in the Quantize Presets pop-up menu on the Project window toolbar.
After Completing This Task
Open the Quantize Panel, and save the groove as a preset.