Several people contact me to share any info on creating hol files for standard counterbore and countersink sizes. Attached are the files I ended up using for this purpose. They are really very similar to the normal hole files with some modified values (CB depth and CS diameter mainly), the real difference is the note itself. I did end up using only (2) files as the sizes for counterbores and countersinks we useis the same for unf and unc screws, and the notes created refer only to sizes and not to the intended screw to be used.
After creating these files I did a mapkey to create the hole feature which sets the hole defaults to the required picks (hole; std;clearance; CB; etc). Then did config.win mod to add icons under the std hole icon for these features. The mapkeys and icons are shown below. Overall this process works well.
The notes created are parametric, even if you set (hole_diam_override yes) and modify values (CB diam or depth for example) which is how I have things set.
Regards
Bill
!
mapkey cs @MAPKEY_NAMECreate a countersink hole ;\
mapkey(continued) @MAPKEY_LABELCountersink hole;~ Command `ProCmdHole` ;\
mapkey(continued) ~ Select `main_dlg_cur` `maindashInst0.ui_str_skt_std_type_rg`1 `Std`;\
mapkey(continued) ~ Activate `main_dlg_cur` `maindashInst0.ui_hle_add_tap_but`0 ;\
mapkey(continued) ~ Select `main_dlg_cur` `maindashInst0.ui_nonthrd_hole_ty_rg`1 `ClrStd`;\
mapkey(continued) ~ Activate `main_dlg_cur` `maindashInst0.hle_depth_tb` \
mapkey(continued) `maindashInst0.Std_HoleDepThruAll`;\
mapkey(continued) ~ Activate `main_dlg_cur` `maindashInst0.Std_HoleDepThruAll`1 ;\
mapkey(continued) ~ Activate `main_dlg_cur` `maindashInst0.ui_hle_add_csink_cbut`1 ;\
mapkey(continued) ~ Open `main_dlg_cur` `maindashInst0.hle_thrdseries_omnu`;\
mapkey(continued) ~ Close `main_dlg_cur` `maindashInst0.hle_thrdseries_omnu`;\
mapkey(continued) ~ Select `main_dlg_cur` `maindashInst0.hle_thrdseries_omnu`1 `UNF_CS`;\
mapkey(continued) ~ FocusOut `main_dlg_cur` `maindashInst0.hle_thrdseries_omnu`;\
mapkey(continued) ~ Open `main_dlg_cur` `maindashInst0.hle_screwsize_omnu`;\
mapkey(continued) ~ Close `main_dlg_cur` `maindashInst0.hle_screwsize_omnu`;\
mapkey(continued) ~ Select `main_dlg_cur` `maindashInst0.hle_screwsize_omnu`1 `1/4-28`;\
mapkey(continued) ~ FocusOut `main_dlg_cur` `maindashInst0.hle_screwsize_omnu`;\
mapkey(continued) ~ Activate `main_dlg_cur` `chkbn.std_hle_layout.0`1 ;\
mapkey(continued) ~ FocusOut `std_hle_layout.0.0` `PH.hle_csinkangle_mip_omnu`;\
mapkey(continued) ~ Open `std_hle_layout.0.0` `PH.hle_fittype_omnu`;\
mapkey(continued) ~ Close `std_hle_layout.0.0` `PH.hle_fittype_omnu`;\
mapkey(continued) ~ Select `std_hle_layout.0.0` `PH.hle_fittype_omnu`1 `Free Fit`;\
mapkey(continued) ~ Activate `main_dlg_cur` `chkbn.hole_fb_plcmnt_page.0`1;
!
mapkey cb @MAPKEY_NAMECreate a counterbore hole ;\
mapkey(continued) @MAPKEY_LABELCounterbore hole;~ Command `ProCmdHole` ;\
mapkey(continued) ~ Select `main_dlg_cur` `maindashInst0.ui_str_skt_std_type_rg`1 `Std`;\
mapkey(continued) ~ Activate `main_dlg_cur` `maindashInst0.ui_hle_add_tap_but`0 ;\
mapkey(continued) ~ Select `main_dlg_cur` `maindashInst0.ui_nonthrd_hole_ty_rg`1 `ClrStd`;\
mapkey(continued) ~ Activate `main_dlg_cur` `maindashInst0.hle_depth_tb` \
mapkey(continued) `maindashInst0.Std_HoleDepThruAll`;\
mapkey(continued) ~ Activate `main_dlg_cur` `maindashInst0.Std_HoleDepThruAll`1 ;\
mapkey(continued) ~ Activate `main_dlg_cur` `maindashInst0.ui_hle_add_cbore_cbut`1 ;\
mapkey(continued) ~ Activate `main_dlg_cur` `chkbn.std_hle_layout.0`1 ;\
mapkey(continued) ~ FocusOut `std_hle_layout.0.0` `PH.hle_cboredia_mip_omnu`;\
mapkey(continued) ~ Open `std_hle_layout.0.0` `PH.hle_fittype_omnu`;\
mapkey(continued) ~ Close `std_hle_layout.0.0` `PH.hle_fittype_omnu`;\
mapkey(continued) ~ Select `std_hle_layout.0.0` `PH.hle_fittype_omnu`1 `Free Fit`;\
mapkey(continued) ~ Open `main_dlg_cur` `maindashInst0.hle_thrdseries_omnu`;\
mapkey(continued) ~ Close `main_dlg_cur` `maindashInst0.hle_thrdseries_omnu`;\
mapkey(continued) ~ Select `main_dlg_cur` `maindashInst0.hle_thrdseries_omnu`1 `UNF_CB`;\
mapkey(continued) ~ FocusOut `main_dlg_cur` `maindashInst0.hle_thrdseries_omnu`;\
mapkey(continued) ~ Open `main_dlg_cur` `maindashInst0.hle_screwsize_omnu`;\
mapkey(continued) ~ Close `main_dlg_cur` `maindashInst0.hle_screwsize_omnu`;\
mapkey(continued) ~ Select `main_dlg_cur` `maindashInst0.hle_screwsize_omnu`1 `1/4-28`;\
mapkey(continued) ~ FocusOut `main_dlg_cur` `maindashInst0.hle_screwsize_omnu`;\
mapkey(continued) ~ Activate `main_dlg_cur` `chkbn.hole_fb_plcmnt_page.0`1;
!
mapkey dowel @MAPKEY_NAMECreate std size dowel hole;@MAPKEY_LABELDowel hole;\
mapkey(continued) ~ Command `ProCmdUserDefined` ;\
mapkey(continued) ~ Trail `UI Desktop` `UI Desktop` `DLG_PREVIEW_POST` `file_open`;\
mapkey(continued) ~ Select `file_open` `Ph_list.Filelist`1 `reamed_holes`;\
mapkey(continued) ~ Select `file_open` `Ph_list.Filelist`1 `reamed_holes`;\
mapkey(continued) ~ Activate `file_open` `Ph_list.Filelist`1 `reamed_holes`;\
mapkey(continued) @MANUAL_PAUSESelect hole size and click resume;~ Activate `file_open` `Open`;\
mapkey(continued) ~ Activate `udf_place_insert_dialog` `ref_mapping_chk_but`0 ;\
mapkey(continued) ~ Activate `udf_place_insert_dialog` `ok_but`;\
mapkey(continued) ~ Activate `udf_place_scale_dialog` `ok_but`;\
mapkey(continued) ~ Activate `main_dlg_cur` `chkbn.hole_fb_plcmnt_page.0`1;
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.