ExtractReferenceServiceBuilder Class¶
-
class
NXOpen.ModlUtils.ExtractReferenceServiceBuilder¶ Bases:
NXOpen.BuilderRepresents a class that is used for Extract Reference Service testing.
This class should not be made available to customers To create a new instance of this class, use
NXOpen.DebugSession.CreateExtractReferenceServiceBuilder()New in version NX7.5.0.
Properties¶
| Property | Description |
|---|---|
| AssociativeExtraction | Returns or sets the flag for associative extraction |
| CurveExtractionType | Returns or sets the curve extraction type |
| DoNotExtractSameParent | Returns or sets the flag for do not extract same parent |
| EdgeExtractionType | Returns or sets the edge extraction type |
| ExtractParentsOfSc | Returns or sets the flag to extract parents of section and collector |
| ExtractSmartObject | Returns or sets the flag to indicate whether to extract the smart object or not |
| Features | Returns the features whose parents need to be extracted |
| SingleBodyExtractFace | Returns or sets the flag single body extract face |
| 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. |
Enumerations¶
| ExtractReferenceServiceBuilderCurveExtrationType Enumeration | The curve extraction type. |
| ExtractReferenceServiceBuilderEdgeExtrationType Enumeration | The edge extraction type. |
Property Detail¶
AssociativeExtraction¶
-
ExtractReferenceServiceBuilder.AssociativeExtraction¶ Returns or sets the flag for associative extraction
-------------------------------------Getter Method
Signature
AssociativeExtractionReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AssociativeExtractionParameters: associativeExtraction (bool) – New in version NX7.5.0.
License requirements: None.
CurveExtractionType¶
-
ExtractReferenceServiceBuilder.CurveExtractionType¶ Returns or sets the curve extraction type
-------------------------------------Getter Method
Signature
CurveExtractionTypeReturns: Return type: NXOpen.ModlUtils.ExtractReferenceServiceBuilderCurveExtrationTypeNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CurveExtractionTypeParameters: curveExtractionType ( NXOpen.ModlUtils.ExtractReferenceServiceBuilderCurveExtrationType) –New in version NX7.5.0.
License requirements: None.
DoNotExtractSameParent¶
-
ExtractReferenceServiceBuilder.DoNotExtractSameParent¶ Returns or sets the flag for do not extract same parent
-------------------------------------Getter Method
Signature
DoNotExtractSameParentReturns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DoNotExtractSameParentParameters: doNotExtractSameParent (bool) – New in version NX8.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
EdgeExtractionType¶
-
ExtractReferenceServiceBuilder.EdgeExtractionType¶ Returns or sets the edge extraction type
-------------------------------------Getter Method
Signature
EdgeExtractionTypeReturns: Return type: NXOpen.ModlUtils.ExtractReferenceServiceBuilderEdgeExtrationTypeNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
EdgeExtractionTypeParameters: edgeExtractionType ( NXOpen.ModlUtils.ExtractReferenceServiceBuilderEdgeExtrationType) –New in version NX7.5.0.
License requirements: None.
ExtractParentsOfSc¶
-
ExtractReferenceServiceBuilder.ExtractParentsOfSc¶ Returns or sets the flag to extract parents of section and collector
-------------------------------------Getter Method
Signature
ExtractParentsOfScReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ExtractParentsOfScParameters: extractParentsOfSc (bool) – New in version NX7.5.0.
License requirements: None.
ExtractSmartObject¶
-
ExtractReferenceServiceBuilder.ExtractSmartObject¶ Returns or sets the flag to indicate whether to extract the smart object or not
-------------------------------------Getter Method
Signature
ExtractSmartObjectReturns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ExtractSmartObjectParameters: extractSmartObject (bool) – New in version NX8.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Features¶
-
ExtractReferenceServiceBuilder.Features¶ Returns the features whose parents need to be extracted
-------------------------------------Getter Method
Signature
FeaturesReturns: Return type: NXOpen.Features.SelectFeatureListNew in version NX7.5.0.
License requirements: None.
SingleBodyExtractFace¶
-
ExtractReferenceServiceBuilder.SingleBodyExtractFace¶ Returns or sets the flag single body extract face
-------------------------------------Getter Method
Signature
SingleBodyExtractFaceReturns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SingleBodyExtractFaceParameters: singleBodyExtractFace (bool) – New in version NX8.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Method Detail¶
Validate¶
-
ExtractReferenceServiceBuilder.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.