NXOpen .NET Reference Guide
|
The Routing OffsetPath object is a list of segments in a route. More...
Public Types | |
enum | BendType { MaintainRadius, MaintainCenter, MaximumBendTypes } |
Bend types for offset path creation More... | |
Public Member Functions | |
unsafe void | ConvertOffsetPaths (NXOpen.Routing.OffsetPath masterOffsetPath) |
Converts an offset path into NXOpen.Positioning.Constraint objects applied to the copied routing objects. More... | |
unsafe NXOpen.Routing.OffsetPath | CreateCircularOffsetPath (NXOpen.Routing.ISegment[] segments, bool allStock, NXOpen.Routing.Stock[] specStocks, bool maintainStock, bool copyBendCorners, NXOpen.Routing.OffsetPathCollection.BendType maintain, bool useMinimumBendRatio, double minimumBendRatio, double minimumBendRadius, bool deleteAllDuplicates, bool createAssociativePaths, NXOpen.Vector3d patternXVector, NXOpen.Vector3d patternYVector, NXOpen.Point3d patternAxisEndPoint, double patternStartAngle, double radialOffset, int nPaths, double totalAngle, out NXOpen.Routing.OffsetPath[] slavePathsCreated) |
Creates a circular offset path. More... | |
unsafe NXOpen.Routing.OffsetPath | CreateRectangularOffsetPath (NXOpen.Routing.ISegment[] segments, bool allStock, NXOpen.Routing.Stock[] specStocks, bool maintainStock, bool copyBendCorners, NXOpen.Routing.OffsetPathCollection.BendType maintain, bool useMinimumBendRatio, double minimumBendRatio, double minimumBendRadius, bool deleteAllDuplicates, bool createAssociativePaths, NXOpen.Vector3d patternXVector, NXOpen.Vector3d patternYVector, NXOpen.Point3d patternAxisEndPoint, double patternStartAngle, double rowOffset, double columnOffset, int nRows, int nColumns, int masterRow, int masterColumn, out NXOpen.Routing.OffsetPath[] slavePathsCreated) |
Creates a rectangular offset path. More... | |
NXOpen.Routing.OffsetPath[] | ToArray () |
Returns an array of NXOpen.Routing.OffsetPath objects. More... | |
Public Member Functions inherited from NXOpen.TaggedObjectCollection | |
IEnumerator | GetEnumerator () |
Returns an enumerator that iterates through a collection. More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Protected Member Functions | |
override int | EnumerateMoveNext (ref Tag currentTag, byte[] state) |
Advances the enumerator to the next element of the collection. More... | |
Protected Member Functions inherited from NXOpen.TaggedObjectCollection | |
new void | initialize () |
<exclude> More... | |
Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
void | initialize () |
<exclude> More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
The Routing OffsetPath object is a list of segments in a route.
It also contains the beginning and ending control point for the path.
To obtain an instance of this class, refer to NXOpen.Routing.RouteManager
Created in NX4.0.0
|
inline |
Converts an offset path into NXOpen.Positioning.Constraint objects applied to the copied routing objects.
Converts the input master offset path as well as all of the children offset paths of the input master offset path.
The NXOpen.Routing.OffsetPath is incompatible with segments created using the NXOpen.Routing.SegmentManager.CreateConstrainedSegment or to any segments that have NXOpen.Positioning.Constraint objects applied to them. This routine makes the path parallel and associative to each other using constraints rather than the NXOpen.Routing.OffsetPath objects. The converted offset path objects are logged for delete, the next call to NXOpen.Update.DoUpdate will delete the offset path objects.
Created in NX5.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
masterOffsetPath |
|
inline |
Creates a circular offset path.
Created in NX4.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
segments | The list of segments to be associated with the offset path |
allStock | |
specStocks | |
maintainStock | if TRUE: Maintain stock on paths |
copyBendCorners | if TRUE: Copy the bend corners |
maintain | Maintain radius or center |
useMinimumBendRatio | if TRUE: Use Ratio to Stock Diameter |
minimumBendRatio | Minimum Bend Ratio |
minimumBendRadius | Minimum Bend Radius |
deleteAllDuplicates | if TRUE: Delete all duplicate paths |
createAssociativePaths | if TRUE: Create associative paths |
patternXVector | X vector to set the pattern reference axis |
patternYVector | Y vector to set the pattern reference axis |
patternAxisEndPoint | Point to set the pattern reference axis direction if NULL: Computes reference axis using heuristics |
patternStartAngle | Start angle of the point |
radialOffset | Offset distance |
nPaths | Number of paths |
totalAngle | Total angle |
slavePathsCreated | The created slave offset paths |
|
inline |
Creates a rectangular offset path.
Created in NX4.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
segments | The list of segments to be associated with the offset path |
allStock | |
specStocks | |
maintainStock | if TRUE: Maintain stock on paths |
copyBendCorners | if TRUE: Copy the bend corners |
maintain | Maintain radius or center |
useMinimumBendRatio | if TRUE: Use Ratio to Stock Diameter |
minimumBendRatio | Minimum Bend Ratio |
minimumBendRadius | Minimum Bend Radius |
deleteAllDuplicates | if TRUE: Delete all duplicate paths |
createAssociativePaths | if TRUE: Create associative paths |
patternXVector | X vector to set the pattern reference axis |
patternYVector | Y vector to set the pattern reference axis |
patternAxisEndPoint | Point to set the pattern reference axis direction if NULL: Computes reference axis using heuristics |
patternStartAngle | Start angle of the pattern |
rowOffset | Offset distance along the row |
columnOffset | Offset distance along the column |
nRows | Number of rows |
nColumns | Number of columns |
masterRow | Row of the master path |
masterColumn | Column of the master path |
slavePathsCreated | The created slave offset paths |
|
inlineprotectedvirtual |
Advances the enumerator to the next element of the collection.
Implements NXOpen.TaggedObjectCollection.
|
inline |
Returns an array of NXOpen.Routing.OffsetPath objects.
|
get |
Returns the tag of this object.