Bcc.ComputeToolpath()

Bcc.ComputeToolpath(ObjectName)

Bcc.ComputeToolpath(ObjectID)

Description

The function to compute a toolpath has 3 overloads to support the various methods for computing a toolpath.  This provides the capability of computing all toolpaths for a job, computing all operations in a feature, or a single operation

Parameters

  • ObjectName – the name of the feature or operation you wish to compute the toolpath


       Note: Please visit Bcc.GetSelectedCamObjName for more information on retrieving the selected objects name


  • ObjectID -  the integer ID of the feature or operation you wish to compute the toolpath


Note: Please visit Bcc.GetSelectedCamObjID for more information on retrieving the selected objects ID


Examples


-- Compute all operations of a job

Bcc.ComputeToolpath()


-- Compute the feature named "My Feature"

Bcc.ComputeToolpath("My Feature")


-- Compute the selected item in the tree

Bcc.ComputeToolpath(Bcc.GetSelectedCamObjID())