Existing script:
DeletePoints
Ctrl+P script:var gd = moi.geometryDatabase; var pts = gd.getObjects().getPoints(); gd.removeObjects( pts );
****
[Edit: In this case the points are the top level objects...]
[Deleted other false statement]
- Brian
It seems that scripting is hard. Logic must follow narrow guidelines. Common sense logic only goes so far.
I'm thinking that your code is not quite done in the proper ways?
The geometry database is an area of computer memory which contains a "spreadsheet" structure of compound "lists and arrays" in specific formats, of the
cad data, which can be displayed on the screen. Entities created in scripts need to be added to the gd in order to be displayed, and often to be utilized by other commands, and become part of the .3dm file.
OK, now I say no more, due to my ignorance. :-)
[I edited some of my incorrect statements]
|