public static class Sketch.AddEllipseOption extends Enum
Sketch.addGeometry(nxopen.DisplayableObject, nxopen.Sketch.InferConstraintsOption)
to determine whether to treat an
ellipse as an ellipse or generic conic when adding the curve to
a sketch. Treating an ellipse as a conic means that the ellipse
will be given an anchor point. This affects, among other things,
how the ellipse behaves when it is dragged.
In order for an ellipse to be treated as a conic, its
end angle minus its start angle must be less than 180 degrees.Modifier and Type | Field and Description |
---|---|
static int |
_TREAT_AS_CONIC |
static int |
_TREAT_AS_ELLIPSE |
static Sketch.AddEllipseOption |
TREAT_AS_CONIC |
static Sketch.AddEllipseOption |
TREAT_AS_ELLIPSE |
Modifier and Type | Method and Description |
---|---|
static Sketch.AddEllipseOption |
valueOf(int value)
Returns the enum constant of the specified enum type with the specified value.
|
static Sketch.AddEllipseOption |
valueOf(String name)
Returns the enum constant of the specified enum type with the specified name.
|
static Sketch.AddEllipseOption[] |
values()
Returns an array that contains the values for this enum.
|
public static final Sketch.AddEllipseOption TREAT_AS_ELLIPSE
public static final Sketch.AddEllipseOption TREAT_AS_CONIC
public static final int _TREAT_AS_ELLIPSE
public static final int _TREAT_AS_CONIC
public static Sketch.AddEllipseOption valueOf(int value)
public static Sketch.AddEllipseOption valueOf(String name)
public static Sketch.AddEllipseOption[] values()
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.