With this objects you can handle sketches solve the actual set of geometry and constraints add a geometric object to the sketch delete a geometric object from the sketch delete a list of geometric objects from the sketch, including any internal alignment geometry thereof delete all the geometry objects and constraints from the sketch except external geometry delete all the constraints from the sketch switch a geometry to a construction line set construction mode of a geometry on or off returns the construction mode of a geometry add a constraint to the sketch delete a constraint from the sketch Rename a constraint of the sketch Get the index of the constraint by name. If there is no such constraint an exception is raised. copy another sketch's geometry and constraints add a link to an external geometry to use it in a constraint delete a external geometry link from the sketch delete coincident constraints associated with a sketch point set the Datum of a Distance or Angle constraint Get the value of a datum constraint set the Driving status of a datum constraint set the Driving status of datum constraints Moves all datum constraints to the end of the constraint list Get the Driving status of a datum constraint toggle the Driving status of a datum constraint set the VirtualSpace status of a constraint Get the VirtualSpace status of a constraint toggle the VirtualSpace status of a constraint sets the constraint on/off (enforced or not) Get the constraint status (enforced or not) toggle the active status of constraint (enforced or not) movePoint(GeoIndex,PointPos,Vector,[relative]) - move a given point (or curve) to another location. It moves the specified point (or curve) to the given location by adding some temporary weak constraints and solve the sketch. This method is mostly used to allow the user to drag some portions of the sketch in real time by e.g. the mouse and it works only for underconstrained portions of the sketch. The argument 'relative', if present, states if the new location is given relatively to the current one. getPoint(GeoIndex,PointPos) - retrieve the vector of a point in the sketch (geoId, posId) = getGeoVertexIndex(index) - retrieve the GeoId and PosId of a point in the sketch return an axis based on the corresponding construction line create fillet between two edges or at a point trim a curve with a given id at a given reference point extend a curve to new start and end positions split a curve with a given id at a given reference point add a symmetric geometric objects to the sketch with respect to a reference point or line add a copy of geometric objects to the sketch displaced by a vector3d Moves the geometric objects in the sketch displaced by a vector3d add an array of size cols by rows where each element is a copy of the selected geometric objects displaced by a vector3d in the cols direction and by a vector perpendicular to it in the rows direction modifies constraints so that the shape is not forced to be aligned with axes. Deprecated -- use exposeInternalGeometry Deprecated -- use deleteUnusedInternalGeometry Exposes all internal geometry of an object supporting internal geometry Deletes all unused (not further constrained) internal geometry Approximates the given geometry with a B-Spline Increases the given BSpline Degree by a number of degrees Decreases the given BSpline Degree by a number of degrees by approximating this curve Increases or reduces the given BSpline knot multiplicity Inserts a knot into the BSpline at the given param with given multiplicity. If the knot already exists, this increases the knot multiplicity by the given multiplicity. calculateAngleViaPoint(GeoId1, GeoId2, px, py) - calculates angle between curves identified by GeoId1 and GeoId2 at point (x,y). The point must be on intersection of the curves, otherwise the result may be useless (except line-to-line, where (0,0) is OK). Returned value is in radians. isPointOnObject(GeoIdCurve, float x, float y) - tests if the point (x,y) geometrically lies on a curve (e.g. ellipse). It treats lines as infinite, arcs as full circles/ellipses/etc. Returns boolean value. calculateConstraintError(index) - calculates the error function of the constraint identified by its index and returns the signed error value. The error value roughly corresponds to by how much the constraint is violated. If the constraint internally has more than one error function, the returned value is RMS of all errors (sign is lost in this case). changeConstraintsLocking(bLock) - locks or unlocks all tangent and perpendicular constraints. (Constraint locking prevents it from flipping to another valid configuration, when e.g. external geometry is updated from outside.) The sketch solve is not triggered by the function, but the SketchObject is touched (a recompute will be necessary). The geometry should not be affected by the function. The bLock argument specifies, what to do. If true, all constraints are unlocked and locked again. If false, all tangent and perp. constraints are unlocked. getGeometryWithDependentParameters - returns a list of geoid posid pairs with all the geometry element edges and vertices which the solver regards as being dependent on other parameters. Automatic sketch constraining algorithm. Detects Missing Point On Point Constraints. The Detect step just identifies possible missing constraints. The result may be retrieved or applied using the corresponding Get / Make methods. Analyses the already detected Missing Point On Point Constraints to detect endpoint tagency/perpendicular. The result may be retrieved or applied using the corresponding Get / Make methods. Detects Missing Horizontal/Vertical Constraints. The Detect step just identifies possible missing constraints. The result may be retrieved or applied using the corresponding Get / Make methods. Detects Missing Equality Constraints. The Detect step just identifies possible missing constraints. The result may be retrieved or applied using the corresponding Get / Make methods. Applies the detected / set Point On Point coincident constraints. If the argument is True, then solving and redundant removal is done after each individual addition. Applies the detected / set Vertical/Horizontal constraints. If the argument is True, then solving and redundant removal is done after each individual addition. Applies the detected / set Equality constraints. If the argument is True, then solving and redundant removal is done after each individual addition. Removes constraints currently detected as redundant by the solver. If the argument is True, then the geometry is updated after solving. returns a list of (First FirstPos Second SecondPos Type) tuples with all the detected endpoint constraints. returns a list of (First FirstPos Second SecondPos Type) tuples with all the detected vertical/horizontal constraints. returns a list of (First FirstPos Second SecondPos) tuples with all the detected line segment equality constraints. returns a list of (First FirstPos Second SecondPos) tuples with all the detected radius constraints. returns a list of vertices positions. Number of Constraints in this sketch Number of geometric objects in this sketch Return the number of construction lines in the sketch which can be used as axes Return a list of GeometryFacade objects corresponding to the PropertyGeometryList sets the GeometryId of the SketchGeometryExtension of the geometry with the provided GeoId gets the GeometryId of the SketchGeometryExtension of the geometry with the provided GeoId