Code: Select all
Set oRoot = ActiveSceneRoot
set oObjs = oRoot.FindChildren()
for each i in oObjs
logmessage i
next
Code: Select all
var oRoot = ActiveSceneRoot
var oObjs = oRoot.FindChildren()
for (s=1;s<4=;s++){
LogMessage("oRoot")
}
Yet in the VBScript, things are completely different, what is the syntax difference ?
Edit: I want to squeeze in another question.
How can I offset objects in a loop. If I'm creating three primitives, and I want each one to have even spacing (JScript) ?