This command can be used to set the open state of an object like a door. A state of 0 is closed, a state of 2 is open.
setopenstate [0 / 2]