PathLinearMotion Class¶
-
class
NXOpen.CAM.PathLinearMotion¶ Bases:
NXOpen.TransientObjectThis class represents the data of a Linear Motion
New in version NX10.0.1.
Properties¶
| Property | Description |
|---|---|
| ContactData | Returns or sets the contact motion if the motion is contact and Nothing if not |
| EndPoint | Returns or sets the end point of the motion |
| IsContact | Returns or sets the check to see if motion is contact |
| IsCustomFeedrate | Returns or sets the custom feed rate indicator |
| MotionType | Returns or sets the motion type |
| ToolAxis | Returns or sets the tool axis of the motion |
Methods¶
| Method | Description |
|---|---|
| Dispose | Free resources associated with the instance. |
| GetFeedrate | Get feed rate information |
| SetFeedrate | Set feed rate information. |
Property Detail¶
ContactData¶
-
PathLinearMotion.ContactData¶ Returns or sets the contact motion if the motion is contact and Nothing if not
-------------------------------------Getter Method
Signature
ContactDataReturns: Return type: NXOpen.CAM.PathContactMotionNew in version NX11.0.2.
License requirements: None.
-------------------------------------Setter Method
Signature
ContactDataParameters: contactMotion ( NXOpen.CAM.PathContactMotion) –New in version NX11.0.2.
License requirements: cam_base (“CAM BASE”)
EndPoint¶
-
PathLinearMotion.EndPoint¶ Returns or sets the end point of the motion
-------------------------------------Getter Method
Signature
EndPointReturns: Return type: NXOpen.Point3dNew in version NX10.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
EndPointParameters: endPoint ( NXOpen.Point3d) –New in version NX10.0.1.
License requirements: cam_base (“CAM BASE”)
IsContact¶
-
PathLinearMotion.IsContact¶ Returns or sets the check to see if motion is contact
-------------------------------------Getter Method
Signature
IsContactReturns: Return type: bool New in version NX11.0.2.
License requirements: None.
-------------------------------------Setter Method
Signature
IsContactParameters: answer (bool) – New in version NX11.0.2.
License requirements: cam_base (“CAM BASE”)
IsCustomFeedrate¶
-
PathLinearMotion.IsCustomFeedrate¶ Returns or sets the custom feed rate indicator
-------------------------------------Getter Method
Signature
IsCustomFeedrateReturns: Return type: bool New in version NX10.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
IsCustomFeedrateParameters: isCustomFeedRate (bool) – New in version NX10.0.1.
License requirements: cam_base (“CAM BASE”)
MotionType¶
-
PathLinearMotion.MotionType¶ Returns or sets the motion type
-------------------------------------Getter Method
Signature
MotionTypeReturns: Return type: NXOpen.CAM.CamPathMotionTypeNew in version NX10.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
MotionTypeParameters: motionType ( NXOpen.CAM.CamPathMotionType) –New in version NX10.0.1.
License requirements: cam_base (“CAM BASE”)
ToolAxis¶
-
PathLinearMotion.ToolAxis¶ Returns or sets the tool axis of the motion
-------------------------------------Getter Method
Signature
ToolAxisReturns: Return type: NXOpen.Vector3dNew in version NX10.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
ToolAxisParameters: toolAxis ( NXOpen.Vector3d) –New in version NX10.0.1.
License requirements: cam_base (“CAM BASE”)
Method Detail¶
Dispose¶
-
PathLinearMotion.Dispose¶ Free resources associated with the instance.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Signature
Dispose()New in version NX10.0.1.
License requirements: None.
GetFeedrate¶
-
PathLinearMotion.GetFeedrate¶ Get feed rate information
Signature
GetFeedrate()Returns: a tuple Return type: A tuple consisting of (feedValue, feedUnit). feedValue is a float. feedUnit is a NXOpen.CAM.CamPathFeedUnitType.New in version NX10.0.1.
License requirements: None.
SetFeedrate¶
-
PathLinearMotion.SetFeedrate¶ Set feed rate information.
If the feed rate is set on a motion then it will be treated as custom feed rate
Signature
SetFeedrate(feedValue, feedUnit)Parameters: - feedValue (float) –
- feedUnit (
NXOpen.CAM.CamPathFeedUnitType) –
New in version NX10.0.1.
License requirements: cam_base (“CAM BASE”)