NXOpen .NET Reference Guide
|
Represents a collection of sketches More...
Protected Member Functions | |
override int | EnumerateMoveNext (ref Tag currentTag, byte[] state) |
Advances the enumerator to the next element of the collection. More... | |
Protected Member Functions inherited from NXOpen.TaggedObjectCollection | |
new void | initialize () |
<exclude> More... | |
Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
void | initialize () |
<exclude> More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents a collection of sketches
To obtain an instance of this class, refer to NXOpen.Part
Created in NX3.0.0
|
inline |
Creates a NXOpen.SketchAngularDimensionBuilder
Created in NX9.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
angularDimension | the angular dimension to be edited, if a null reference (Nothing in Visual Basic). then create an angular dimension |
|
inline |
Creates a NXOpen.SketchAutoConstrainBuilder
Created in NX5.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
|
inline |
Creates a NXOpen.SketchAutoDimensionBuilder
Created in NX7.5.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
|
inline |
Creates a NXOpen.SketchConstraintBuilder
Created in NX8.5.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
|
inline |
Creates a NXOpen.ConvertToFromReferenceBuilder
Created in NX5.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
|
inline |
Creates a NXOpen.SketchCornerBuilder
Created in NX5.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
|
inline |
Creates a NXOpen.SketchDimensionBuilder
Created in NX5.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
constraint | The sketch dimensional constraint to be edited. |
|
inline |
Creates a NXOpen.SketchEditDefiningSectionBuilder
Created in NX7.5.0
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
|
inline |
Creates a NXOpen.InferredConstraintsBuilder
Created in NX5.0.0
License requirements: None.
|
inline |
Creates the builder for intersection curve
Created in NX5.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
operation |
|
inline |
Creates the builder for intersection point
Created in NX5.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
operation |
|
inline |
Creates a NXOpen.SketchLinearDimensionBuilder
Created in NX9.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
linearDimension | the linear dimension to be edited, if a null reference (Nothing in Visual Basic), then create a linear dimension |
|
inline |
Creates a NXOpen.SketchMakeSymmetricBuilder
Created in NX7.5.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
|
inline |
Creates a NXOpen.SketchInPlaceBuilder
Created in NX7.5.0
Deprecated in NX11.0.0. Use NXOpen.SketchCollection.CreateSketchInPlaceBuilder2 instead.
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
operation | The NXOpen.Sketch to reattach or a null reference (Nothing in Visual Basic) to create a new one |
|
inline |
Creates a NXOpen.SketchProjectBuilder
Created in NX5.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
operation | The feature for the NXOpen.SketchProjectBuilder to be edited, if a null reference (Nothing in Visual Basic) then create a new one |
|
inline |
Creates a NXOpen.SketchQuickExtendBuilder
Created in NX5.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
|
inline |
Creates a NXOpen.SketchQuickTrimBuilder
Created in NX5.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
|
inline |
Creates a NXOpen.SketchRadialDimensionBuilder
Created in NX9.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
radialDimension | the radial dimension to be edited, if a null reference (Nothing in Visual Basic), then create a radial dimension |
|
inline |
Creates a NXOpen.SketchRapidDimensionBuilder
Created in NX9.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
|
inline |
Creates a sketch
Created in NX3.0.0
Deprecated in NX7.5.3. Use NXOpen.SketchInPlaceBuilder instead.
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
name | Name of the sketch. The name will be converted to upper case. If this is an empty string or a null reference (Nothing in Visual Basic), 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 a null reference (Nothing in Visual Basic). If it is an edge, the edge must be a line segment. If it is a face, the face must be a plane. If a null reference (Nothing in Visual Basic), the reference_direction is used instead |
referenceDirection | If reference_axis is a null reference (Nothing in Visual Basic), 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 a null reference (Nothing in Visual Basic) 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 vertical |
referenceAxisSense | 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 direction |
normalOrientation | whether the sketch's Z-axis should be outward or inward |
|
inline |
Creates a sketch.
This function takes in an argument for the view to create the sketch in a drafting member view.
Created in NX4.0.0
Deprecated in NX7.5.3. Use NXOpen.SketchInDraftingBuilder instead.
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
name | Name of the sketch. The name will be converted to upper case. If this is an empty string or a null reference (Nothing in Visual Basic), 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 a null reference (Nothing in Visual Basic). If it is an edge, the edge must be a line segment. If it is a face, the face must be a plane. If a null reference (Nothing in Visual Basic), the reference_direction is used instead |
referenceDirection | If reference_axis is a null reference (Nothing in Visual Basic), 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 a null reference (Nothing in Visual Basic) 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 vertical |
referenceAxisSense | 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 direction |
normalOrientation | whether the sketch's Z-axis should be outward or inward |
view | View of the drafting view in which the sketch needsto be created |
|
inline |
Creates a NXOpen.SketchAlongPathBuilder
Created in NX5.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
operation | The NXOpen.Sketch to reattach or a null reference (Nothing in Visual Basic) to create a new one |
|
inline |
Creates a NXOpen.SketchAssociativeTrimBuilder
Created in NX6.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
trimCon | Trim constraint |
|
inline |
Creates a NXOpen.SketchChamferBuilder
Created in NX7.5.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
|
inline |
Creates a NXOpen.SketchConicBuilder
Created in NX6.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
conic | The conic to be edited. |
|
inline |
Creates a NXOpen.SketchEllipseBuilder
Created in NX6.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
ellipse | The ellipse to be edited. |
|
inline |
Creates a NXOpen.SketchInDraftingBuilder
Created in NX5.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
|
inline |
Creates a NXOpen.SketchInPlaceBuilder
Created in NX11.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
operation | The NXOpen.Sketch to reattach or a null reference (Nothing in Visual Basic) to create a new one |
|
inline |
Creates a NXOpen.SketchMirrorPatternBuilder
Created in NX7.5.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
con | Pattern constraint |
|
inline |
Creates a NXOpen.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.
Created in NX5.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
offCon | Offset constraint |
|
inline |
Creates a NXOpen.SketchPasteBuilder
Created in NX7.5.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
sketches | NXOpen.Sketch to be copy/paste |
|
inline |
Creates a NXOpen.SketchPatternBuilder
Created in NX7.5.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
con | Pattern constraint |
|
inline |
Creates a NXOpen.SketchPolygonBuilder
Created in NX7.5.0
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
polygonconstraint | The polygon constraint. The only acceptable value here is a null reference (Nothing in Visual Basic). |
|
inlineprotectedvirtual |
Advances the enumerator to the next element of the collection.
Implements NXOpen.TaggedObjectCollection.
|
inline |
Finds the NXOpen.Sketch with the given name.
An exception will be thrown if no object can be found with the given name.
Created in NX3.0.0
License requirements: None.
name | The name of the NXOpen.Sketch |
|
inline |
Returns the sketch that owns the specified geometry
Created in NX4.0.0
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
geometry |
|
inline |
Returns an array of NXOpen.Sketch objects.
|
get |
Returns the tag of this object.