[Solution] The NameError: name 'PhysicsContext' in the Isaac Sim tutorial '5. Script Editor'

Hi, here is the solution!

While I follow the, great and awesome, Isaac Sim tutorial ‘5. Script Editor’ below, an error happens.
https://docs.omniverse.nvidia.com/app_isaacsim/app_isaacsim/tutorial_gui_script_editor.html#script-editor

Problem
When the code of ‘5.4. Isaac Sim Core APIs’ below is run,

import numpy as np
from omni.isaac.core.objects import DynamicCuboid
from omni.isaac.core.objects.ground_plane import GroundPlane

PhysicsContext()
GroundPlane(prim_path="/World/groundPlane", size=1000, color=np.array([0.5, 0.5, 0.5]))
DynamicCuboid(prim_path="/World/cube",
position=np.array([50, 20, 100.0]),
size=np.array([50, 50, 50]),
color=np.array([20,30,0]))

The error below happens:

NameError: name ‘PhysicsContext’ is not defined

At:
executing: Python 0…(5):

Environment
Ubuntu AMI Container install on AWS EC2

Solution
At the top of the code, insert the below:

from omni.isaac.core import PhysicsContext

Thank you for presenting the solution.