This was not working for me, it produced an error "wallet is open"
Since no one has explained it simply for the non-developer crowd, here is what I tried that did not error out.
Open Keyid - login - Go to console
type wallet_export_to_json c:\keyidjsonexport
Open Bitshares - login - Go to console
type import_keys_from_json c:\keyidjsonexport Keyidpassword bitsharesusername
>> import_keys_from_json e:\jsonexport Keyidpassword bitsharesusername
If it actually works, a number will appear. If you run it again, the number will be 0.
In bitshares console, type rescan
After a few more hours, the keyid balances should appear when you type - wallet_account_vesting_balances youraccountname
Then for the next 2 years you have to type - wallet_collect_vested_balances
What a pain. Why can't they just make it vest automatically after keys are imported?