ProfileTransitionBuilder Class¶
-
class
NXOpen.Features.ShipDesign.
ProfileTransitionBuilder
¶ Bases:
NXOpen.Features.FeatureBuilder
Builder used to create or edit a
NXOpen.Features.ShipDesign.ProfileTransition
feature.To create a new instance of this class, use
NXOpen.Features.ShipCollection.CreateProfileTransitionBuilder()
Default values.
Property Value AngularTolerance 0.5 DistanceTolerance 0.0254 (millimeters part), 0.001 (inches part) FeatureMode Target MisalignedMode ToBoundary New in version NX9.0.0.
Properties¶
Property | Description |
---|---|
AngularTolerance | Returns or sets the angular tolerance (degrees) |
Boundaries | Returns the collector containing the boundary bodies. |
DistanceTolerance | Returns or sets the distance tolerance (part units) |
FeatureMode | Returns or sets the feature mode used to create new Profile Transition features. |
MisalignedMode | Returns or sets the misaligned mode used to create new Profile Transition features. |
ParentFeatureInternal | Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal |
PatchSolutionFlag | Returns or sets the patch solution flag |
PatchSurfaceFilename | Returns or sets the patch surface filename |
Spreadsheet | Returns the spreadsheet builder. |
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
Tag | Returns the Tag for this object. |
Targets | Returns the collector containing the target bodies. |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
CommitFeature | Commits the feature parameters and creates the feature |
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. |
GetFeature | Returns the feature currently being edited by this builder. |
GetObject | Returns the object currently being edited by this builder. |
HideInternalParentFeatureAfterEdit | Re-suppress an internal parent feature (a slave feature) after it has been edited. |
SetParentFeatureInternal | Set the parent features which would be internal or slaves to the feature being created or commited |
ShowInternalParentFeatureForEdit | Unsuppress an internal parent feature (a slave feature) so it can be edited. |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
UnsetParentFeatureInternal | Set the internal parent feature of the feature being edited to external |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
ProfileTransitionBuilderFeatureModeType Enumeration | Represents the feature mode option. |
ProfileTransitionBuilderMisalignedModeType Enumeration | Represents the misaligned profile mode. |
Property Detail¶
AngularTolerance¶
-
ProfileTransitionBuilder.
AngularTolerance
¶ Returns or sets the angular tolerance (degrees)
-------------------------------------
Getter Method
Signature
AngularTolerance
Returns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AngularTolerance
Parameters: angularTolerance (float) – New in version NX9.0.0.
License requirements: nx_ship_detail (“Ship Detail Design”)
Boundaries¶
-
ProfileTransitionBuilder.
Boundaries
¶ Returns the collector containing the boundary bodies.
-------------------------------------
Getter Method
Signature
Boundaries
Returns: Return type: NXOpen.ScCollector
New in version NX9.0.0.
License requirements: None.
DistanceTolerance¶
-
ProfileTransitionBuilder.
DistanceTolerance
¶ Returns or sets the distance tolerance (part units)
-------------------------------------
Getter Method
Signature
DistanceTolerance
Returns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DistanceTolerance
Parameters: distanceTolerance (float) – New in version NX9.0.0.
License requirements: nx_ship_detail (“Ship Detail Design”)
FeatureMode¶
-
ProfileTransitionBuilder.
FeatureMode
¶ Returns or sets the feature mode used to create new Profile Transition features.
-------------------------------------
Getter Method
Signature
FeatureMode
Returns: Return type: NXOpen.Features.ShipDesign.ProfileTransitionBuilderFeatureModeType
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FeatureMode
Parameters: featureMode ( NXOpen.Features.ShipDesign.ProfileTransitionBuilderFeatureModeType
) –New in version NX9.0.0.
License requirements: nx_ship_detail (“Ship Detail Design”)
MisalignedMode¶
-
ProfileTransitionBuilder.
MisalignedMode
¶ Returns or sets the misaligned mode used to create new Profile Transition features.
-------------------------------------
Getter Method
Signature
MisalignedMode
Returns: Return type: NXOpen.Features.ShipDesign.ProfileTransitionBuilderMisalignedModeType
New in version NX9.0.2.
License requirements: None.
-------------------------------------
Setter Method
Signature
MisalignedMode
Parameters: misalignedMode ( NXOpen.Features.ShipDesign.ProfileTransitionBuilderMisalignedModeType
) –New in version NX9.0.2.
License requirements: nx_ship_detail (“Ship Detail Design”)
Spreadsheet¶
-
ProfileTransitionBuilder.
Spreadsheet
¶ Returns the spreadsheet builder.
Users can specify the Profile Transition length in the spreadsheet. The spreadsheet is controlled by the
NXOpen.Features.ShipDesign.SteelFeatureSpreadsheetBuilder
.-------------------------------------
Getter Method
Signature
Spreadsheet
Returns: Return type: NXOpen.Features.ShipDesign.SteelFeatureSpreadsheetBuilder
New in version NX9.0.0.
License requirements: None.
Targets¶
-
ProfileTransitionBuilder.
Targets
¶ Returns the collector containing the target bodies.
-------------------------------------
Getter Method
Signature
Targets
Returns: Return type: NXOpen.ScCollector
New in version NX9.0.0.
License requirements: None.
Method Detail¶
Validate¶
-
ProfileTransitionBuilder.
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.