Try using the markfordelete console command.
After using it you need to leave area so it goes away.
Next time make sure you place a fast travel welcome mat inside your red rocket work shop. This way when you fast travel to that location you'll appear inside & not outside.
silly, all you had to do was hold down the v key to enter build mode, grab a piece, walk in, and tab out to reset the piece. who knows what damage you did to your game by hard deleting an object from a script array.
I place my mats right in front of the Workshop, some settlements get confusing and it's easier not to have to run about looking for the Workshop.
I don't think it does any damage to the game, used this command in Skyrim and never had any issues.
yeah but we don't know how the building mechanics function under the hood yet. just sayin.
It was just a fence he had to delete, it would be like deleting a rock.
while this work, i think press V to enter build mode and remove the wall is the easiest and fastest way
Wouldn't the OP have tried that if he was still able? Sounded like he walked off then came back and realised he was locked out.
it is possible he didn't realise there is such feature if he always walk and interact with the workshop directly
I guess, I always err on the side of the guy asking for help exhausted all other possibilities.