Python: JSON Foliage Import and Export. Not Recognizing points? UE5-0

Hi buddy, are you planting trees using python code?

How do you switch to unreal Editor mode?

Can you help me