I have successfully done this in P3D using ScenProc but unable to get any scripts from this forum and other web links to work.
Did you try the latest pkaser script under
(contrib #7). This one works for me with the most recent version of Scenproc and straight downloads of OSM scenery out of the box. Many older scripts indeed have issues.
Kind regards, Michael