InsulationBuilder Class¶
-
class
NXOpen.MechanicalRouting.InsulationBuilder¶ Bases:
NXOpen.BuilderRepresents
NXOpen.MechanicalRouting.InsulationBuilder.To create a new instance of this class, use
NXOpen.MechanicalRouting.BuilderFactory.CreateInsulationBuilder()New in version NX11.0.0.
Properties¶
| Property | Description |
|---|---|
| AddInsulationOnFittings | Returns or sets the value for whether insulation be added on fitting parts or not |
| GapDistance | Returns the gap distance if the NXOpen.MechanicalRouting.InsulationBuilderWrapType is NXOpen.MechanicalRouting.InsulationBuilderWrapType.StripedSpiral |
| InsulationPartOccurrenceSelection | Returns the insulation component to edit. |
| OverlapPercentage | Returns the percentage overlap if the NXOpen.MechanicalRouting.InsulationBuilderWrapType is NXOpen.MechanicalRouting.InsulationBuilderWrapType.OverlapSpiral |
| SegmentCollector | Returns the routing object collector to collect the segments to assign Insulation to. |
| StockSettings | Returns the stock settings for Insulation assignment. |
| Tag | Returns the Tag for this object. |
| WrapMethod | Returns or sets the NXOpen.MechanicalRouting.InsulationBuilderWrapType for Wrapped Insulation. |
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. |
| GetLogicalObject | Returns the :py:class:`PDM.LogicalObject`s that represent the content that will be created by this builder. |
| GetObject | Returns the object currently being edited by this builder. |
| PreCommit | Performs the operations needed prior to a commit. |
| ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
| SuggestWrapMethodBasedOnStockSettings | Returns the suggestion for NXOpen.MechanicalRouting.InsulationBuilderWrapType based on MechanicalRouting.PathStockPreferenceBuilder |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| InsulationBuilderWrapType Enumeration | The application type for wrapped Insulation |
Property Detail¶
AddInsulationOnFittings¶
-
InsulationBuilder.AddInsulationOnFittings¶ Returns or sets the value for whether insulation be added on fitting parts or not
-------------------------------------Getter Method
Signature
AddInsulationOnFittingsReturns: Return type: bool New in version NX11.0.0.
License requirements: routing_base (“Routing Basic”)
-------------------------------------Setter Method
Signature
AddInsulationOnFittingsParameters: addInsulationOnFittings (bool) – New in version NX11.0.0.
License requirements: routing_base (“Routing Basic”)
GapDistance¶
-
InsulationBuilder.GapDistance¶ Returns the gap distance if the
NXOpen.MechanicalRouting.InsulationBuilderWrapTypeisNXOpen.MechanicalRouting.InsulationBuilderWrapType.StripedSpiral-------------------------------------Getter Method
Signature
GapDistanceReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: routing_base (“Routing Basic”)
InsulationPartOccurrenceSelection¶
-
InsulationBuilder.InsulationPartOccurrenceSelection¶ Returns the insulation component to edit.
-------------------------------------Getter Method
Signature
InsulationPartOccurrenceSelectionReturns: Return type: NXOpen.Assemblies.SelectComponentNew in version NX11.0.0.
License requirements: routing_base (“Routing Basic”)
OverlapPercentage¶
-
InsulationBuilder.OverlapPercentage¶ Returns the percentage overlap if the
NXOpen.MechanicalRouting.InsulationBuilderWrapTypeisNXOpen.MechanicalRouting.InsulationBuilderWrapType.OverlapSpiral-------------------------------------Getter Method
Signature
OverlapPercentageReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: routing_base (“Routing Basic”)
SegmentCollector¶
-
InsulationBuilder.SegmentCollector¶ Returns the routing object collector to collect the segments to assign Insulation to.
-------------------------------------Getter Method
Signature
SegmentCollectorReturns: Return type: NXOpen.Routing.RouteObjectCollectorNew in version NX11.0.0.
License requirements: routing_base (“Routing Basic”)
StockSettings¶
-
InsulationBuilder.StockSettings¶ Returns the stock settings for Insulation assignment.
-------------------------------------Getter Method
Signature
StockSettingsReturns: Return type: NXOpen.MechanicalRouting.PathStockPreferenceBuilderNew in version NX11.0.0.
License requirements: routing_base (“Routing Basic”)
WrapMethod¶
-
InsulationBuilder.WrapMethod¶ Returns or sets the
NXOpen.MechanicalRouting.InsulationBuilderWrapTypefor Wrapped Insulation.-------------------------------------Getter Method
Signature
WrapMethodReturns: Return type: NXOpen.MechanicalRouting.InsulationBuilderWrapTypeNew in version NX11.0.0.
License requirements: routing_base (“Routing Basic”)
-------------------------------------Setter Method
Signature
WrapMethodParameters: wrapMethod ( NXOpen.MechanicalRouting.InsulationBuilderWrapType) –New in version NX11.0.0.
License requirements: routing_base (“Routing Basic”)
Method Detail¶
GetLogicalObject¶
-
InsulationBuilder.GetLogicalObject¶ Returns the :py:class:`PDM.LogicalObject`s that represent the content that will be created by this builder.
Signature
GetLogicalObject()Returns: Return type: NXOpen.PDM.LogicalObjectNew in version NX11.0.1.
License requirements: routing_base (“Routing Basic”)
PreCommit¶
-
InsulationBuilder.PreCommit¶ Performs the operations needed prior to a commit.
This method has to be called before invoking commit.
Signature
PreCommit()New in version NX11.0.1.
License requirements: routing_base (“Routing Basic”)
SuggestWrapMethodBasedOnStockSettings¶
-
InsulationBuilder.SuggestWrapMethodBasedOnStockSettings¶ Returns the suggestion for
NXOpen.MechanicalRouting.InsulationBuilderWrapTypebased onMechanicalRouting.PathStockPreferenceBuilderSignature
SuggestWrapMethodBasedOnStockSettings()Returns: Return type: NXOpen.MechanicalRouting.InsulationBuilderWrapTypeNew in version NX11.0.1.
License requirements: routing_base (“Routing Basic”)
Validate¶
-
InsulationBuilder.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.