SketchInPlaceBuilder Class¶
-
class
NXOpen.SketchInPlaceBuilder¶ Bases:
NXOpen.BuilderUse the
NXOpen.SketchInPlaceBuilderto create or reattach aNXOpen.Sketchon aNXOpen.DatumPlaneor planarNXOpen.Face.To create a new instance of this class, use
NXOpen.SketchCollection.CreateNewSketchInPlaceBuilder()Default values.
Property Value CreateIntermediateDatumCsys (deprecated) 1 MakeOriginAssociative (deprecated) 1 PlaneOption Inferred New in version NX5.0.0.
Properties¶
| Property | Description |
|---|---|
| Axis | Returns the reference axis |
| AxisOrientation | Returns or sets the reference axis orientation (horizontal or vertical) |
| AxisOrientationInfer | Returns or sets the reference axis orientation (horizontal or vertical) |
| AxisReference | Returns or sets the reference axis for sketch |
| CreateIntermediateDatumCsys | Returns or sets the create intermediate datum csys toggle. |
| Csystem | Returns or sets the csys method for sketch |
| MakeOriginAssociative | Returns or sets the associative origin toggle. |
| OriginOption | Returns or sets the origin method for sketch |
| OriginOptionInfer | Returns or sets the origin method for sketch |
| Plane | Returns the specified datum plane |
| PlaneOption | Returns or sets the attachment plane option (existing plane, new plane, new csys) |
| PlaneOrFace | Returns the specified sketch plane |
| PlaneReference | Returns or sets the placement plane for sketch |
| ProjectWorkPartOrigin | Returns or sets the create project work part origin toggle. |
| ReverseAxis | Returns or sets the flag to indicate the reference axis is reversed |
| ReversePlaneNormal | Returns or sets the flag to indicate the normal direction of the sketch plane is reversed. |
| SketchOrigin | Returns or sets the origin point for sketch |
| Tag | Returns the Tag for this object. |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| Destroy | Deletes the builder, and cleans up any objects created by the builder. |
| GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
| GetObject | Returns the object currently being edited by this builder. |
| ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
Axis¶
-
SketchInPlaceBuilder.Axis¶ Returns the reference axis
-------------------------------------Getter Method
Signature
AxisReturns: Return type: NXOpen.SelectIReferenceAxisNew in version NX5.0.0.
Deprecated since version NX11.0.0: Use
NXOpen.SketchInPlaceBuilder.AxisReference()instead.License requirements: None.
AxisOrientation¶
-
SketchInPlaceBuilder.AxisOrientation¶ Returns or sets the reference axis orientation (horizontal or vertical)
-------------------------------------Getter Method
Signature
AxisOrientationReturns: Return type: NXOpen.AxisOrientationNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AxisOrientationParameters: axisOrientation ( NXOpen.AxisOrientation) –New in version NX5.0.0.
License requirements: None.
AxisOrientationInfer¶
-
SketchInPlaceBuilder.AxisOrientationInfer¶ Returns or sets the reference axis orientation (horizontal or vertical)
-------------------------------------Getter Method
Signature
AxisOrientationInferReturns: Return type: NXOpen.AxisOrientationNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AxisOrientationInferParameters: axisOrientation ( NXOpen.AxisOrientation) –New in version NX11.0.0.
License requirements: None.
AxisReference¶
-
SketchInPlaceBuilder.AxisReference¶ Returns or sets the reference axis for sketch
-------------------------------------Getter Method
Signature
AxisReferenceReturns: Return type: NXOpen.DirectionNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AxisReferenceParameters: axis ( NXOpen.Direction) –New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”)
CreateIntermediateDatumCsys¶
-
SketchInPlaceBuilder.CreateIntermediateDatumCsys¶ Returns or sets the create intermediate datum csys toggle.
-------------------------------------Getter Method
Signature
CreateIntermediateDatumCsysReturns: Return type: bool New in version NX7.5.0.
Deprecated since version NX11.0.0: None
License requirements: None.
-------------------------------------Setter Method
Signature
CreateIntermediateDatumCsysParameters: intermediateDatumCsys (bool) – New in version NX7.5.0.
Deprecated since version NX11.0.0: None
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”) OR insp_programming (“INSPECTION PROGRAMMING”)
Csystem¶
-
SketchInPlaceBuilder.Csystem¶ Returns or sets the csys method for sketch
-------------------------------------Getter Method
Signature
CsystemReturns: Return type: NXOpen.CartesianCoordinateSystemNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CsystemParameters: csystem ( NXOpen.CartesianCoordinateSystem) –New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”)
MakeOriginAssociative¶
-
SketchInPlaceBuilder.MakeOriginAssociative¶ Returns or sets the associative origin toggle.
-------------------------------------Getter Method
Signature
MakeOriginAssociativeReturns: Return type: bool New in version NX7.5.0.
Deprecated since version NX11.0.0: None
License requirements: None.
-------------------------------------Setter Method
Signature
MakeOriginAssociativeParameters: associativeOrigin (bool) – New in version NX7.5.0.
Deprecated since version NX11.0.0: None
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”) OR insp_programming (“INSPECTION PROGRAMMING”)
OriginOption¶
-
SketchInPlaceBuilder.OriginOption¶ Returns or sets the origin method for sketch
-------------------------------------Getter Method
Signature
OriginOptionReturns: Specify Point or Use Work Part Origin Return type: NXOpen.OriginMethodNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OriginOptionParameters: method ( NXOpen.OriginMethod) – Specify Point or Use Work Part OriginNew in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”)
OriginOptionInfer¶
-
SketchInPlaceBuilder.OriginOptionInfer¶ Returns or sets the origin method for sketch
-------------------------------------Getter Method
Signature
OriginOptionInferReturns: Specify Point or Use Work Part Origin Return type: NXOpen.OriginMethodNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OriginOptionInferParameters: method ( NXOpen.OriginMethod) – Specify Point or Use Work Part OriginNew in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”)
Plane¶
-
SketchInPlaceBuilder.Plane¶ Returns the specified datum plane
-------------------------------------Getter Method
Signature
PlaneReturns: Return type: NXOpen.PlaneNew in version NX5.0.0.
Deprecated since version NX11.0.0: Use
NXOpen.SketchInPlaceBuilder.PlaneReference()instead.License requirements: None.
PlaneOption¶
-
SketchInPlaceBuilder.PlaneOption¶ Returns or sets the attachment plane option (existing plane, new plane, new csys)
-------------------------------------Getter Method
Signature
PlaneOptionReturns: Return type: NXOpen.SketchPlaneOptionNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PlaneOptionParameters: planeOption ( NXOpen.SketchPlaneOption) –New in version NX5.0.0.
License requirements: None.
PlaneOrFace¶
-
SketchInPlaceBuilder.PlaneOrFace¶ Returns the specified sketch plane
-------------------------------------Getter Method
Signature
PlaneOrFaceReturns: Return type: NXOpen.SelectISurfaceNew in version NX5.0.0.
Deprecated since version NX11.0.0: Use
NXOpen.SketchInPlaceBuilder.PlaneReference()instead.License requirements: None.
PlaneReference¶
-
SketchInPlaceBuilder.PlaneReference¶ Returns or sets the placement plane for sketch
-------------------------------------Getter Method
Signature
PlaneReferenceReturns: Return type: NXOpen.PlaneNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PlaneReferenceParameters: plane ( NXOpen.Plane) –New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”)
ProjectWorkPartOrigin¶
-
SketchInPlaceBuilder.ProjectWorkPartOrigin¶ Returns or sets the create project work part origin toggle.
-------------------------------------Getter Method
Signature
ProjectWorkPartOriginReturns: Return type: bool New in version NX7.5.0.
Deprecated since version NX11.0.0: Use
NXOpen.SketchInPlaceBuilder.OriginOption()instead.License requirements: None.
-------------------------------------Setter Method
Signature
ProjectWorkPartOriginParameters: projectWorkPartOrigin (bool) – New in version NX7.5.0.
Deprecated since version NX11.0.0: Use
NXOpen.SketchInPlaceBuilder.OriginOption()instead.License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”) OR insp_programming (“INSPECTION PROGRAMMING”)
ReverseAxis¶
-
SketchInPlaceBuilder.ReverseAxis¶ Returns or sets the flag to indicate the reference axis is reversed
-------------------------------------Getter Method
Signature
ReverseAxisReturns: Return type: bool New in version NX5.0.0.
Deprecated since version NX11.0.0: None
License requirements: None.
-------------------------------------Setter Method
Signature
ReverseAxisParameters: reverseAxis (bool) – New in version NX5.0.0.
Deprecated since version NX11.0.0: Get NXOpen.SketchInPlaceBuilder.AxisReference, and then reverse the smart direction.
License requirements: None.
ReversePlaneNormal¶
-
SketchInPlaceBuilder.ReversePlaneNormal¶ Returns or sets the flag to indicate the normal direction of the sketch plane is reversed.
This is not applicable when the plane is a Face.
-------------------------------------Getter Method
Signature
ReversePlaneNormalReturns: Return type: bool New in version NX5.0.0.
Deprecated since version NX11.0.0: None
License requirements: None.
-------------------------------------Setter Method
Signature
ReversePlaneNormalParameters: reversePlaneNormal (bool) – New in version NX5.0.0.
Deprecated since version NX11.0.0: Get NXOpen.SketchInPlaceBuilder.PlaneReference, and then reverse the smart plane normal.
License requirements: None.
SketchOrigin¶
-
SketchInPlaceBuilder.SketchOrigin¶ Returns or sets the origin point for sketch
-------------------------------------Getter Method
Signature
SketchOriginReturns: Return type: NXOpen.PointNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SketchOriginParameters: origin ( NXOpen.Point) –New in version NX7.5.0.
License requirements: None.
Method Detail¶
Validate¶
-
SketchInPlaceBuilder.Validate¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.