NX Open C++ Reference Guide
|
Manages various Routing collections and methods for use in the current work part. More...
Manages various Routing collections and methods for use in the current work part.
See the NX Routing help for detailed information on the Connection data model.
To obtain an instance of this class, refer to Part
Created in NX4.0.0.
Describes how fabrications are reported on the Bill of Material (BOM).
Route List import modes.
The following tables describes the effects of the various modes depending on the type (XML, HRN, CMP) of import.
++--------------+---------------+-----------------+ +------------+------------++ Deletes | Replaces data | Preserves | | | Import || unmatched | in matching | existing | | ImportMode | File Type || elements | elements | connectors | +============+============++==============+===============+=================+ | Update | XML || Yes | Yes | No | | | Legacy CMP || No | Yes | Yes | | | Legacy HRN || Yes(1) | Yes(2) | Yes | +------------+------------++--------------+---------------+-----------------+ | Merge | XML || No | Yes | Yes | | | Legacy CMP || No | Yes | Yes | | | Legacy HRN || No | Yes(2) | Yes | +------------+------------++--------------+---------------+-----------------+ | Append | XML || No | No | Yes | | | Legacy CMP || No | No | Yes | | | Legacy HRN || No | No | Yes | +------------+------------++--------------+---------------+-----------------+ ++--------------+---------------+-----------------+------------------+ +------------+------------++ May add new | May add new | May create | May create | | | Import || connectors | connections | duplicate | duplicate | | ImportMode | File Type || | | connector names | connection names | +============+============++==============+===============+=================+==================+ | Update | XML || Yes | Yes | Yes(3) | Yes(3) | | | Legacy CMP || Yes | No | No | No | | | Legacy HRN || Yes | Yes | No | No | +------------+------------++--------------+---------------+-----------------+------------------+ | Merge | XML || Yes | Yes | Yes(3) | Yes(3) | | | Legacy CMP || Yes | No | No | No | | | Legacy HRN || Yes | Yes | No | No | +------------+------------++--------------+---------------+-----------------+------------------+ | Append | XML || Yes | Yes | Yes | Yes | | | Legacy CMP || Yes | No | Yes | No | | | Legacy HRN || Yes | Yes | No | Yes | +------------+------------++--------------+---------------+-----------------+------------------+ ++--------------+---------------+-----------------+ || Maintains | Maintains | Elements | || assignment | routing | matching | +------------+------------++ information | information | criterion | | | Import || for matching | for matching | | | ImportMode | File Type || connectors | connections | | +============+============++==============+===============+=================+ | Update | XML || Yes | Yes | GUID | | | Legacy CMP || Yes | Yes | Names(4) | | | Legacy HRN || Yes | Yes | Names(4) | +------------+------------++--------------+---------------+-----------------+ | Merge | XML || Yes | Yes | GUID | | | Legacy CMP || Yes | Yes | Names(4) | | | Legacy HRN || Yes | Yes | Names(4) | +------------+------------++--------------+---------------+-----------------+ | Append | XML || No | No | N/A | | | Legacy CMP || No | No | N/A | | | Legacy HRN || No | No | N/A | +------------+------------++--------------+---------------+-----------------+
ImportModeMerge |
Update existing objects with data from the imported objects. |
ImportModeAppend |
Create the imported objects as new objects. |
Collector types for Routing information.
Anchor collection
Created in NX3.0.0.
Copies the connections, connectors and devices from the design elements of study to the part containing object_in_part and assembles them.
Created in NX8.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
BendCorner collection
Created in NX3.0.0.
NXOpen::Part* NXOpen::Routing::RouteManager::BuildFabrication | ( | const NXString & | filename, |
const std::vector< NXOpen::NXObject * > & | objects, | ||
NXOpen::Routing::CharacteristicList * | charxData | ||
) |
Creates a Routing fabrication, a sub-assembly made of Assemblies::Component s and Routing::Stock from the assembly in which the Routing Fabrication is created.
filename | The name of the file where newly created fabrication component would be saved NOTE: The full Unicode character set is not supported for this parameter. |
objects | Routing objects to be fabricated |
charxData | attributes to apply to the fabricated component. |
NXOpen::Part* NXOpen::Routing::RouteManager::BuildFabrication | ( | const NXString & | filename, |
const std::vector< NXOpen::NXObject * > & | objects, | ||
NXOpen::Routing::CharacteristicList * | optionalCharxData, | ||
NXOpen::Routing::CharacteristicList * | requiredCharxData | ||
) |
Creates a Routing fabrication, a sub-assembly made of Assemblies::Component s and Routing::Stock from the assembly in which the Routing Fabrication is created.
filename | The name of the file where newly created fabrication component would be saved NOTE: The full Unicode character set is not supported for this parameter. |
objects | Routing objects to be fabricated |
optionalCharxData | Required attributes to apply to the fabricated component. |
requiredCharxData | Optional attributes to apply to the fabricated component. |
BuiltInPath collection
Created in NX3.0.0.
NXOpen::Routing::Electrical::CableConnectionCollection* NXOpen::Routing::RouteManager::CableConnections | ( | ) |
CableConnection collection
Created in NX3.0.0.
NXOpen::Routing::Electrical::CablewaysLayoutViewCollection* NXOpen::Routing::RouteManager::CablewaysLayoutViews | ( | ) |
Collection for managing Cableways Layout Views.
Created in NX7.5.0.
void NXOpen::Routing::RouteManager::CheckDesignRules | ( | NXOpen::Routing::DesignRuleViolationCollection::Mode | mode, |
NXOpen::Routing::DesignRuleViolationCollection::Reason | reason, | ||
const std::vector< NXOpen::NXObject * > & | objects, | ||
std::vector< NXOpen::Routing::DesignRuleViolation * > & | violations | ||
) |
Executes the Routing Design Rules against the work part
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
mode | mode |
reason | reason |
objects | The objects to check. May be empty. |
violations | The violations generated by the check. May be empty. |
bool NXOpen::Routing::RouteManager::ComponentHasBIPGeometry | ( | NXOpen::Assemblies::Component * | bipComponent | ) |
Determines whether or not a built-in path component has proper work part geometry.
bipComponent | BIP Component |
NXOpen::Routing::Electrical::ConnectorDeviceCollection* NXOpen::Routing::RouteManager::ConnectorDevices | ( | ) |
ConnectorDevice collection
Created in NX3.0.0.
void NXOpen::Routing::RouteManager::ConnectPartPorts | ( | NXOpen::Assemblies::Component * | component | ) |
Connects ports present in this Assemblies::Component .
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
component | component |
ControlPoint collection
Created in NX3.0.0.
CopeCorner collection
Created in NX3.0.0.
Copy the overstock from subassembly to parent assembly.
This functionality, gets the segments which are wavelinked from the subassembly to the parent assembly. It finds the overstock alloted to these segments in subassembly and recreate them over wavelinked segment at the parent assembly level.
Corner collection
Created in NX3.0.0.
Creates a Routing::AssignCornerBuilder which creates corner.
NXOpen::Routing::AssignDiscontinuityBuilder* NXOpen::Routing::RouteManager::CreateAssignDiscontinuityBuilder | ( | NXOpen::NXObject * | selectedPoint | ) |
Creates a Routing::AssignDiscontinuityBuilder.
NXOpen::Routing::Electrical::AssignProxyBuilder* NXOpen::Routing::RouteManager::CreateAssignProxyBuilder | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Creates a proxy port assigned to a connector.
See the documentation in the Routing::Electrical::AssignProxyBuilder class for a description of the builder.
objects | Routing connectors |
void NXOpen::Routing::RouteManager::CreateBom | ( | NXOpen::Routing::RouteManager::BomLevel | level, |
NXOpen::Routing::RouteManager::BomStockLength | length, | ||
NXOpen::Routing::RouteManager::BomFabrication | fabNumbering, | ||
NXOpen::Routing::RouteManager::BomBlankLines | blankLines, | ||
NXOpen::Part * | formatFilePart | ||
) |
Creates Bill of Material (BOM).
BOM generates a table with the relevant information regarding the existing routing objects present in the NX window. Various options are available on the BOM dialog to control the generated output. These options are the inputs to this function.
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
level | How fabrications are reported. |
length | How stock length is reported. |
fabNumbering | Is fabrication numbering option on/off? |
blankLines | Unused |
formatFilePart | Part List format file part. |
NXOpen::Routing::Electrical::CablewaysBuilder* NXOpen::Routing::RouteManager::CreateCablewaysBuilder | ( | ) |
Creates Routing::Electrical::CablewaysBuilder .
NXOpen::Routing::Electrical::CablewaysLayoutBuilder* NXOpen::Routing::RouteManager::CreateCablewaysLayoutBuilder | ( | ) |
Creates Routing::Electrical::CablewaysBuilder .
NXOpen::Routing::ClockPartBuilder* NXOpen::Routing::RouteManager::CreateClockPartBuilder | ( | NXOpen::NXObject * | selectedPort | ) |
Creates a Routing::ClockPartBuilder .
for the rotation of component.
NXOpen::Routing::ConnectedCurvesBuilder* NXOpen::Routing::RouteManager::CreateConnectedCurvesBuilder | ( | ) |
Creates a Routing::ConnectedCurvesBuilder for building segments on end-to-end connected curves.
Creates a Routing::ConnectPathBuilder which connects path.
NXOpen::Routing::CopeCornerBuilder* NXOpen::Routing::RouteManager::CreateCopeCornerBuilder | ( | NXOpen::NXObject * | selectedPoint | ) |
Creates a Routing::CopeCornerBuilder .
Created in NX7.5.0.
License requirements : routing_combined ("Routing Combined") OR routing_mechanical ("Routing Mechanical")
NXOpen::Routing::DeleteObjectsBuilder* NXOpen::Routing::RouteManager::CreateDeleteObjectsBuilder | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Creates a Routing::DeleteObjectsBuilder for deleting routing objects.
objects | Routing objects to delete |
NXOpen::Routing::DesignRuleViolationViewer* NXOpen::Routing::RouteManager::CreateDesignRuleViolationViewer | ( | const std::vector< NXOpen::NXObject * > & | violations | ) |
Creates a Routing::DesignRuleViolationViewer .
violations | violations |
NXOpen::Routing::DivisionsBuilder* NXOpen::Routing::RouteManager::CreateDivisionsBuilder | ( | NXOpen::NXObject * | selectedPort, |
bool | isAbsoluteFlow | ||
) |
Creates a Divisions builder.
See the documentation in the Routing::DivisionsBuilder class for a description of the builder.
NXOpen::Routing::DuctSizeCalculatorBuilder* NXOpen::Routing::RouteManager::CreateDuctSizeCalculatorBuilder | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Creates a Duct size calculator builder.
See the documentation in the Routing::DuctSizeCalculatorBuilder for a description of the builder
objects | Routing segments to assign Flow Attributes or stocks |
NXOpen::Routing::EditBendAngleBuilder* NXOpen::Routing::RouteManager::CreateEditBendAngleBuilder | ( | NXOpen::NXObject * | bendRcp | ) |
Creates an Edit Bend Angle builder.
See the documentation in the Routing::EditBendAngleBuilder class for a description of the builder.
NXOpen::Routing::EditCharacteristicsBuilder* NXOpen::Routing::RouteManager::CreateEditCharacteristicsBuilder | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Creates a Routing::EditCharacteristicsBuilder that edits the Required and Optional Routing::CharacteristicList (UG attribute values) of Routing::Stock or Assemblies::Component .
objects | Routing Stocks or Components to edit characteristics. |
NXOpen::Routing::EditLineSegmentBuilder* NXOpen::Routing::RouteManager::CreateEditLineSegmentBuilder | ( | NXOpen::Routing::LineSegment * | line | ) |
Creates a Routing::EditLineSegmentBuilder for editing and locking the length of line segments.
line | The segment to edit. |
Creates a snap elbow settings object, this object is only useful for Routing::LinearPathBuilder object.
NXOpen::Routing::CreateFabricationBuilder* NXOpen::Routing::RouteManager::CreateFabricationBuilder | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Creates a Routing::CreateFabricationBuilder which fabricate subassembly from standard parts, path segments, stock, and other routing objects within the current routing assembly.
objects | Routing objects to be fabricated |
NXOpen::Routing::FillerStockBuilder* NXOpen::Routing::RouteManager::CreateFillerStockBuilder | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Creates a Routing::FillerStockBuilder.
NXOpen::Routing::FittingOverstockBuilder* NXOpen::Routing::RouteManager::CreateFittingOverstockBuilder | ( | NXOpen::Routing::FittingOverstock * | overstock | ) |
Creates a Routing::FittingOverstockBuilder that applies or edits overstock on fittings.
overstock | Fitting Overstock to edit |
NXOpen::Routing::InfoObjectsBuilder* NXOpen::Routing::RouteManager::CreateInfoObjectsBuilder | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Creates a Routing::InfoObjectsBuilder for deleting routing objects.
objects | Routing objects to delete |
NXOpen::Routing::InstanceNameLookupBuilder* NXOpen::Routing::RouteManager::CreateInstanceNameLookupBuilder | ( | ) |
Creates a Routing::InstanceNameLookupBuilder which is used to look up the matching part to place based on the criteria defined in the INSTANCE_NAME_LOOKUP node and the ship identifier specified in the customer defaults.
Creates a linear path builder for building a path consisting of lines, arcs (bends) and elbows.
Creates a linear path settings object which stores preferences to apply when creating linear paths using a Routing::LinearPathBuilder .
Creates a Routing::ManualRouteBuilder that can create or edit stockTransition.
routeLevel | Enum to define the routing level for manual route. |
elecStockDevice | elecstockdevice |
NXOpen::Routing::OverstockBuilder* NXOpen::Routing::RouteManager::CreateOverstockBuilder | ( | NXOpen::Routing::Overstock * | overstock | ) |
Creates a Routing::OverstockBuilder that can create or edit overstock.
overstock | Overstock to edit |
NXOpen::Routing::OverstockFacesBuilder* NXOpen::Routing::RouteManager::CreateOverstockFacesBuilder | ( | ) |
Creates a Routing::OverstockFacesBuilder to qualify faces of fittings for overstock application.
Creates a path stock builder.
This builder can be used for assigning stock to new path segments based off of the current default stock and the settings in this builder.
NXOpen::Routing::PlacementSolutionsBuilder* NXOpen::Routing::RouteManager::CreatePlacementSolutionsBuilder | ( | ) |
Creates a placement solutions builder used to position a part that has been placed in the assembly.
NXOpen::Routing::PlacePartBuilder* NXOpen::Routing::RouteManager::CreatePlacePartBuilder | ( | const NXString & | nodeIdentifier, |
int | filteredPtbRowIndex, | ||
const NXOpen::Point3d & | placementPos, | ||
NXOpen::TaggedObject * | placementObj | ||
) |
Creates a Routing::PlacePartBuilder that is used to place a routing part into an assembly.
nodeIdentifier | The identifier of the reuse node that contains the part being placed. |
filteredPtbRowIndex | The index of the row in the reuse node table to place. |
placementPos | The location in 3D space where the part was dropped. |
placementObj | The object the part was dropped on. Can be NULL |
NXOpen::Routing::PlacePartBuilder* NXOpen::Routing::RouteManager::CreatePlacePartBuilderFS | ( | const NXString & | nodeIdentifier, |
NXOpen::Routing::CharacteristicList * | fileSelectCharx, | ||
const NXOpen::Point3d & | placementPos, | ||
NXOpen::TaggedObject * | placementObj, | ||
bool | replacePartOp | ||
) |
Creates a Routing::PlacePartBuilder that is used to place a routing part into an assembly.
nodeIdentifier | The identifier of the reuse node that contains the part being placed. |
fileSelectCharx | The charx for the file select part. |
placementPos | The location in 3D space where the part was dropped. |
placementObj | The object the part was dropped on. Can be NULL |
replacePartOp | Are we replacing an existing part. |
NXOpen::Routing::PlacePartBuilder* NXOpen::Routing::RouteManager::CreatePlacePartBuilderPTS | ( | NXOpen::TaggedObject * | ptsPart, |
NXOpen::TaggedObject * | ptsInstance, | ||
const NXOpen::Point3d & | placementPos, | ||
NXOpen::TaggedObject * | placementObj | ||
) |
Creates a Routing::PlacePartBuilder that is used to place a routing part into an assembly.
ptsPart | The PTS part being placed. |
ptsInstance | The instance of the placed PTS part. |
placementPos | The location in 3D space where the part was dropped. |
placementObj | The object the part was dropped on. Can be NULL |
Creates a Quick Path builder.
See the documentation in the Routing::QuickPathBuilder class for a description of the builder.
NXOpen::Routing::RemoveDiscontinuityBuilder* NXOpen::Routing::RouteManager::CreateRemoveDiscontinuityBuilder | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Creates a Routing::RemoveDiscontinuityBuilder which removes selected discontinuity corners.
NXOpen::Routing::RouteSweptFoldBuilder* NXOpen::Routing::RouteManager::CreateRouteSweptFoldBuilder | ( | NXOpen::NXObject * | selectedStock, |
NXOpen::NXObject * | editFoldObj | ||
) |
Creates a Routing::RouteSweptFoldBuilder .
NXOpen::Routing::RouteSweptTwistBuilder* NXOpen::Routing::RouteManager::CreateRouteSweptTwistBuilder | ( | NXOpen::NXObject * | objects | ) |
Creates a Routing::RouteSweptTwistBuilder.
objects | Routing Stocks to assign twist |
NXOpen::Routing::PlacePartBuilder* NXOpen::Routing::RouteManager::CreateRoutingPlacePartBuilder | ( | NXOpen::Routing::CharacteristicList * | partCharx, |
const NXOpen::Point3d & | placementPos, | ||
NXOpen::TaggedObject * | placementObj | ||
) |
Creates a Routing::PlacePartBuilder that is used to place a routing part into an assembly.
partCharx | Part Characteristics. |
placementPos | The location in 3D space where the part was dropped. |
placementObj | The object the part was dropped on. Can be NULL |
NXOpen::Routing::RunItem* NXOpen::Routing::RouteManager::CreateRunItem | ( | const NXString & | referenceID, |
NXOpen::Routing::RunItem::Type | itemType, | ||
NXOpen::Routing::CharacteristicList * | attributes | ||
) |
Creates a new Routing::RunItem .
Use Routing::RunCollection::CreateRun to create a new run with this new item. Use Routing::Run::Edit to add this new item to an existing run.
NXOpen::Routing::SimplifyPathBuilder* NXOpen::Routing::RouteManager::CreateSimplifyPathBuilder | ( | const std::vector< NXOpen::Routing::ISegment * > & | segments | ) |
Creates a Routing::SimplifyPathBuilder that combines the collinear segments by merging RCPs.
segments | Routing segments to combine |
NXOpen::Routing::SpaceReservationBuilder* NXOpen::Routing::RouteManager::CreateSpaceReservationBuilder | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Creates a Space Reservation builder.
See the documentation in the Routing::SpaceReservationBuilder class for a description of the builder.
objects | Routing segments to create Space Reservation stock on or Space Reservation stock to be edited |
NXOpen::Routing::SplinePathBuilder* NXOpen::Routing::RouteManager::CreateSplinePathBuilder | ( | NXOpen::Curve * | spline | ) |
Creates a Routing::SplinePathBuilder which creates D-Cubed constrainted splines.
spline | The spline to edit. |
Creates a Split Duct builder.
See the documentation in the Routing::SplitDuctBuilder class for a description of the builder.
Creates a Routing::StockBrowserBuilder which finds and filters stock.
NXOpen::Routing::StockBuilder* NXOpen::Routing::RouteManager::CreateStockBuilder | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Creates a Routing::StockBuilder that can create or edit stock.
objects | Routing segments to assign stock to or stock to be edited |
Creates a Routing::StockColorBuilder which assigns color to the face of stocks having rectangular cross sections.
NXOpen::Routing::StockOffsetPointBuilder* NXOpen::Routing::RouteManager::CreateStockOffsetPointBuilder | ( | NXOpen::NXObject * | pointOrRcp | ) |
Creates a builder than can create or edit stock offset points.
This builder can convert a normal dumb point to stock offset point as well as convert a stock offset point to a normal point.
pointOrRcp | The point or Routing control point to edit, may be NULL. |
NXOpen::Routing::StockStyleBuilder* NXOpen::Routing::RouteManager::CreateStockStyleBuilder | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Creates a Routing::StockStyleBuilder which assigns style to stock.
objects | Routing stock (Routing.Stock )to change style or segment (Routing.ISegment) having stock with style as centerline |
NXOpen::Routing::StockTransitionBuilder* NXOpen::Routing::RouteManager::CreateStockTransitionBuilder | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Creates a Routing::StockTransitionBuilder that can create or edit stockTransition.
objects | Routing segments to assign stockTransition to or stockTransition to be edited |
NXOpen::Routing::SubdivideSegmentBuilder* NXOpen::Routing::RouteManager::CreateSubdivideSegmentBuilder | ( | NXOpen::NXObject * | segment, |
const NXOpen::Point3d & | pickPoint | ||
) |
Creates a Routing::SubdivideSegmentBuilder that can subdivide a segment into multiple segments.
segment | Routing segment to be subdivided |
pickPoint | Location on the segment picked by the user |
NXOpen::Routing::TransformPathBuilder* NXOpen::Routing::RouteManager::CreateTransformPathBuilder | ( | const std::vector< NXOpen::NXObject * > & | objs | ) |
FIXME.
objs | Initial array of objects to transform . |
NXOpen::Routing::UnifyPathBuilder* NXOpen::Routing::RouteManager::CreateUnifyPathBuilder | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Creates a Routing::UnifyPathBuilder which replaces given stocks and fittings based on the new Routing::CharacteristicList .
Useful for unifying all of the stocks and components (e.g. elbows and tees) in a path to the same characteristics.
objects | Routing Stocks or Components to unify. |
NXOpen::Routing::WatertightFittingsBuilder* NXOpen::Routing::RouteManager::CreateWatertightFittingsBuilder | ( | ) |
Creates a Routing::WatertightFittingsBuilder that creates Watertight Fittings.
CrossSection collection
Created in NX3.0.0.
std::vector<NXOpen::NXObject *> NXOpen::Routing::RouteManager::DeletePath | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Deletes the given Routing Control Points (RCP), segments, curves, and components.
Useful for deleting all of the objects along a path.
Given a Routing Control Point (RCP):
Given a Segment
Given an Instances
NOTE: Does not delete occurrence or segments with other dependencies.
objects | The objects to delete. |
RoutingDesignRule collection
Created in NX3.0.0.
NXOpen::Routing::DesignRuleViolationCollection* NXOpen::Routing::RouteManager::DesignRulesViolation | ( | ) |
RoutingDesignRuleViolation collection
Created in NX3.0.0.
NXOpen::Routing::DesignRuleViolationLocationCollection* NXOpen::Routing::RouteManager::DesignRuleViolationLocation | ( | ) |
RoutingDesignRuleViolationLocation collection
Created in NX3.0.0.
NXOpen::Routing::DiscontinuityCornerCollection* NXOpen::Routing::RouteManager::DiscontinuityCorners | ( | ) |
DiscontinuityCorner collection
Created in NX3.0.0.
Returns the down direction for the part used by Routing.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
NXOpen::Routing::Electrical::ConnectionCollection* NXOpen::Routing::RouteManager::ElectricalConnections | ( | ) |
Routing Electrical Connection collection
Created in NX3.0.0.
NXOpen::Routing::Electrical::ElectricalDeviceRelationshipCollection* NXOpen::Routing::RouteManager::ElectricalDeviceRelationships | ( | ) |
ElectricalDeviceRelationship Connection collection
Created in NX3.0.0.
NXOpen::Routing::Electrical::ElectricalFormatCollection* NXOpen::Routing::RouteManager::ElectricalFormats | ( | ) |
Routing Electrical Format collection
Created in NX3.0.0.
NXOpen::Routing::Electrical::ElectricalNavigatorFilterCollection* NXOpen::Routing::RouteManager::ElectricalNavigatorFilters | ( | ) |
Routing Electrical Filter collection
Created in NX3.0.0.
NXOpen::Routing::Electrical::ElectricalStockDeviceCollection* NXOpen::Routing::RouteManager::ElectricalStockDevice | ( | ) |
ElectricalStockDevice collection
Created in NX3.0.0.
Erases the Netlist content history from the work part
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
void NXOpen::Routing::RouteManager::ExportLegacyComponentFile | ( | const NXString & | exportFilename, |
const NXString & | exportFormatName | ||
) |
Exports all of the NX Routing electrical information from the currently open part to the given XML or legacy component file.
Returns an error if
Created in NX4.0.1.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
exportFilename | The name of the file into which this method will write the NX Routing electrical information. NOTE: The full Unicode character set is not supported for this parameter. |
exportFormatName | The name of the format from the Routing List (RLIST) configuration file that defines the fields this method will create in the legacy file. For more information, see the RLIST Configuration File section of the Part Table File document in the Routing Systems Configuration Overview section of the Routing Quick Reference Guide. NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Routing::RouteManager::ExportLegacyHarnessFile | ( | const NXString & | exportFilename, |
const NXString & | exportFormatName | ||
) |
Exports all of the NX Routing electrical information from the currently open part to the given XML or legacy harness file.
Returns an error if
Created in NX4.0.1.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
exportFilename | The name of the file into which this method will write the NX Routing electrical information. NOTE: The full Unicode character set is not supported for this parameter. |
exportFormatName | The name of the format that from the Routing List (RLIST) configuration file defines the fields this method will create in the legacy file. For more information, see the RLIST Configuration File section of the Part Table File document in the Routing Systems Configuration Overview section of the Routing Quick Reference Guide. NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Routing::RouteManager::ExportPlmxml | ( | const NXString & | plmxmlFilename | ) |
Exports all of the NX Routing electrical information from the currently open part to the given file.
Returns an error if
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
plmxmlFilename | The name of the file into which this method will write the NX Routing PLM XML data. NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Routing::RouteManager::ExportXmlFile | ( | const NXString & | exportFilename | ) |
Exports all of the NX Routing electrical information from the currently open part to the given XML file.
Returns an error if
Created in NX4.0.1.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
exportFilename | The name of the file into which this method will write the NX Routing electrical information. NOTE: The full Unicode character set is not supported for this parameter. |
Filler stock Application collection
Created in NX3.0.0.
Routing FittingOverstock collection
Created in NX7.5.0.
FittingPort Collection
Created in NX3.0.0.
FixturePort Collection
Created in NX3.0.0.
FormboardFrame collection
Created in NX3.0.0.
Collection for managing Formboard data.
Created in NX7.5.0.
void NXOpen::Routing::RouteManager::GenerateCablewaysLayoutData | ( | NXOpen::Curve * | segment, |
NXOpen::Xform * | xform, | ||
double | width, | ||
double | height, | ||
int | gridFactor, | ||
std::vector< NXOpen::Point * > & | points, | ||
std::vector< NXOpen::Routing::Electrical::CableDevice * > & | cables | ||
) |
Generates the cableways layout data (cable center points) using the default bin-packing algorithm.
Created in NX7.5.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
segment | Cableways layout segment. |
xform | Coordinate system used for generating the data. |
width | Width of the cable tray or the rectangular space reservation. |
height | Height of the cable tray or the rectangular space reservation. |
gridFactor | Determines the spacing between the grid points used in the default bin-packing algorithm. Larger the grid factor, less will be the spacing. |
points | points |
cables | cables |
void NXOpen::Routing::RouteManager::GetAllBIPComponents | ( | std::vector< NXOpen::Assemblies::Component * > & | components | ) |
Returns all of the Built-in path components in the current part
Created in NX7.5.3.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
components | components |
std::vector<NXOpen::NXObject *> NXOpen::Routing::RouteManager::GetConcurrent | ( | ) |
Gets objects logged for concurrent design rule check.
Returns the default length tolerance for the current root part.
NXOpen::Routing::Electrical::HarnessDeviceCollection* NXOpen::Routing::RouteManager::HarnessDevices | ( | ) |
HarnessDevice collection
Created in NX3.0.0.
void NXOpen::Routing::RouteManager::ImportLegacyComponentFile | ( | const NXString & | importFilename, |
NXOpen::Routing::RouteManager::ImportMode | importOperation, | ||
const NXString & | importFormatName | ||
) |
Imports NX Routing electrical information from the given XML or legacy component file into the current work part.
Returns an error if
Created in NX4.0.1.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
importFilename | The name of the file from which this method will read the NX Routing electrical information. NOTE: The full Unicode character set is not supported for this parameter. |
importOperation | The import mode: update, merge, or append. See Routing::RouteManager::ImportMode for more information. |
importFormatName | The name of the format from the Routing List (RLIST) configuration file that describes the fields in the legacy file. For more information, see the RLIST Configuration File section of the Part Table File document in the Routing Systems Configuration Overview section of the Routing Quick Reference Guide. NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Routing::RouteManager::ImportLegacyHarnessFile | ( | const NXString & | importFilename, |
NXOpen::Routing::RouteManager::ImportMode | importOperation, | ||
const NXString & | importFormatName | ||
) |
Imports NX Routing electrical information from the given XML or legacy harness file into the current work part.
Returns an error if
Created in NX4.0.1.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
importFilename | The name of the file from which this method will read the NX Routing electrical information. NOTE: The full Unicode character set is not supported for this parameter. |
importOperation | The import mode: update, merge, or append. See Routing::RouteManager::ImportMode for more information. |
importFormatName | The name of the format from the Routing List (RLIST) configuration file that describes the fields in the legacy file. For more information, see the RLIST Configuration File section of the Part Table File document in the Routing Systems Configuration Overview section of the Routing Quick Reference Guide. NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::Part* NXOpen::Routing::RouteManager::ImportPartListFormatFile | ( | const NXString & | fileName | ) |
Loads the part list format (template) file.
Part list is based on this format and using this Bill of Material (BOM) is generated.
fileName | File name to load. NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Routing::RouteManager::ImportPlmxml | ( | const NXString & | plmxmlFilename, |
NXOpen::Routing::RouteManager::ImportMode | importOperation | ||
) |
Imports NX Routing electrical information from the given PLM XML file into the current work part.
Returns an error if
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
plmxmlFilename | The name of the file from which this method will read the NX Routing electrical information. NOTE: The full Unicode character set is not supported for this parameter. |
importOperation | The import mode: update, merge, or append. See Routing::RouteManager::ImportMode for more information. |
void NXOpen::Routing::RouteManager::ImportXmlFile | ( | const NXString & | importFilename, |
NXOpen::Routing::RouteManager::ImportMode | importOperation | ||
) |
Imports NX Routing electrical information from the given XML file into the current work part.
Returns an error if
Created in NX4.0.1.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
importFilename | The name of the file from which this method will read the NX Routing electrical information. NOTE: The full Unicode character set is not supported for this parameter. |
importOperation | The import mode: update, merge, or append. See Routing::RouteManager::ImportMode for more information. |
void NXOpen::Routing::RouteManager::InsertIntoStock | ( | NXOpen::Assemblies::Component * | component | ) |
Connects the input component to the stocks and other components in the work part.
Subdivides segments intersected by ports of the part and marked interior if the segment is "inside" of the part. Segments are considered inside if all of the end Routing::ControlPoint objects of the segments are inside the bounding box of the component. Interior segments are not displayable.
All stocks are split at the new interior segments. The interior stocks are hidden and do not show up in the bill of materials.
In addition this routine adds fixture ports of the input component to fixed length splines that are intersected by the ports.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
component | Must be in the same part as the Routing::RouteManager object. |
NXOpen::Routing::IntegrateRunsBuilder* NXOpen::Routing::RouteManager::IntegrateRunsBuilder | ( | NXOpen::Routing::Run * | firstRun, |
NXOpen::Routing::Run * | secondRun | ||
) |
Creates a Routing::IntegrateRunsBuilder that can Integrate two runs.
firstRun | Cableways layout segment. |
secondRun | second run |
NXOpen::Routing::InterfaceTerminalRelationshipCollection* NXOpen::Routing::RouteManager::InterfaceTerminalRelationships | ( | ) |
InterfaceTerminalRelationship collection
Created in NX3.0.0.
NXOpen::Routing::Electrical::JumperConnectionCollection* NXOpen::Routing::RouteManager::JumperConnections | ( | ) |
JumperConnection collection
Created in NX3.0.0.
void NXOpen::Routing::RouteManager::LiftFromStock | ( | NXOpen::Assemblies::Component * | component | ) |
Disconnects the input component from stocks and components in the work part.
This the opposite of Routing::RouteManager::InsertIntoStock . Interior segments are marked as non-interior, and any subdivisions performed by Routing::RouteManager::InsertIntoStock are reversed to the previous state.
Interior stocks are marked as non-interior and merge with the existing stocks that were connected to the component.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
component | Must be in the same part as the Routing::RouteManager object. |
NXOpen::Part* NXOpen::Routing::RouteManager::LoadPart | ( | NXOpen::Routing::CharacteristicList * | partEntry | ) |
Loads a part based on the input Routing::CharacteristicList .
This object can be created on the fly, or returned from a search through the part library using the Preferences::RoutingPartLibrary::MatchCriteria or Preferences::RoutingPartLibrary::MatchCriteriaWithFilter methods.
partEntry | Must contain a PART_NAME for a regular part, or a MEMBER_NAME and PART_NAME for part family parts. |
void NXOpen::Routing::RouteManager::LogConcurrent | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Logs objects to be checked during the next concurrent design rule check.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
objects | Must be in the same part as the Routing::RouteManager object. |
void NXOpen::Routing::RouteManager::MergeDuplicateRcps | ( | const std::vector< NXOpen::Routing::ControlPoint * > & | rcps, |
double | tolerance | ||
) |
Finds the duplicate Routing Control Points (RCPs) within given tolerance and merges them.
Call Update::DoUpdate afterwards to ensure that the duplicates are deleted.
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
rcps | The Routing Control Points (RCPs) |
tolerance | Tolerance value to determine duplicate RCPs |
bool NXOpen::Routing::RouteManager::MergeDuplicateRcps | ( | double | tolerance, |
const std::vector< NXOpen::Routing::ControlPoint * > & | rcps | ||
) |
Finds the duplicate Routing Control Points (RCPs) within given tolerance and merges them.
Call Update::DoUpdate afterwards to ensure that the duplicates are deleted.
tolerance | Tolerance value to determine duplicate RCPs |
rcps | The Routing Control Points (RCPs) |
MiterCorner collection
Created in NX3.0.0.
Creates a Routing::ModelTerminalsBuilder which Models Terminal.
MultiPort Collection
Created in NX3.0.0.
NXOpen::Routing::Electrical::NonPathConnectionCollection* NXOpen::Routing::RouteManager::NonPathConnections | ( | ) |
NonPathConnection collection
Created in NX3.0.0.
OffsetPath Collection
Created in NX3.0.0.
NXOpen::Routing::OverstockApplicationCollection* NXOpen::Routing::RouteManager::OverstockApplications | ( | ) |
OverstockApplication collection
Created in NX3.0.0.
Returns the type for the part used by Routing.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
NXOpen::Routing::Electrical::PathConnectionCollection* NXOpen::Routing::RouteManager::PathConnections | ( | ) |
PathConnection collection
Created in NX3.0.0.
void NXOpen::Routing::RouteManager::PlaceCutElbow | ( | NXOpen::Routing::CharacteristicList * | loadCharx, |
NXOpen::Routing::CharacteristicList * | applyCharx, | ||
NXOpen::Routing::ControlPoint * | rcp | ||
) |
PortConnection Collection
Created in NX3.0.0.
Port Collection
Created in NX3.0.0.
void NXOpen::Routing::RouteManager::PromoteBIPGeometry | ( | NXOpen::Assemblies::Component * | bipComponent | ) |
Finds all bip components which do not have referencing built-in path updaters and creates them.
This may also involve creating the workpart geometry for the Built-in path if needed.
Created in NX7.5.3.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
bipComponent | bipcomponent |
ProxyPort Collection
Created in NX8.0.0.
void NXOpen::Routing::RouteManager::RemoveComponents | ( | const std::vector< NXOpen::Assemblies::Component * > & | components | ) |
Removes the Assemblies::Component objects from the assembly and updates the routing path data.
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
components | Components to remove, this method will delete these objects. |
void NXOpen::Routing::RouteManager::ReplaceComponents | ( | NXOpen::Assemblies::Component * | oldOcc, |
NXOpen::Assemblies::Component * | newOcc, | ||
const NXString & | refsetName | ||
) |
Replaces old component with new component.
Creates a port map. Lifts the part from the stock. Replaces various references from one set of port occurrences to another set of port occurrences and copies the old characteristics on the new occurrence.
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
oldOcc | old occ |
newOcc | new occ |
refsetName | NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Routing::RouteManager::RepositionPartOccurrence | ( | NXOpen::Assemblies::Component * | partOcc, |
const NXOpen::Point3d & | position, | ||
const NXOpen::Matrix3x3 & | transform | ||
) |
Repositions part component given position and transformation
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
partOcc | part occ |
position | part occurrence to move |
transform | new transform for the part occurrence |
Returns the Routing::ReuseLibrary object
Created in NX7.5.3.
NXOpen::Routing::RouteLogicalAssociationCollection* NXOpen::Routing::RouteManager::RouteLogicalAssociations | ( | ) |
RouteLogicalAssociation Collection
Created in NX3.0.0.
NXOpen::Routing::RoutePartDescriptorCollection* NXOpen::Routing::RouteManager::RoutePartDescriptors | ( | ) |
RoutePartDescriptor collection
Created in NX3.0.0.
NXOpen::Assemblies::Component* NXOpen::Routing::RouteManager::RouteReplacePart | ( | NXOpen::Assemblies::Component * | oldOcc, |
NXOpen::Part * | newPart, | ||
const NXString & | compName, | ||
const NXString & | refset, | ||
int | occLayer | ||
) |
Replace part.
oldOcc | old occ |
newPart | new part |
compName | NOTE: The full Unicode character set is not supported for this parameter. |
refset | NOTE: The full Unicode character set is not supported for this parameter. |
occLayer | occ layer |
RoutingSystem Collection
Created in NX3.0.0.
Run Collection
Created in NX3.0.0.
SBendCorner collection
Created in NX3.0.0.
void NXOpen::Routing::RouteManager::SetDownDirection | ( | NXOpen::Direction * | downDirection | ) |
Sets the down direction for the part used by Routing.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
downDirection | down direction |
Sets the type for the part used by Routing.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
type | type |
NXOpen::Routing::SplitRunBuilder* NXOpen::Routing::RouteManager::SplitRunBuilder | ( | NXOpen::Routing::Run * | run | ) |
Creates a Routing::SplitRunBuilder that can split a run.
run | Cableways layout segment. |
StockData collection
Created in NX3.0.0.
Stock collection
Created in NX3.0.0.
NXOpen::Routing::Electrical::SystemDeviceCollection* NXOpen::Routing::RouteManager::SystemDevices | ( | ) |
SystemDevice collection
Created in NX3.0.0.
tag_t NXOpen::Routing::RouteManager::Tag | ( | ) | const |
Returns the tag of this object.
Creates a Routing::TerminalPortBuilder.
TerminalPort Collection
Created in NX3.0.0.
std::vector<NXOpen::NXObject *> NXOpen::Routing::RouteManager::TransformObjects | ( | bool | allStock, |
const std::vector< NXOpen::Routing::Stock * > & | specifiedStocks, | ||
const std::vector< NXOpen::NXObject * > & | objects, | ||
const NXOpen::Point3d & | position, | ||
const NXOpen::Matrix3x3 & | transform, | ||
bool | copyOperation | ||
) |
Transforms routing objects.
The transformation can be a Move or a Copy. NULL objects should not be passed for transformation.
allStock | if TRUE: Copies all stock else Copies specified stocks only |
specifiedStocks | Specified stocks, not used if copying all stocks |
objects | Routing objects (segments, control points, components, etc.) to transform |
position | Delta position, determines the translation. |
transform | Rotation matrix, specifies the rotation to apply. |
copyOperation | if true, copies the input tags and moves the copy. If false, just moves the input tags. |
void NXOpen::Routing::RouteManager::UnifyPath | ( | NXOpen::TaggedObject * | inputObject, |
NXOpen::Routing::CharacteristicList * | newCharxList | ||
) |
Changes the given stock or component to a new object that matches the given characteristics.
Useful for unifying all of the stocks and components (e.g. elbows and tees) in a path to the same characteristics.
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
inputObject | The stock, elbow, or tee to change. |
newCharxList | The characteristics to use in finding a replacement for the given object. |
Prints the Netlist content history to the Listing Window
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
Wire Collection
Created in NX3.0.0.