ConvertFacetBodyBuilder Class¶
-
class
NXOpen.Facet.ConvertFacetBodyBuilder¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.Facet.ConvertFacetBodyBuilderbuilder.It converts the selected NX facet bodies to Convergent bodies or JT bodies, and converts JT facet bodies to Convergent bodies or NX facets bodies. The original inputs can be deleted, kept, or hidden.
To create a new instance of this class, use
NXOpen.Facet.FacetModelingCollection.CreateConvertFacetBodyBuilder()Default values.
Property Value MinimumAngleFoldedFacets 15.0 OriginalBodyOption Delete OutputType ConvergentBody New in version NX10.0.0.
Properties¶
| Property | Description |
|---|---|
| CleanUp | Returns or sets an option for automatically repairing the converted PSM mesh |
| FacetedBodiesToConvert | Returns the input facet bodies to convert |
| MinimumAngleFoldedFacets | Returns or sets the minimum angle between adjacent facets to define folded facets. |
| OriginalBodyOption | Returns or sets the option for handling the input facet bodies |
| OutputType | Returns or sets the output type of converted facet body |
| 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¶
| ConvertFacetBodyBuilderOriginalBodyOptions Enumeration | These represent the options for handling the input facet bodies |
| ConvertFacetBodyBuilderOutputTypes Enumeration | These options represent the type of output facet body |
Property Detail¶
CleanUp¶
-
ConvertFacetBodyBuilder.CleanUp¶ Returns or sets an option for automatically repairing the converted PSM mesh
-------------------------------------Getter Method
Signature
CleanUpReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CleanUpParameters: cleanUp (bool) – New in version NX11.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
FacetedBodiesToConvert¶
-
ConvertFacetBodyBuilder.FacetedBodiesToConvert¶ Returns the input facet bodies to convert
-------------------------------------Getter Method
Signature
FacetedBodiesToConvertReturns: Return type: NXOpen.SelectDisplayableObjectListNew in version NX10.0.0.
License requirements: None.
MinimumAngleFoldedFacets¶
-
ConvertFacetBodyBuilder.MinimumAngleFoldedFacets¶ Returns or sets the minimum angle between adjacent facets to define folded facets.
-------------------------------------Getter Method
Signature
MinimumAngleFoldedFacetsReturns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MinimumAngleFoldedFacetsParameters: minimumAngleFoldedFacets (float) – New in version NX11.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
OriginalBodyOption¶
-
ConvertFacetBodyBuilder.OriginalBodyOption¶ Returns or sets the option for handling the input facet bodies
-------------------------------------Getter Method
Signature
OriginalBodyOptionReturns: Return type: NXOpen.Facet.ConvertFacetBodyBuilderOriginalBodyOptionsNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OriginalBodyOptionParameters: enumOriginalBodyOption ( NXOpen.Facet.ConvertFacetBodyBuilderOriginalBodyOptions) –New in version NX11.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
OutputType¶
-
ConvertFacetBodyBuilder.OutputType¶ Returns or sets the output type of converted facet body
-------------------------------------Getter Method
Signature
OutputTypeReturns: Return type: NXOpen.Facet.ConvertFacetBodyBuilderOutputTypesNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OutputTypeParameters: enumOutputType ( NXOpen.Facet.ConvertFacetBodyBuilderOutputTypes) –New in version NX10.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
Method Detail¶
Validate¶
-
ConvertFacetBodyBuilder.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.