Troubleshooting when NC file is not created, or something is missing from the NC file

Tekla Structures DSTV CNC files dstv_nc.log Troubleshooting Numbering Setup unfolding added material part add attach to part
2024
Tekla Structures
2023
Tekla Structures
2022
Tekla Structures
2021
Tekla Structures
2020
Tekla Structures
2025
Tekla Structures
Environment
Not environment-specific

This is a troubleshooting guide for situations when the NC file is not created or something is missing from the NC file.

In both cases, open the dstv_nc.log file located in the model folder and check the messages.

If the NC file is not created, the following message is usually displayed on the status bar: "NC file(s) has not been written."

NC file not created - Message "NC Settings not passed"

Check the following settings:

  • Go to the NC File Settings dialog box (File > Export > NC files > Edit) and check if the part passes the selection criteria:
    Maximum size: Length, Width and Height must be bigger than your part dimensions.
    Profile type must match the part.
    Maximum size of holes: plate thickness and hole dimeter must be larger than in your part.
    Image
    NC file settings
  • Are the NC files created in a correct folder? Check the path name in File location.
  • Is there something wrong in part marks and numbering, for example, the same prefix is used for assemblies and parts? For more information, see XS_USE_ASSEMBLY_NUMBER_FOR.
  • Is the part mark case-sensitive? Tekla Structures is able to differentiate part marks p1 and P1, but when created as nc1 files in a folder, Windows considers them as the same file and will not create the other file in the same folder.

NC file not created - Message "DSTV file not created for curved beam, ERROR: Part creation failed"

  • Is the part a curved member? NC file is not created for curved members. 

NC file not created - Message "XS_DSTV_DO_NOT_UNFOLD_POLYBEAM_PLATES is set but plate is not in a plane, unfolding NC Settings: DSTV for plates"

This message means that the polybeam creation points are not in a plane like they should be if you have set  XS_DSTV_DO_NOT_UNFOLD_POLYBEAM_PLATES to TRUE.

To check if the polybeam creation points are in a plane and to change them:

  1. Select the polybeam so that you get the handles visible.
  2. On the View tab, click Work plane > Using two points
  3. Once the command is active, select the start point of a polybeam and then the end point.
  4. Now add points to the middle handles of the polybeam, for example, using the command Edit > Points > At any Position. Otherwise, you cannot inquire coordinates from the middle points.
  5. Select the point you just created and Inquire the object.
  6. Now you can check the middle point local coordinates: one of  the local coordinates should be zero for all points.
  7. If the point local coordinate is not zero, you need to move the point with the Move special > Linear command.

AK block missing from the NC file of a bent plate - Message "Can't find intersection between solid and nc plane. Please try to adjust XS_CNC_CUT_PLANE_HEIGHT (0.3 .. 1.0)"

You may get this message when you try to create NC files for folded parts. These NC files are not correct. For example, the external contours of the part may be entirely missing from the NC file. You will notice this if you view a DXF file created from the NC file.

When the AK block is missing, do the following:

  1. Add the following line in the user.ini
    set XS_CNC_CUT_PLANE_HEIGHT=0.4
    Start with smaller values first. The internal default value is 0.3.
  2. Restart Tekla Structures.
  3. Try to create the NC file again.
  4. If you still get this error message, try a higher value.
  5. After creating the NC files without any error messages in the dstv_nc.log file, remove the advanced option from the user.ini file as this option may cause problems for some other parts.

No DSTV file created for tube with attached part - Message "ERROR: Tube profile with attached parts detected. Part 123456 will not be exported."

If you have attached a part to a tube profile or to a polybeam profile, exporting the NC file might be prevented. 

Tube profile with attached part:

Image
Tube with attached part

 

Was dit nuttig?