Let’s see who can write the longest version now.
Well, I was going for readability before, but how about: FOR l in $lights WHERE l.isSelected DO TRY l.on = NOT l.on CATCH() clearSelection()
Well the $ variable is a bit weird in that it will hold the currently selected item if ONLY ONE item is selected and an array of items when many items…
print (“D:\\01_studium\\2008-2009 – diplom\\diplom\\300_-_verteidigung\\prototyp\\sources\\render\\”+(focal[b] as string)+”mm\\stadt_” + (dist[a] as s…
Cool Well, if you need any more help, you know where to find us…
Hehe I make no promises it will fix it. gc() calls the internal garbage collect, so it “should” free some memory if no longer needed. Check “Manual Ga…
Most likely it ran out of memory… try adding gc() at the end of the loop. And monitor the system memory to see if that’s really the problem.
I’m not sure if you can do it from the render function directly, but maybe using the RenderElementMgr interface?
I would think that if you call the render() function from within the loop it should continue looping after the render is done. It does not happen that…
gw.getViewportDIB()
Like Legie said there are several ways to go about this. One option would be to pre-declare the variables where you are going to store the array. So …
You could find the distance between the individual vertices and $.center and use the bigger distance as the sphere’s radius. On very high poly items i…
You can use the items property to access the array of text strings. Then you can use the integer index to get the array you want. Is that what you mea…
Have you tried “showProperties theNode” ?
Hehe, besides changing the script, you needed to re-evaluate it. Scripts need to be evaluated before they can be used (somewhat like how most programs…