public interface SketchCollection extends TaggedObjectCollection
Part
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
SketchAngularDimensionBuilder |
createAngularDimensionBuilder(AngularDimension angularDimension)
Creates a
SketchAngularDimensionBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") Created in NX9.0.0 |
SketchAutoConstrainBuilder |
createAutoConstrainBuilder()
Creates a
SketchAutoConstrainBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX5.0.0 |
SketchAutoDimensionBuilder |
createAutoDimensionBuilder()
Creates a
SketchAutoDimensionBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX7.5.0 |
SketchConstraintBuilder |
createConstraintBuilder()
Creates a
SketchConstraintBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX8.5.0 |
ConvertToFromReferenceBuilder |
createConvertToFromReferenceBuilder()
Creates a
ConvertToFromReferenceBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX5.0.0 |
SketchCornerBuilder |
createCornerBuilder()
Creates a
SketchCornerBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX5.0.0 |
SketchDimensionBuilder |
createDimensionBuilder(SketchDimensionalConstraint constraint)
Creates a
SketchDimensionBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX5.0.0 |
SketchEditDefiningSectionBuilder |
createEditDefiningSectionBuilder()
Creates a
SketchEditDefiningSectionBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") Created in NX7.5.0 |
InferredConstraintsBuilder |
createInferredConstraintsBuilder()
Creates a
InferredConstraintsBuilder
License requirements: None. |
SketchIntersectionCurveBuilder |
createIntersectionCurveBuilder(SketchIntersectionCurve operation)
Creates the builder for intersection curve
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") . |
SketchIntersectionPointBuilder |
createIntersectionPointBuilder(SketchIntersectionPoint operation)
Creates the builder for intersection point
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") . |
SketchLinearDimensionBuilder |
createLinearDimensionBuilder(Dimension linearDimension)
Creates a
SketchLinearDimensionBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") Created in NX9.0.0 |
SketchMakeSymmetricBuilder |
createMakeSymmetricBuilder()
Creates a
SketchMakeSymmetricBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX7.5.0 |
SketchInPlaceBuilder |
createNewSketchInPlaceBuilder(Sketch operation)
Creates a
SketchInPlaceBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX7.5.0 |
SketchProjectBuilder |
createProjectBuilder(nxopen.features.Feature operation)
Creates a
SketchProjectBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX5.0.0 |
SketchQuickExtendBuilder |
createQuickExtendBuilder()
Creates a
SketchQuickExtendBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX5.0.0 |
SketchQuickTrimBuilder |
createQuickTrimBuilder()
Creates a
SketchQuickTrimBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX5.0.0 |
SketchRadialDimensionBuilder |
createRadialDimensionBuilder(Dimension radialDimension)
Creates a
SketchRadialDimensionBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") Created in NX9.0.0 |
SketchRapidDimensionBuilder |
createRapidDimensionBuilder()
Creates a
SketchRapidDimensionBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") Created in NX9.0.0 |
Sketch |
createSketch(String name,
ISurface attachmentPlane,
IReferenceAxis referenceAxis,
Vector3d referenceDirection,
AxisOrientation referenceAxisOrientation,
Sense referenceAxisSense,
PlaneNormalOrientation normalOrientation)
Deprecated.
Deprecated in NX7.5.3. Use
SketchInPlaceBuilder instead.
|
Sketch |
createSketch(String name,
ISurface attachmentPlane,
IReferenceAxis referenceAxis,
Vector3d referenceDirection,
AxisOrientation referenceAxisOrientation,
Sense referenceAxisSense,
PlaneNormalOrientation normalOrientation,
NXObject view)
Deprecated.
Deprecated in NX7.5.3. Use
SketchInDraftingBuilder instead.
|
SketchAlongPathBuilder |
createSketchAlongPathBuilder(Sketch operation)
Creates a
SketchAlongPathBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX5.0.0 |
SketchAssociativeTrimBuilder |
createSketchAssociativeTrimBuilder(SketchAssociativeTrim trimCon)
Creates a
SketchAssociativeTrimBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX6.0.0 |
SketchChamferBuilder |
createSketchChamferBuilder()
Creates a
SketchChamferBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX7.5.0 |
SketchConicBuilder |
createSketchConicBuilder(NXObject conic)
Creates a
SketchConicBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX6.0.0 |
SketchEllipseBuilder |
createSketchEllipseBuilder(NXObject ellipse)
Creates a
SketchEllipseBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX6.0.0 |
SketchInDraftingBuilder |
createSketchInDraftingBuilder()
Creates a
SketchInDraftingBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") Created in NX5.0.0 |
SketchMirrorBuilder |
createSketchMirrorBuilder()
Deprecated.
Deprecated in NX8.0.0. Use
SketchMirrorPatternBuilder instead.
|
SketchMirrorPatternBuilder |
createSketchMirrorPatternBuilder(SketchPattern con)
Creates a
SketchMirrorPatternBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX7.5.0 |
SketchOffsetBuilder |
createSketchOffsetBuilder(SketchOffset offCon)
Creates a
SketchOffsetBuilder . |
SketchPasteBuilder |
createSketchPasteBuilder(Sketch[] sketches)
Creates a
SketchPasteBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX7.5.0 |
SketchPatternBuilder |
createSketchPatternBuilder(SketchPattern con)
Creates a
SketchPatternBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") Created in NX7.5.0 |
SketchPolygonBuilder |
createSketchPolygonBuilder(SketchPolygon polygonconstraint)
Creates a
SketchPolygonBuilder
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") Created in NX7.5.0 |
Sketch |
findObject(String name)
Finds the
Sketch with the given name. |
Sketch |
getOwningSketch(SmartObject geometry)
Returns the sketch that owns the specified geometry
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") . |
_find_next, iterator
Sketch createSketch(String name, ISurface attachmentPlane, IReferenceAxis referenceAxis, Vector3d referenceDirection, AxisOrientation referenceAxisOrientation, Sense referenceAxisSense, PlaneNormalOrientation normalOrientation) throws NXException, RemoteException
SketchInPlaceBuilder
instead.
name
- Name of the sketch. The name will be converted to upper case. If this is an empty string or null, a name will be provided by the system.attachmentPlane
- A face or datum plane that the sketch will be attached to. Must be planar.referenceAxis
- Can be a datum axis, edge, datum plane, face, or null.
If it is an edge, the edge must be a line segment. If it is a face, the
face must be a plane. If null, the reference_direction is used insteadreferenceDirection
- If reference_axis is null,
this parameter sets the reference direction of the sketch.
In this case, this parameter must not be (0,0,0).
If reference_axis is not null
and this parameter is not (0,0,0), this parameter
determines whether the reference direction should be
in the same direction as reference_axis
or in the opposite direction. If this parameter is (0,0,0),
this parameter is not used.referenceAxisOrientation
- indicates whether the reference axis is horizontal or verticalreferenceAxisSense
- Ignored unless reference_direction
is (0,0,0) and reference_axis is an edge or datum axis.
This parameter indicates whether the reference axis should
be in the same direction as reference_axis or in the opposite
directionnormalOrientation
- whether the sketch's Z-axis should be outward or inwardNXException
RemoteException
Sketch createSketch(String name, ISurface attachmentPlane, IReferenceAxis referenceAxis, Vector3d referenceDirection, AxisOrientation referenceAxisOrientation, Sense referenceAxisSense, PlaneNormalOrientation normalOrientation, NXObject view) throws NXException, RemoteException
SketchInDraftingBuilder
instead.
name
- Name of the sketch. The name will be converted to upper case. If this is an empty string or null, a name will be provided by the system.attachmentPlane
- A face or datum plane that the sketch will be attached to. Must be planar.referenceAxis
- Can be a datum axis, edge, datum plane, face, or null.
If it is an edge, the edge must be a line segment. If it is a face, the
face must be a plane. If null, the reference_direction is used insteadreferenceDirection
- If reference_axis is null,
this parameter sets the reference direction of the sketch.
In this case, this parameter must not be (0,0,0).
If reference_axis is not null
and this parameter is not (0,0,0), this parameter
determines whether the reference direction should be
in the same direction as reference_axis
or in the opposite direction. If this parameter is (0,0,0),
this parameter is not used.referenceAxisOrientation
- indicates whether the reference axis is horizontal or verticalreferenceAxisSense
- Ignored unless reference_direction
is (0,0,0) and reference_axis is an edge or datum axis.
This parameter indicates whether the reference axis should
be in the same direction as reference_axis or in the opposite
directionnormalOrientation
- whether the sketch's Z-axis should be outward or inwardview
- View of the drafting view in which the sketch needsto be createdNXException
RemoteException
Sketch findObject(String name) throws NXException, RemoteException
Sketch
with the given name.
An exception will be thrown if no object can be found with the given name.
name
- The name of the Sketch
NXException
RemoteException
Sketch getOwningSketch(SmartObject geometry) throws NXException, RemoteException
geometry
- NXException
RemoteException
SketchIntersectionCurveBuilder createIntersectionCurveBuilder(SketchIntersectionCurve operation) throws NXException, RemoteException
operation
- NXException
RemoteException
SketchIntersectionPointBuilder createIntersectionPointBuilder(SketchIntersectionPoint operation) throws NXException, RemoteException
operation
- NXException
RemoteException
SketchProjectBuilder createProjectBuilder(nxopen.features.Feature operation) throws NXException, RemoteException
SketchProjectBuilder
operation
- The feature for the SketchProjectBuilder
to be edited,
if null then create a new oneNXException
RemoteException
SketchCornerBuilder createCornerBuilder() throws NXException, RemoteException
SketchCornerBuilder
NXException
RemoteException
SketchAutoConstrainBuilder createAutoConstrainBuilder() throws NXException, RemoteException
SketchAutoConstrainBuilder
NXException
RemoteException
SketchOffsetBuilder createSketchOffsetBuilder(SketchOffset offCon) throws NXException, RemoteException
SketchOffsetBuilder
. This command only supports creation of up to 200 output curves. That means number
of curves in input section multiplied by the number of copies must be less than or equal to 200.
offCon
- Offset constraintNXException
RemoteException
SketchAssociativeTrimBuilder createSketchAssociativeTrimBuilder(SketchAssociativeTrim trimCon) throws NXException, RemoteException
SketchAssociativeTrimBuilder
trimCon
- Trim constraintNXException
RemoteException
ConvertToFromReferenceBuilder createConvertToFromReferenceBuilder() throws NXException, RemoteException
ConvertToFromReferenceBuilder
NXException
RemoteException
InferredConstraintsBuilder createInferredConstraintsBuilder() throws NXException, RemoteException
NXException
RemoteException
SketchMirrorBuilder createSketchMirrorBuilder() throws NXException, RemoteException
SketchMirrorPatternBuilder
instead.
SketchMirrorBuilder
NXException
RemoteException
SketchDimensionBuilder createDimensionBuilder(SketchDimensionalConstraint constraint) throws NXException, RemoteException
SketchDimensionBuilder
constraint
- The sketch dimensional constraint to be edited.NXException
RemoteException
SketchQuickExtendBuilder createQuickExtendBuilder() throws NXException, RemoteException
SketchQuickExtendBuilder
NXException
RemoteException
SketchQuickTrimBuilder createQuickTrimBuilder() throws NXException, RemoteException
SketchQuickTrimBuilder
NXException
RemoteException
SketchInPlaceBuilder createNewSketchInPlaceBuilder(Sketch operation) throws NXException, RemoteException
SketchInPlaceBuilder
operation
- The Sketch
to reattach or null to create a new oneNXException
RemoteException
SketchAlongPathBuilder createSketchAlongPathBuilder(Sketch operation) throws NXException, RemoteException
SketchAlongPathBuilder
operation
- The Sketch
to reattach or null to create a new oneNXException
RemoteException
SketchInDraftingBuilder createSketchInDraftingBuilder() throws NXException, RemoteException
SketchInDraftingBuilder
NXException
RemoteException
SketchEllipseBuilder createSketchEllipseBuilder(NXObject ellipse) throws NXException, RemoteException
SketchEllipseBuilder
ellipse
- The ellipse to be edited.NXException
RemoteException
SketchConicBuilder createSketchConicBuilder(NXObject conic) throws NXException, RemoteException
SketchConicBuilder
conic
- The conic to be edited.NXException
RemoteException
SketchChamferBuilder createSketchChamferBuilder() throws NXException, RemoteException
SketchChamferBuilder
NXException
RemoteException
SketchAutoDimensionBuilder createAutoDimensionBuilder() throws NXException, RemoteException
SketchAutoDimensionBuilder
NXException
RemoteException
SketchPatternBuilder createSketchPatternBuilder(SketchPattern con) throws NXException, RemoteException
SketchPatternBuilder
con
- Pattern constraintNXException
RemoteException
SketchMirrorPatternBuilder createSketchMirrorPatternBuilder(SketchPattern con) throws NXException, RemoteException
SketchMirrorPatternBuilder
con
- Pattern constraintNXException
RemoteException
SketchMakeSymmetricBuilder createMakeSymmetricBuilder() throws NXException, RemoteException
SketchMakeSymmetricBuilder
NXException
RemoteException
SketchPolygonBuilder createSketchPolygonBuilder(SketchPolygon polygonconstraint) throws NXException, RemoteException
SketchPolygonBuilder
polygonconstraint
- The polygon constraint. The only acceptable value here is null.NXException
RemoteException
SketchPasteBuilder createSketchPasteBuilder(Sketch[] sketches) throws NXException, RemoteException
SketchPasteBuilder
sketches
- Sketch
to be copy/pasteNXException
RemoteException
SketchEditDefiningSectionBuilder createEditDefiningSectionBuilder() throws NXException, RemoteException
SketchEditDefiningSectionBuilder
NXException
RemoteException
SketchConstraintBuilder createConstraintBuilder() throws NXException, RemoteException
SketchConstraintBuilder
NXException
RemoteException
SketchAngularDimensionBuilder createAngularDimensionBuilder(AngularDimension angularDimension) throws NXException, RemoteException
SketchAngularDimensionBuilder
angularDimension
- the angular dimension to be edited,
if null. then create an angular dimensionNXException
RemoteException
SketchLinearDimensionBuilder createLinearDimensionBuilder(Dimension linearDimension) throws NXException, RemoteException
SketchLinearDimensionBuilder
linearDimension
- the linear dimension to be edited,
if null, then create a linear dimensionNXException
RemoteException
SketchRapidDimensionBuilder createRapidDimensionBuilder() throws NXException, RemoteException
SketchRapidDimensionBuilder
NXException
RemoteException
SketchRadialDimensionBuilder createRadialDimensionBuilder(Dimension radialDimension) throws NXException, RemoteException
SketchRadialDimensionBuilder
radialDimension
- the radial dimension to be edited,
if null, then create a radial dimensionNXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.