ProjectManager/ObjectGroup

ObjectGroup Module
Parameters:
Name Type Description
opt object

Members

position :Array

Position
Type:
  • Array
Example
const objectgroup = Module.ProjectManager.getObject("123456789"); // key
objectgroup.position = [2,4,1];

rotate :Array

Rotate
Type:
  • Array
Example
const objectgroup = Module.ProjectManager.getObject("123456789"); // key
objectgroup.rotate = [90,0,0];

scale :Array

Scale
Type:
  • Array
Example
const objectgroup = Module.ProjectManager.getObject("123456789"); // key
objectgroup.scale = [2,2,2];

visible :boolean

Visiblity
Type:
  • boolean
Example
const objectgroup = Module.ProjectManager.getObject("123456789"); // key
objectgroup.visible = true;

Methods

(inner) remove()

Remove object group
Example
// remove object group
const objectgroup = Module.ProjectManager.getObject("123456789"); // key
objectgroup.remove();