'How to change position of Mesh.CreateBox

What is the way to set the Position (x, y, z) after create a mesh on create

  var pb1 = Mesh.CreateBox(8000, 400, 300);
  pb1.Color = Color.FromArgb(255, (byte)rand.Next(255), (byte)rand.Next(255), (byte)rand.Next(255));
  pb1.ColorMethod = colorMethodType.byEntity;
  pb1.Translate(0, 0, 0);

so i want set to x=0, y=400, z=0

SelectedEntity.Translate(0, 400, 0)

dosent work it set always to another position



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source