Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
When copying the default simple_drilled.hol file into hole file location which is set by the config option HOLE_PARAMETER_FILE_PATH, I get a format error once I use the hole command to create a hole.
The error is:
Format error in fastener input file : N:\AMG File\AMG CAD ROOM\Creo Library\Hole Files\simple_drilled.hol at line no: 8
The only thing I changed on the default file is PRO-VERSION to 24 from 25 because I would get a fatal crash and remove the ! to un-comment the DEFAULT_CALLOUT_FORMAT_DATA section as shown here:
HOLE_TABLE_DATA
PRO_VERSION 24
TABLE_TYPE SIMPLE_DRILLED
CALLOUT_FORMAT
DEFAULT_CALLOUT_FORMAT_DATA
HOLE_TYPE DRILLED_DEPTH CSINK CBORE EXIT_CSINK CALLOUT_FORMAT
SIMPLE_DRILLED VAR YES NO NO DRILLED HOLE &DIAMETER &VAR_DEPTH &DRILL_DEPTH
I have tried all kinds of combinations to try to figure out the format error. PLEASE HELP!!
Actually I just copied the default .hol file into my hole file directory with only changing the version and I still get the error. That must be the issue but what do I need to do to resolve it since version 25 crashes creo?
My guess is that Creo is very particular about the format of the hole file?
Here's a discussion from the past for someone doing something that looks like what you are trying:
https://community.ptc.com/t5/3D-Part-Assembly-Design/Custom-hole-file-for-drilled-holes/td-p/974432
I don't know why you feel you need to change the "PRO_VERSION" line. That seems like something you'd want to leave alone. Might be one of those values that a subroutine looks for deep in the guts of the program, and messing with it triggers a fatal error.
Thanks for the reply and the link to the discussion. I see how that would work, but would need to add every metric drill bit into the table as well. What I'm trying to do is with the simple hole command and not through the standard hole option. The limited amount of info I found tells me I can do it this way as described above, but I am obviously doing something wrong.
As for the PRO_VERSION, I wouldn't think I would need to mess with it from the default value of 25. But unless I change the value to 24 on both, the SIMPL_DRILED.hol & SIMPL_FLAT.hol text files, creo will crash.
I don't understand why PTC would have files available that don't actually work as installed.
Hmm, I'm not sure what's going on for you and I can't replicate your error.
Here are my config.pro settings related to holes:
hole_parameter_file_path C:\my_holes
always_holetable_for_std_csink yes
hole_diameter_override yes
hole_file_resolution replace_with_external
This simple_drilled.hol file was made by copying from the Creo 10.0.5.0\Common Files\text\hole to c:\my_holes and modifying:
And seems to work fine on my system:
Yeah that's crazy. I recopied the default .hol file again and made the exact modifications as you have shown. I restarted creo, opened a .prt and once I choose the hole command the notification says its loading hole charts and then crashes. If I change the PRO_VERSION to anything other than 25 it will continue but I get the FORMAT ERROR mentioned above.
At this point I've put in a call to tech support, unless someone else has any suggestions.
I will update if I get a resolution.