PowerRole v2.0 supports IDM 3.x with RBPM and IDM 4.x advanced Edition. The new version comes with a lot of new features to do bulk imports or assignments of roles and resources. Just to mention some of them:
Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment. It just worked for at least one person, and perhaps it will be useful for you too. Be sure to test in a non-production environment.