OilPanBuilder Class¶
-
class
NXOpen.Features.VehicleDesign.
OilPanBuilder
¶ Bases:
NXOpen.Features.FeatureBuilder
Represents a
NXOpen.Features.VehicleDesign.OilPan
builder to create and edit a vehicle design oil pan.To create a new instance of this class, use
NXOpen.Features.VehicleDesignCollection.CreateOilPanBuilder()
Default values.
Property Value InnerAngle.Value 35 InnerOffset.Value 155 (millimeters part), 6 (inches part) OuterAngle.Value 4.5 OuterOffset.Value 182 (millimeters part), 7.2 (inches part) Position Front RequirementsControl StandardDriven ShowDistanceMeasurement 0 Visualization Curve New in version NX8.5.0.
Properties¶
Property | Description |
---|---|
CarBodyFaces | Returns the faces representing the car body geometry for the measurment. |
InnerAngle | Returns the inner angle only when the position type isn’t NXOpen.Features.VehicleDesign.OilPanBuilderPositionType.Middle . |
InnerOffset | Returns the inner offset. |
Loading | Returns or sets the loading used in the oil pan. |
OuterAngle | Returns the outer angle only when the position type isn’t NXOpen.Features.VehicleDesign.OilPanBuilderPositionType.Middle . |
OuterOffset | Returns the outer offset only when the position type isn’t NXOpen.Features.VehicleDesign.OilPanBuilderPositionType.Middle . |
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 |
Position | Returns or sets the oil pan position. |
RequirementsControl | Returns or sets the requirements control for standard driven or user defined. |
ShowDistanceMeasurement | Returns or sets the indication if the distance measurement will be shown. |
Standard | Returns or sets the standard used to define the oil pan. |
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
Tag | Returns the Tag for this object. |
Visualization | Returns or sets the visualization type of the oil pan output. |
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¶
OilPanBuilderPositionType Enumeration | Represents the oil pan positions. |
OilPanBuilderRequirementsControlType Enumeration | Represents the requirements control types to define the oil pan. |
OilPanBuilderVisualizationType Enumeration | Represents the visualization types of the output. |
Property Detail¶
CarBodyFaces¶
-
OilPanBuilder.
CarBodyFaces
¶ Returns the faces representing the car body geometry for the measurment.
-------------------------------------
Getter Method
Signature
CarBodyFaces
Returns: Return type: NXOpen.ScCollector
New in version NX8.5.0.
License requirements: None.
InnerAngle¶
-
OilPanBuilder.
InnerAngle
¶ Returns the inner angle only when the position type isn’t
NXOpen.Features.VehicleDesign.OilPanBuilderPositionType.Middle
.-------------------------------------
Getter Method
Signature
InnerAngle
Returns: Return type: NXOpen.Expression
New in version NX8.5.0.
License requirements: None.
InnerOffset¶
-
OilPanBuilder.
InnerOffset
¶ Returns the inner offset.
-------------------------------------
Getter Method
Signature
InnerOffset
Returns: Return type: NXOpen.Expression
New in version NX8.5.0.
License requirements: None.
Loading¶
-
OilPanBuilder.
Loading
¶ Returns or sets the loading used in the oil pan.
-------------------------------------
Getter Method
Signature
Loading
Returns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Loading
Parameters: loading (str) – New in version NX8.5.0.
License requirements: nx_general_packaging (“NX General Packaging”)
OuterAngle¶
-
OilPanBuilder.
OuterAngle
¶ Returns the outer angle only when the position type isn’t
NXOpen.Features.VehicleDesign.OilPanBuilderPositionType.Middle
.-------------------------------------
Getter Method
Signature
OuterAngle
Returns: Return type: NXOpen.Expression
New in version NX8.5.0.
License requirements: None.
OuterOffset¶
-
OilPanBuilder.
OuterOffset
¶ Returns the outer offset only when the position type isn’t
NXOpen.Features.VehicleDesign.OilPanBuilderPositionType.Middle
.-------------------------------------
Getter Method
Signature
OuterOffset
Returns: Return type: NXOpen.Expression
New in version NX8.5.0.
License requirements: None.
Position¶
-
OilPanBuilder.
Position
¶ Returns or sets the oil pan position.
-------------------------------------
Getter Method
Signature
Position
Returns: Return type: NXOpen.Features.VehicleDesign.OilPanBuilderPositionType
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Position
Parameters: position ( NXOpen.Features.VehicleDesign.OilPanBuilderPositionType
) –New in version NX8.5.0.
License requirements: nx_general_packaging (“NX General Packaging”)
RequirementsControl¶
-
OilPanBuilder.
RequirementsControl
¶ Returns or sets the requirements control for standard driven or user defined.
-------------------------------------
Getter Method
Signature
RequirementsControl
Returns: Return type: NXOpen.Features.VehicleDesign.OilPanBuilderRequirementsControlType
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RequirementsControl
Parameters: requirementsControl ( NXOpen.Features.VehicleDesign.OilPanBuilderRequirementsControlType
) –New in version NX8.5.0.
License requirements: nx_general_packaging (“NX General Packaging”)
ShowDistanceMeasurement¶
-
OilPanBuilder.
ShowDistanceMeasurement
¶ Returns or sets the indication if the distance measurement will be shown.
-------------------------------------
Getter Method
Signature
ShowDistanceMeasurement
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ShowDistanceMeasurement
Parameters: showDistanceMeasurement (bool) – New in version NX8.5.0.
License requirements: nx_general_packaging (“NX General Packaging”)
Standard¶
-
OilPanBuilder.
Standard
¶ Returns or sets the standard used to define the oil pan.
Only used when the requirements control type is
NXOpen.Features.VehicleDesign.OilPanBuilderRequirementsControlType.StandardDriven
.-------------------------------------
Getter Method
Signature
Standard
Returns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Standard
Parameters: standard (str) – New in version NX8.5.0.
License requirements: nx_general_packaging (“NX General Packaging”)
Visualization¶
-
OilPanBuilder.
Visualization
¶ Returns or sets the visualization type of the oil pan output.
-------------------------------------
Getter Method
Signature
Visualization
Returns: Return type: NXOpen.Features.VehicleDesign.OilPanBuilderVisualizationType
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Visualization
Parameters: visualization ( NXOpen.Features.VehicleDesign.OilPanBuilderVisualizationType
) –New in version NX8.5.0.
License requirements: nx_general_packaging (“NX General Packaging”)
Method Detail¶
Validate¶
-
OilPanBuilder.
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.