Base Class: DatabaseMember
Derived Classes: ObjectSet Geometry
Description
Common base class for all geometry objects (points, lines, surfaces and volumes), as well as groups, sets and selections and the main database itself. This class defines the operations that can be performed on and between such objects. In general, each function works on one or two DatabaseOperations object(s), and optionally also takes an GeometryData object in which various options and settings can be specified. All functions return a newly created ObjectSet object which contains the objects created or modified. If no variable is created using this returned set, it (the set, not the new objects) is immediately deleted - this indicates that the script programmer is not interested in which objects have been created/modified
Example
Create points from coordinates specified in a data object, ignoring the created point(s)
Create points from coordinates specified in a data object, but having access to the created point(s) in a new set
call database.createPoint(geometryData)
Create a line from selected points, accepting all default control options and ignoring the created line(s)
set points = database.createPoint(geometryData)
pointArray = points.getObjects("Point", "all")
Intersect two lines, accepting all default control options and having access to the created point(s) in a new set
call selection.createLine()
Intersect lines in the two selections, accepting all default control options and ignoring any created points
set points = line1.intersectLines(line2)
Intersect a line with lines in the selection, specifying control options and ignoring any created points
call selection.intersectLines(selectionMemory)
call line1.intersectLines(selection, geometryData)
Available Functions:
Back to Overview