Importing NC Data

You can import an existing NC data file into a Manufacturing Program. This creates an ordered sequence of Machining Operations in the Manufacturing Program from information contained in the imported file.


Before you begin:
  • The example belows refers to an APT file. The procedure is the same for CLF and NCCode.
  • To import a NCCode file, you must specify a post-processor in Tools > Options > Machining > Output.
Related Topics
Syntaxes Interpreted by APT Import
NC Data Import to Support Legacy Data
  1. From any product:

    1. Select Start > Machining > Machine Programming.

      A PPR context with an empty Machining Cell is created. An empty Activities Process Tree opens automatically.

    2. Create a generic machine or assign a machine from the database.

      As soon as a machine is assigned to the Machining Cell, a Part Operation and a Manufacturing Program are created in the Activities Process Tree.

    3. Alternatively, open an existing Machining Process or PPR context .

      By default, the Activities Process Tree opens automatically.

  2. Click Utilities.

    1. Click Import APT, Clfile, or NC code in the Utilities toolbar.


      • If you select the Manufacturing Program, the file is imported at the start of theManufacturing Program.
      • If you select a Machining Operation, the file is imported just after this Machining Operation.
      • If no activity is selected, the file is imported at the end of the last selected Manufacturing Program.

    2. or right-click an activity in the Activities Process Tree and select Import APT, Clfile, or NC code in the contextual menu.


      • If you select the Manufacturing Program, the file is imported at the start of the Manufacturing Program.
      • If you select a Machining Operation, the file is imported just after this Machining Operation.

    The NC File Import dialog box appears

  3. In the NC data type list, select APT then click Input File.

    The Select NC data file dialog box appears.



  4. Navigate to the desired APT file and click Open.

    The NC File Import dialog box is updated with the selected input file.



  5. Click OK to import this file in the Manufacturing Program.

    The Manufacturing Program is updated with the machining information of the imported file.




    • NC data objects appear in the Manufacturing Program for each Tool Change in the imported file.
    • A tool path is associated to each computed APT Import entity.
    • All necessary PP instructions are added to the Manufacturing Program. Typical content is shown below:
      • Post-Processor Instruction.1:

        $$ --------------------------------------------------- 
        $$ Generated on Tuesday, March 07, 2006 3:56:16 PM 
        $$ CATIA APT VERSION 1.0 
        $$ --------------------------------------------------- 
        $$ Manufacturing Program.1 
        $$ Part Operation.1
        

      • Post-Processor Instruction.2:

        PARTNO PART TO BE MACHINED 
        COOLNT/ON 
        CUTCOM/OFF
        

      • Post-Processor Instruction.3:

        $$ Start generation of : Tool Change.1
        

      • Post-Processor Instruction.4:

        TOOLNO/1, 10.000000 
        TPRINT/T1 End Mill D 10 
        LOADTL/1 
        $$ End of generation of : Tool Change.1
        


    • All tools referenced in the imported NC file appear in the Resources List.

  6. Right-click an APT Import entity in the Activities Process Tree to access a contextual menu to replay the APT source.

    The machining time displayed after replaying an imported APT source may not be the exact value. This is because there is no distinction between machining and transition feedrates in the APT source.

    For an imported APT source, machining time is computed by taking the smallest feedrate value as machining feedrate and bigger feedrate values as transition feedrates. If this is the case for the APT source under consideration, the machining time can be correct.

  7. Right-click a Tool Change resulting from the import to replace the associated tool.

  8. Double-click an APT Import entity in the Activities Process Tree to rename or assign a comment to the APT source file in the dialog box that appears.