These console commands take EVERYTHING from another tribe in Ark Survival Evolved, so don't think you are just getting one structure or dino in the game. There are very helpful commands if you have an old character on a single-player game, or if you have accidentally created a new survivor and have suddenly lost all your stuff. Obviously, you are going to have to be on singleplayer, or the admin of a server in order to use these console commands.
While looking at what you want:
TakeAllDino = takes all the tame dinos and creatures from a tribe
TakeAllStructure = takes all the structures (boxes, bases, and everything else)
To access the console (PC, Xbox, PS) check the post on how to access the console commands in Ark Survival Evolved.