## MQSystem class

### Method

Member | Description
--- | ---
getDocument | Get a document.
newObject | Create a new object.
newMaterial | Create a new material.
newPoint | Create a new MQPoint.
newCoordinate | Create a new MQCoordinate.
newColor | Create a new MQColor.
newAngle | Create a new MQAngle.
newMatrix | Create a new MQMatrix.
messageBox | Show a message box.
println | Output a log with line.
clearLog | Clear a log.
getSystemPath | Get a system path.
getLanguage | Get a language for GUI.
getResourceString | Get a system path.
openSetting | Open a setting.

getDocument
Get a document.
  Return value:
  MQDocument | - | document

newObject
Create a new object.
  Return value:
  MQObject | - | new object
Notes: This method doesn't add an object into the document.

newMaterial
Create a new material.
  Return value:
  MQMaterial | - | new material
Notes: This method doesn't add a material into the document.

newPoint([x, y, z])
Create a new MQPoint.
  Parameters:
  float | x | - | X coordinate
  float | y | - | Y coordinate
  float | z | - | Z coordinate
  Return value:
  MQPoint | - | new point

newCoordinate([u, v])
Create a new MQCoordinate.
  Parameters:
  float | u | - | U coordinate
  float | v | - | V coordinate
  Return value:
  MQCoordinate | - | new coordinate

newColor([r, g, b])
Create a new MQColor.
  Parameters:
  float | r | - | red
  float | g | - | green
  float | b | - | blue
  Return value:
  MQColor | - | new color

newAngle([head, pitch, bank])
Create a new MQAngle.
  Parameters:
  float | head | - | head angle
  float | pitch | - | pitch angle
  float | bank | - | bank angle
  Return value:
  MQAngle | - | new angle

newMatrix
Create a new MQMatrix.
  Return value:
  MQMatrix | - | new matrix
Notes: The new matrix is indentity.

messageBox(message)
Show a message box.
  Parameters:
  string | message | - | message shown on the dialog box.

println(message)
Output a log with line.
  Parameters:
  string | message | - | message for output

clearLog
Clear a log.

getSystemPath(type)
Get a system path.
  Parameters:
  string | type | - | type of system path [Root] root path that contains Metaseq.exe (example: "C:\Program Files\Metaseq") [ExeFile] path of Metaseq.exe (example: "C:\Program Files\Metaseq\Metaseq.exe") [IniFile] path of Metaseq.ini (example: "C:\Program Files\Metaseq\Metaseq.ini") [SettingXmlFile] path of Metaseq.setting.xml (example: "C:\Program Files\Metaseq\Metaseq.setting.xml") [Data] path of data folder (example: "C:\Program Files\Metaseq\Metaseq\Data")

getLanguage
Get a language for GUI.
  Return value:
  string | - | language

getResourceString(name)
Get a system path.
  Parameters:
  string | name | - | A resource name
  Return value:
  string | - | A resource string

openSetting(section)
Open a setting.
  Parameters:
  string | section | - | A section name
  Return value:
  MQSetting | - | A setting object