Revit 2019 Cannot create pattern? pyrRevit

Hi,
I can install pyRevit to Revit 2019.2, but the create hatch function dose not work.
After I select the lines, the create pattern window just close without creating the pattern.
Dose anybody has any solution?

Thanks,