Commit 1ae920fe authored by Jan Möbius's avatar Jan Möbius

Updated scripting docu

refs #2365



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@20266 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 5b1117fb
......@@ -50,12 +50,12 @@
Also, some functions create an object and return its id.
Some examples:
\code
//gathering id of an object
core.loadObject(QString) //generate an object and returns its Id
core.getObjectId(QString) // returns Id by object name
datacontrol.getObjectName(int) // returns object name by Id
datacontrol.getTargetObjects(DataType) // returns IdList of all target objects
primitivesgenerator.addPyramid() //generate an object and returns its Id
//Various ways of gathering id and or name of an object
var objectId = core.loadObject(QString) //generate an object and returns its Id
var objectId2 = core.getObjectId(QString) // returns Id by object name
var objectName = datacontrol.getObjectName(int) // returns object name by Id
var objectList = datacontrol.getTargetObjects(DataType) // returns IdList of all target objects
var objectId3 = primitivesgenerator.addPyramid() //generate an object and returns its Id
...
\endcode
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment