GeometryType.OTHER_CURVE documented but not implemented?

johnsogg
johnsogg Member, Developers Posts: 14 ✭
This query doesn't seem to work, but similar ones for GeometryType.ARC and GeometryType.LINE do:

`var asCurves = evaluateQuery(context, qGeometry(path.edges[i], GeometryType.OTHER_CURVE));`

The message I get is `@evaluateQuery: Unknown geometry type: OTHER_CURVE`. But the docs for the GeometryType enum do have the other curve type in there.

Is this just a TODO? Or am I doing it wrong?

Comments

  • john_f_carr
    john_f_carr Onshape Employees Posts: 74 image
    OTHER_CURVE and OTHER_SURFACE are not implemented in qGeometry.
  • ilya_baran
    ilya_baran Onshape Employees, Developers, HDM Posts: 1,277 image
    Yes, we need to add the query implementation.  If you'd like to be notified when we fix this, please submit a ticket using "report a bug" in the help menu.
    Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc