NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::Routing::ISegment Class Referenceabstract

Interface class for all routing segments [Line/Arc/Spline]
Created in NX4.0.0. More...

Inheritance diagram for NXOpen::Routing::ISegment:
NXOpen::Routing::ICharacteristic NXOpen::INXObject NXOpen::Routing::ArcSegment NXOpen::Routing::GapArcSegment NXOpen::Routing::LineSegment NXOpen::Routing::SplineSegment

Public Member Functions

virtual
NXOpen::Routing::ConvertEccentricLinearToLinear 
ConvertEccentricLinearToLinear ()=0
 Is line segment eccentric converted to line segment? More...
 
virtual
NXOpen::Routing::ConvertLinearToEccentricLinear 
ConvertLinearToEccentricLinear ()=0
 Is line segment converted to eccentric line segment? More...
 
virtual NXOpen::CurveFollowCurve ()=0
 Returns the segment follow curve. More...
 
virtual std::vector
< NXOpen::Routing::Electrical::CableDevice * > 
GetCableDevices ()=0
 Returns NXOpen::Routing::Electrical::CableDevice objects from NXOpen::Routing::ISegment . More...
 
virtual std::vector
< NXOpen::Routing::Electrical::CablewaysLayoutView * > 
GetCablewaysLayoutViews ()=0
 Returns NXOpen::Routing::Electrical::CablewaysLayoutView objects from the NXOpen::Routing::ISegment . More...
 
virtual void GetEndPoints (NXOpen::Point3d *startPoint, NXOpen::Point3d *endPoint)=0
 Get the current location of the segment ends in ABS coordinates. More...
 
virtual void GetEndRcps (NXOpen::Routing::ControlPoint **startRcp, NXOpen::Routing::ControlPoint **endRcp)=0
 Return of segment end control points. More...
 
virtual NXOpen::Routing::Eccentric GetIsEccentricSegment ()=0
 Is given segment a eccentric segment? More...
 
virtual NXOpen::Routing::Interior GetIsSegmentInterior ()=0
 Query if a segment is interior to any part. More...
 
virtual NXOpen::Routing::Terminal GetIsTerminalSegment ()=0
 Is given segment a terminal segment? More...
 
virtual std::vector
< NXOpen::Routing::Stock * > 
GetSegmentAllStocks ()=0
 Returns NXOpen::Routing::Stock as well as NXOpen::Routing::Overstock objects from the NXOpen::Routing::ISegment . More...
 
virtual std::vector
< NXOpen::Routing::Stock * > 
GetSegmentStock ()=0
 Returns all stocks that directly reference this segment as part of the path defining the stock. More...
 
virtual double Length ()=0
 Returns the length of the segment. More...
 
virtual void SetEndPoints (const NXOpen::Point3d &startPoint, const NXOpen::Point3d &endPoint)=0
 Set the current location of the segment ends in ABS coordinates. More...
 
virtual void SetEndRcps (NXOpen::Routing::ControlPoint *startRcp, NXOpen::Routing::ControlPoint *endRcp)=0
 
Created in NX4.0.0. More...
 
virtual void SetIsTerminalSegment (NXOpen::Routing::Terminal isTerminal)=0
 Set given segment to be a terminal segment?
Created in NX4.0.0. More...
 
virtual void SetSegmentInteriorPart (NXOpen::Assemblies::Component *interiorPart)=0
 Set a segment to be interior to supplied part
Created in NX4.0.0. More...
 
- Public Member Functions inherited from NXOpen::Routing::ICharacteristic
virtual void DeleteCharacterstics (NXOpen::Routing::CharacteristicList *values)=0
 Removes the input list of characteristics from this object. More...
 
virtual
NXOpen::Routing::CharacteristicList
GetCharacteristics ()=0
 Get all of the characteristics values on the this object. More...
 
virtual
NXOpen::Routing::CharacteristicList
GetDestinationCharacteristics ()=0
 Returns the destination characteristics from the input object. More...
 
virtual int GetIntegerCharacteristic (const NXString &name)=0
 Get the value of an integer characteristic associated with the input name. More...
 
virtual int GetIntegerCharacteristic (const char *name)=0
 Get the value of an integer characteristic associated with the input name. More...
 
virtual double GetRealCharacteristic (const NXString &name)=0
 Get the value of a real characteristic associated with the input name. More...
 
virtual double GetRealCharacteristic (const char *name)=0
 Get the value of a real characteristic associated with the input name. More...
 
virtual NXString GetStringCharacteristic (const NXString &name)=0
 Get the value of a string characteristic associated with the input name. More...
 
virtual NXString GetStringCharacteristic (const char *name)=0
 Get the value of a string characteristic associated with the input name. More...
 
virtual void SetCharacteristic (const NXString &name, int value)=0
 Set the value of an integer characteristic associated with the input name, adds a new characteristic to the list if one doesn't exist already. More...
 
virtual void SetCharacteristic (const char *name, int value)=0
 Set the value of an integer characteristic associated with the input name, adds a new characteristic to the list if one doesn't exist already. More...
 
virtual void SetCharacteristic (const NXString &name, double value)=0
 Set the value of an real characteristic associated with the input name, adds a new characteristic to the list if one doesn't exist already. More...
 
virtual void SetCharacteristic (const char *name, double value)=0
 Set the value of an real characteristic associated with the input name, adds a new characteristic to the list if one doesn't exist already. More...
 
virtual void SetCharacteristic (const NXString &name, const NXString &value)=0
 Set the value of an string characteristic associated with the input name, adds a new characteristic to the list if one doesn't exist already. More...
 
virtual void SetCharacteristic (const char *name, const char *value)=0
 Set the value of an string characteristic associated with the input name, adds a new characteristic to the list if one doesn't exist already. More...
 
virtual void SetCharacteristic2 (const NXString &title, int value)=0
 Sets or creates an integer type attribute associated with the input title. More...
 
virtual void SetCharacteristic2 (const char *title, int value)=0
 Sets or creates an integer type attribute associated with the input title. More...
 
virtual void SetCharacteristic2 (const NXString &title, double value)=0
 Sets or creates a double type attribute associated with the input title. More...
 
virtual void SetCharacteristic2 (const char *title, double value)=0
 Sets or creates a double type attribute associated with the input title. More...
 
virtual void SetCharacteristic2 (const NXString &title, const NXString &value)=0
 Sets or creates a string type type attribute associated with the input title. More...
 
virtual void SetCharacteristic2 (const char *title, const char *value)=0
 Sets or creates a string type type attribute associated with the input title. More...
 
virtual void SetCharacteristics (NXOpen::Routing::CharacteristicList *values)=0
 Set all of the characteristics values on this object. More...
 
virtual void SetCharacteristics2 (NXOpen::Routing::CharacteristicList *values)=0
 Sets all attributes associated with the titles from the input list, creating new attributes for the ones that don't exist already. More...
 
- Public Member Functions inherited from NXOpen::INXObject
virtual NXOpen::INXObjectFindObject (const NXString &journalIdentifier)=0
 Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More...
 
virtual NXOpen::INXObjectFindObject (const char *journalIdentifier)=0
 Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More...
 
virtual bool IsOccurrence ()=0
 Returns whether this object is an occurrence or not. More...
 
virtual NXString JournalIdentifier ()=0
 Returns the identifier that would be recorded in a journal for this object. More...
 
virtual NXString Name ()=0
 Returns the custom name of the object. More...
 
virtual
NXOpen::Assemblies::Component
OwningComponent ()=0
 Returns the owning component, if this object is an occurrence. More...
 
virtual NXOpen::BasePartOwningPart ()=0
 Returns the owning part of this object
Created in NX3.0.0. More...
 
virtual void Print ()=0
 Prints a representation of this object to the system log file. More...
 
virtual NXOpen::INXObjectPrototype ()=0
 Returns the prototype of this object if it is an occurrence. More...
 
virtual void SetName (const NXString &name)=0
 Sets the custom name of the object. More...
 
virtual void SetName (const char *name)=0
 Sets the custom name of the object. More...
 

Detailed Description

Interface class for all routing segments [Line/Arc/Spline]
Created in NX4.0.0.


Member Function Documentation

virtual NXOpen::Routing::ConvertEccentricLinearToLinear NXOpen::Routing::ISegment::ConvertEccentricLinearToLinear ( )
pure virtual

Is line segment eccentric converted to line segment?

Returns
Is line segment eccentric converted to line segment?
Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, NXOpen::Routing::GapArcSegment, and NXOpen::Routing::SplineSegment.

virtual NXOpen::Routing::ConvertLinearToEccentricLinear NXOpen::Routing::ISegment::ConvertLinearToEccentricLinear ( )
pure virtual

Is line segment converted to eccentric line segment?

Returns
Is line segment converted to eccentric line segment?
Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, NXOpen::Routing::GapArcSegment, and NXOpen::Routing::SplineSegment.

virtual NXOpen::Curve* NXOpen::Routing::ISegment::FollowCurve ( )
pure virtual

Returns the segment follow curve.

NULL object indicates segment has no follow curve
Created in NX4.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, NXOpen::Routing::GapArcSegment, and NXOpen::Routing::SplineSegment.

virtual std::vector<NXOpen::Routing::Electrical::CableDevice *> NXOpen::Routing::ISegment::GetCableDevices ( )
pure virtual

Returns NXOpen::Routing::Electrical::CableDevice objects from NXOpen::Routing::ISegment .

Returns
Array of cable devices.
Created in NX7.5.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, NXOpen::Routing::GapArcSegment, and NXOpen::Routing::SplineSegment.

virtual std::vector<NXOpen::Routing::Electrical::CablewaysLayoutView *> NXOpen::Routing::ISegment::GetCablewaysLayoutViews ( )
pure virtual

Returns NXOpen::Routing::Electrical::CablewaysLayoutView objects from the NXOpen::Routing::ISegment .

Returns
Array of cableways layout views.
Created in NX7.5.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, NXOpen::Routing::GapArcSegment, and NXOpen::Routing::SplineSegment.

virtual void NXOpen::Routing::ISegment::GetEndPoints ( NXOpen::Point3d startPoint,
NXOpen::Point3d endPoint 
)
pure virtual

Get the current location of the segment ends in ABS coordinates.

This value is overridden by the coordinates of the end RCPs associated with this segment.
Created in NX4.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
startPointLocation of end 0 in ABS coordinates
endPointLocation of end 1 in ABS coordinates

Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, NXOpen::Routing::GapArcSegment, and NXOpen::Routing::SplineSegment.

virtual void NXOpen::Routing::ISegment::GetEndRcps ( NXOpen::Routing::ControlPoint **  startRcp,
NXOpen::Routing::ControlPoint **  endRcp 
)
pure virtual

Return of segment end control points.

The NXOpen::Routing::ControlPoint defines an end of a segment
Created in NX4.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
startRcpRCP defining start of segment
endRcpRCP defining end of segment

Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, NXOpen::Routing::GapArcSegment, and NXOpen::Routing::SplineSegment.

virtual NXOpen::Routing::Eccentric NXOpen::Routing::ISegment::GetIsEccentricSegment ( )
pure virtual

Is given segment a eccentric segment?

Returns
Is segment a eccentric segment?
Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, NXOpen::Routing::GapArcSegment, and NXOpen::Routing::SplineSegment.

virtual NXOpen::Routing::Interior NXOpen::Routing::ISegment::GetIsSegmentInterior ( )
pure virtual

Query if a segment is interior to any part.

Returns
Is segment interior?
Created in NX4.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, NXOpen::Routing::GapArcSegment, and NXOpen::Routing::SplineSegment.

virtual NXOpen::Routing::Terminal NXOpen::Routing::ISegment::GetIsTerminalSegment ( )
pure virtual

Is given segment a terminal segment?

Returns
Is segment a terminal segment?
Created in NX4.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, NXOpen::Routing::GapArcSegment, and NXOpen::Routing::SplineSegment.

virtual std::vector<NXOpen::Routing::Stock *> NXOpen::Routing::ISegment::GetSegmentAllStocks ( )
pure virtual

Returns NXOpen::Routing::Stock as well as NXOpen::Routing::Overstock objects from the NXOpen::Routing::ISegment .

Returns
Array of stocks/overstocks.
Created in NX5.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, NXOpen::Routing::GapArcSegment, and NXOpen::Routing::SplineSegment.

virtual std::vector<NXOpen::Routing::Stock *> NXOpen::Routing::ISegment::GetSegmentStock ( )
pure virtual

Returns all stocks that directly reference this segment as part of the path defining the stock.

Returns

Created in NX4.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, NXOpen::Routing::GapArcSegment, and NXOpen::Routing::SplineSegment.

virtual double NXOpen::Routing::ISegment::Length ( )
pure virtual

Returns the length of the segment.


Created in NX11.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, NXOpen::Routing::GapArcSegment, and NXOpen::Routing::SplineSegment.

virtual void NXOpen::Routing::ISegment::SetEndPoints ( const NXOpen::Point3d startPoint,
const NXOpen::Point3d endPoint 
)
pure virtual

Set the current location of the segment ends in ABS coordinates.

This value is overridden by the coordinates of the end RCPs associated with this segment.
Created in NX4.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
startPointNew location of end 0 in ABS coordinates
endPointNew location of end 1 in ABS coordinates

Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, NXOpen::Routing::GapArcSegment, and NXOpen::Routing::SplineSegment.

virtual void NXOpen::Routing::ISegment::SetEndRcps ( NXOpen::Routing::ControlPoint startRcp,
NXOpen::Routing::ControlPoint endRcp 
)
pure virtual


Created in NX4.0.0.



License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
startRcpRCP defining start of segment
endRcpRCP defining end of segment

Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, NXOpen::Routing::GapArcSegment, and NXOpen::Routing::SplineSegment.

virtual void NXOpen::Routing::ISegment::SetIsTerminalSegment ( NXOpen::Routing::Terminal  isTerminal)
pure virtual

Set given segment to be a terminal segment?
Created in NX4.0.0.



License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
isTerminalSet as terminal segment?

Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, NXOpen::Routing::GapArcSegment, and NXOpen::Routing::SplineSegment.

virtual void NXOpen::Routing::ISegment::SetSegmentInteriorPart ( NXOpen::Assemblies::Component interiorPart)
pure virtual

Set a segment to be interior to supplied part
Created in NX4.0.0.



License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
interiorPartPart segment interior?

Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, NXOpen::Routing::GapArcSegment, and NXOpen::Routing::SplineSegment.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.