CamBuilder Class¶
-
class
NXOpen.Mechatronics.
CamBuilder
¶ Bases:
NXOpen.Mechatronics.CouplingBuilder
Represents a
NXOpen.Mechatronics.Cam
builder.To create a new instance of this class, use
NXOpen.Mechatronics.CamCollection.CreateCamBuilder
New in version NX7.5.1.
Properties¶
Property | Description |
---|---|
AllowSlip | Returns or sets the coulping can slip or not. |
CamProfile | Returns or sets the cam profile. |
MasterAxisJoint | Returns the master axis joint. |
MasterAxisType | Returns or sets the master axis type. |
MasterOffset | Returns the master offset. |
MasterScaleFactor | Returns the master scale factor. |
MotionProfile | Returns or sets the motion profile. |
Name | Returns or sets the name. |
SlaveAxisJoint | Returns the slave axis joint. |
SlaveAxisType | Returns or sets the slave axis type. |
SlaveOffset | Returns the slave offset. |
SlaveScaleFactor | Returns the slave scale factor. |
Tag | Returns the Tag for this object. |
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. |
GetObject | Returns the object currently being edited by this builder. |
SetMasterAxisJoint | Sets the master axis. |
SetSlaveAxisJoint | Sets the slave axis. |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
CamBuilderAxisJointType Enumeration | Represents the axis joint type. |
Property Detail¶
CamProfile¶
-
CamBuilder.
CamProfile
¶ Returns or sets the cam profile.
This can be
NXOpen.Mechatronics.CamProfile
.-------------------------------------
Getter Method
Signature
CamProfile()
Returns: Return type: NXOpen.Mechatronics.CamProfile
New in version NX9.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------
Setter Method
Signature
CamProfile(profile)
Parameters: profile ( NXOpen.Mechatronics.CamProfile
) –New in version NX9.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
MasterAxisType¶
-
CamBuilder.
MasterAxisType
¶ Returns or sets the master axis type.
-------------------------------------
Getter Method
Signature
MasterAxisType()
Returns: Return type: NXOpen.Mechatronics.CamBuilderAxisJointType
New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------
Setter Method
Signature
MasterAxisType(masterAxisType)
Parameters: masterAxisType ( NXOpen.Mechatronics.CamBuilderAxisJointType
) –New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
MasterOffset¶
-
CamBuilder.
MasterOffset
¶ Returns the master offset.
-------------------------------------
Getter Method
Signature
MasterOffset()
Returns: Return type: NXOpen.Expression
New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
MasterScaleFactor¶
-
CamBuilder.
MasterScaleFactor
¶ Returns the master scale factor.
-------------------------------------
Getter Method
Signature
MasterScaleFactor()
Returns: Return type: NXOpen.Expression
New in version NX9.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
MotionProfile¶
-
CamBuilder.
MotionProfile
¶ Returns or sets the motion profile.
This can be
NXOpen.Mechatronics.MotionProfile
.-------------------------------------
Getter Method
Signature
MotionProfile()
Returns: Return type: NXOpen.Mechatronics.MotionProfile
New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------
Setter Method
Signature
MotionProfile(profile)
Parameters: profile ( NXOpen.Mechatronics.MotionProfile
) –New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
SlaveAxisType¶
-
CamBuilder.
SlaveAxisType
¶ Returns or sets the slave axis type.
-------------------------------------
Getter Method
Signature
SlaveAxisType()
Returns: Return type: NXOpen.Mechatronics.CamBuilderAxisJointType
New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------
Setter Method
Signature
SlaveAxisType(slaveAxisType)
Parameters: slaveAxisType ( NXOpen.Mechatronics.CamBuilderAxisJointType
) –New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
SlaveOffset¶
-
CamBuilder.
SlaveOffset
¶ Returns the slave offset.
-------------------------------------
Getter Method
Signature
SlaveOffset()
Returns: Return type: NXOpen.Expression
New in version NX9.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
SlaveScaleFactor¶
-
CamBuilder.
SlaveScaleFactor
¶ Returns the slave scale factor.
-------------------------------------
Getter Method
Signature
SlaveScaleFactor()
Returns: Return type: NXOpen.Expression
New in version NX9.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
Method Detail¶
Validate¶
-
CamBuilder.
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.