MachineGroupBuilder Class¶
-
class
NXOpen.CAM.
MachineGroupBuilder
¶ Bases:
NXOpen.CAM.NCGroupBuilder
Represents a MachineGroup Builder
To create a new instance of this class, use
NXOpen.CAM.NCGroupCollection.CreateMachineGroupBuilder
New in version NX5.0.0.
Properties¶
Property | Description |
---|---|
CycleEvent | Returns the cycle event |
CycleTable | Returns the cycle |
Description | Returns or sets the description |
EndUdeSet | Returns the end ude set |
MachinePartOccurrence | Returns or sets the Machine Part Occurrence This is only needed when the option assembly positioning is selected in Part Mounting Dialog and should be called before update cam setup. |
OptimizationMethod | Returns or sets the optim method |
RapidFeed | Returns the Rapid Feed Rate |
StartUdeSet | Returns the start ude set |
Tag | Returns the Tag for this object. |
ToolChangeTime | Returns the Tool Change Time |
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. |
RemoveKinematics | Removes the machine data from the CAM setup, but does not remove the machine part component from the CAM assembly |
RemoveMachine | Removes the machine part component from the CAM assembly and removes the machine data from the CAM setup. |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
UpdateCamSetup | Adds machine model part file to the CAM part. |
UpdateToolPathTime | Recalculate tool path time and update the operation navigator |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
MachineGroupBuilderRetrieveToolPocketInformation Enumeration | retrieve tool pocket information flag. |
Property Detail¶
MachinePartOccurrence¶
-
MachineGroupBuilder.
MachinePartOccurrence
¶ Returns or sets the Machine Part Occurrence This is only needed when the option assembly positioning is selected in Part Mounting Dialog and should be called before update cam setup.
-------------------------------------
Getter Method
Signature
MachinePartOccurrence()
Returns: the machine part occurrence Return type: NXOpen.Assemblies.Component
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MachinePartOccurrence(machinePart)
Parameters: machinePart ( NXOpen.Assemblies.Component
) – the machine part occurrenceNew in version NX8.0.0.
License requirements: cam_base (“CAM BASE”)
RapidFeed¶
-
MachineGroupBuilder.
RapidFeed
¶ Returns the Rapid Feed Rate
-------------------------------------
Getter Method
Signature
RapidFeed()
Returns: the rapid feed builder Return type: NXOpen.CAM.InheritableFeedBuilder
New in version NX7.5.0.
License requirements: None.
ToolChangeTime¶
-
MachineGroupBuilder.
ToolChangeTime
¶ Returns the Tool Change Time
-------------------------------------
Getter Method
Signature
ToolChangeTime()
Returns: the tool change builder Return type: NXOpen.CAM.InheritableDoubleBuilder
New in version NX7.5.0.
License requirements: None.
Method Detail¶
RemoveKinematics¶
-
MachineGroupBuilder.
RemoveKinematics
¶ Removes the machine data from the CAM setup, but does not remove the machine part component from the CAM assembly
Signature
RemoveKinematics()
New in version NX9.0.0.
License requirements: cam_base (“CAM BASE”)
RemoveMachine¶
-
MachineGroupBuilder.
RemoveMachine
¶ Removes the machine part component from the CAM assembly and removes the machine data from the CAM setup.
Signature
RemoveMachine()
New in version NX8.0.0.
License requirements: cam_base (“CAM BASE”)
UpdateCamSetup¶
-
MachineGroupBuilder.
UpdateCamSetup
¶ Adds machine model part file to the CAM part.
Creates Turret and Pocket Objects in the Operation Navigator - Machine Tool. Assign all tools to suitable pockets and displays the mounted tools if needed.
Create MCS Spindle groups in the operation navigator - geometry if _LATHE_SPINDLE component with Lathe Workplane junctions were defined in the machine kinematic model.
Signature
UpdateCamSetup(retrieveFlag, ncmctPartMountingBuilder)
Parameters: - retrieveFlag (
NXOpen.CAM.MachineGroupBuilderRetrieveToolPocketInformation
) – - ncmctPartMountingBuilder (
NXOpen.CAM.NcmctPartMountingBuilder
) –
New in version NX8.0.0.
License requirements: cam_base (“CAM BASE”)
- retrieveFlag (
UpdateToolPathTime¶
-
MachineGroupBuilder.
UpdateToolPathTime
¶ Recalculate tool path time and update the operation navigator
Signature
UpdateToolPathTime()
New in version NX7.5.0.
License requirements: cam_base (“CAM BASE”)
Validate¶
-
MachineGroupBuilder.
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.