SubdivisionRevolveBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# SubdivisionRevolveBuilder Class

class `NXOpen.Features.Subdivision.``SubdivisionRevolveBuilder`

  Bases: `NXOpen.Builder`

  Represents a `NXOpen.Features.Subdivision.SubdivisionRevolveBuilder` builder.

  To create a new instance of this class, use `NXOpen.Features.Subdivision.SubdivisionBodyCollection.CreateSubdivisionRevolveBuilder()`

  Default values.

  Property | Value
  --- | ---
  CanSew | 1
  EndAngle.Value | 360
  NumOfSegments | 8
  StartAngle.Value | 0

  New in version NX10.0.0.

# Properties

Property | Description
--- | ---
AxisPoint | Returns the origin of the axis of revolution.
AxisVector | Returns or sets the axis of revolution.
CanSew | Returns or sets the value indicating if open edges of the revolve mesh can be sewn with selected input open edges.
Continuity | Returns or sets the continuity.
EndAngle | Returns the end of angular dimension.
NumOfSegments | Returns or sets the number of segments.
SectionObject | Returns the section as revolving profile.
StartAngle | Returns the start of angular dimension.
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

SubdivisionRevolveBuilderContinuityType Enumeration | Type of continuity.

# Property Detail

## AxisPoint

`SubdivisionRevolveBuilder.``AxisPoint`

  Returns the origin of the axis of revolution.

  `-------------------------------------`

  Getter Method

  Signature `AxisPoint`

  Returns: |
  Return type: | `NXOpen.SelectNXObject`

  New in version NX10.0.0.

  License requirements: None.

## AxisVector

`SubdivisionRevolveBuilder.``AxisVector`

  Returns or sets the axis of revolution.

  `-------------------------------------`

  Getter Method

  Signature `AxisVector`

  Returns: |
  Return type: | `NXOpen.Direction`

  New in version NX10.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `AxisVector`

  Parameters: | axisVector (`NXOpen.Direction`) –

  New in version NX10.0.0.

  License requirements: nx_subdivision (” NX SUBDIVISION”)

## CanSew

`SubdivisionRevolveBuilder.``CanSew`

  Returns or sets the value indicating if open edges of the revolve mesh can be sewn with selected input open edges.

  `-------------------------------------`

  Getter Method

  Signature `CanSew`

  Returns: |
  Return type: | bool

  New in version NX10.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `CanSew`

  Parameters: | canSew (bool) –

  New in version NX10.0.0.

  License requirements: nx_subdivision (” NX SUBDIVISION”)

## Continuity

`SubdivisionRevolveBuilder.``Continuity`

  Returns or sets the continuity.

  The continuity is used to specify creases in the limit surface corresponding to edges of the revolved region that are sewn with the primary existing region.

  `-------------------------------------`

  Getter Method

  Signature `Continuity`

  Returns: |
  Return type: | `NXOpen.Features.Subdivision.SubdivisionRevolveBuilderContinuityType`

  New in version NX11.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `Continuity`

  Parameters: | continuity (`NXOpen.Features.Subdivision.SubdivisionRevolveBuilderContinuityType`) –

  New in version NX11.0.0.

  License requirements: nx_subdivision (” NX SUBDIVISION”)

## EndAngle

`SubdivisionRevolveBuilder.``EndAngle`

  Returns the end of angular dimension.

  `-------------------------------------`

  Getter Method

  Signature `EndAngle`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX10.0.0.

  License requirements: None.

## NumOfSegments

`SubdivisionRevolveBuilder.``NumOfSegments`

  Returns or sets the number of segments.

  `-------------------------------------`

  Getter Method

  Signature `NumOfSegments`

  Returns: |
  Return type: | int

  New in version NX10.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `NumOfSegments`

  Parameters: | numOfSegments (int) –

  New in version NX10.0.0.

  License requirements: nx_subdivision (” NX SUBDIVISION”)

## SectionObject

`SubdivisionRevolveBuilder.``SectionObject`

  Returns the section as revolving profile.

  `-------------------------------------`

  Getter Method

  Signature `SectionObject`

  Returns: |
  Return type: | `NXOpen.Features.Subdivision.SelectCageObjectData`

  New in version NX10.0.0.

  License requirements: None.

## StartAngle

`SubdivisionRevolveBuilder.``StartAngle`

  Returns the start of angular dimension.

  `-------------------------------------`

  Getter Method

  Signature `StartAngle`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX10.0.0.

  License requirements: None.

# Method Detail

## Validate

`SubdivisionRevolveBuilder.``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.