Hi. this is my code to generate points asset.
def create(N, points_path="/World/Points1", color=(1, 0, 0), size=0.2):
# Create Point List
point_list = np.zeros([N, 3])
sizes = size * np.ones(N)
stage = omni.usd.get_context().get_stage()
points = UsdGeom.Points.Define(stage, points_path)
points.CreatePointsAttr().Set(point_list)
points.CreateWidthsAttr().Set(sizes)
points.CreateDisplayColorPrimvar("constant").Set([color])
return points
But I want to create points using GUI. Are there related documents?
thanks!