Skip to main content
Nov 13, 2024 6:24 PM UTC
Archived

Modify/erase post regeneration relations with ModelCHECK

Related products:Creo Parametric

1. Describe the Problem

It's only possible to erase or modify the initial relations but it's not possible to modify/erase the post regeneration relations 


2. Are you using a workaround?
We create a Real Number parameter DATE_POST_REL_PRT_ACTUAL with the value 20240203.000000 (which is the date of the actual configuration) by ModelCHECK, if it is not available. In the .mcs file there are to lists which have the possible values inside ###LISTS STD_USER_LIST_FILE text/error_post_rel_prt.txt STD_USER_LIST_FILE text/error_post_rel_asm.txt These two text files are located in the text folder of the ModleCHECK configuration files. Inside the error_post_rel_prt.txt file there is only one line LIST_ERROR_POST_REL_PRT Use Mapkey uspr to update post relations The same at the error_post_rel_asm.txt LIST_ERROR_POST_REL_ASM Use Mapkey usar to update post relations In the .mcs file I have this for parts #Additional parameters for post relations check PRT_PARAMETER DATE_POST_REL_PRT_ACTUAL REAL EQ 20240203 PRT_PARAMETER ERROR_POST_REL_PRT STR NEQ LIST_ERROR_POST_REL_PRT and this in the assembly section #Additional parameters for post relations check ASM_PARAMETER DATE_POST_REL_ASM_ACTUAL REAL EQ 20240203 ASM_PARAMETER ERROR_POST_REL_ASM STR NEQ LIST_ERROR_POST_REL_ASM Additional I have a mapkey (uspr) which erases the post regeneration relations in the part and loads afterwards the actual post regeneration relations from a text file which is located in the text folder of the ModleCHECK configuration files. The same I have for assemblies (Mapkey named usar) with assembly post regeneration relations also located in the text folder of the ModleCHECK configuration files. Does the parameter DATE_POST_REL_PRT_ACTUAL not fit at parts, it will show the hint "Use Mapkey uspr to update post relations" in the ModelCHECK report until you used the mapkey uspr (I created a button for the mapkey ad stored it in the creo_parametric_customization.ui) The same I have at assemblies Does the parameter DATE_POST_REL_ASM_ACTUAL not fit at parts, it will show the hint "Use Mapkey usar to update post relations" in the ModelCHECK report until you used the mapkey usar (I created a button for the mapkey ad stored it in the creo_parametric_customization.ui) Here my mapkey for assemblies mapkey usar @MAPKEY_NAMEupdates the asm post regen relations to newest version;\ mapkey(continued) @MAPKEY_LABELupdate post regen asm rel;\ mapkey(continued) ~ Activate `main_dlg_cur` `page_Tools_control_btn` 1;\ mapkey(continued) ~ Command `ProCmdMmRels` ;~ Open `relation_dlg` `PrePostOM`;\ mapkey(continued) ~ Close `relation_dlg` `PrePostOM`;\ mapkey(continued) ~ Select `relation_dlg` `PrePostOM` 1 `PostRegen`;\ mapkey(continued) ~ Select `relation_dlg` `MenuBar1` 1 `Edit`;\ mapkey(continued) ~ Close `relation_dlg` `MenuBar1`;~ Activate `relation_dlg` `PBSelectAll`;\ mapkey(continued) ~ Select `relation_dlg` `MenuBar1` 1 `Edit`;\ mapkey(continued) ~ Close `relation_dlg` `MenuBar1`;~ Activate `relation_dlg` `PBDelete`;\ mapkey(continued) ~ Update `relation_dlg` `RelText` 0;\ mapkey(continued) ~ Select `relation_dlg` `MenuBar1` 1 `File`;\ mapkey(continued) ~ Close `relation_dlg` `MenuBar1`;~ Activate `relation_dlg` `PBRead`;\ mapkey(continued) ~ Trail `UI Desktop` `UI Desktop` `DLG_PREVIEW_POST` `file_open`;\ mapkey(continued) ~ Activate `file_open` `Pro|Library_shortcut`;\ mapkey(continued) ~ Activate `file_open` `Pro|Library_shortcut`;\ mapkey(continued) ~ Select `file_open` `Ph_list.Filelist` 1 `Modelcheck`;\ mapkey(continued) ~ Activate `file_open` `Ph_list.Filelist` 1 `Modelcheck`;\ mapkey(continued) ~ Select `file_open` `Ph_list.Filelist` 1 `config`;\ mapkey(continued) ~ Activate `file_open` `Ph_list.Filelist` 1 `config`;\ mapkey(continued) ~ Select `file_open` `Ph_list.Filelist` 1 `text`;\ mapkey(continued) ~ Activate `file_open` `Ph_list.Filelist` 1 `text`;\ mapkey(continued) ~ Select `file_open` `Ph_list.Filelist` 1 `post_regeneration_asm.txt`;\ mapkey(continued) ~ Activate `file_open` `Ph_list.Filelist` 1 `post_regeneration_asm.txt`;\ mapkey(continued) ~ Activate `relation_dlg` `PB_OK`;\ mapkey(continued) ~ Command `ProCmdRegenAuto`;\ mapkey(continued) ~ Activate `main_dlg_cur` `user_custom_page_304141424_control_btn` 1; And here my mapkey for assemblies mapkey uspr @MAPKEY_NAMEupdates the post regen relations to newest version;\ mapkey(continued) @MAPKEY_LABELupdate post regen prt rel;\ mapkey(continued) ~ Activate `main_dlg_cur` `page_Tools_control_btn` 1;\ mapkey(continued) ~ Command `ProCmdMmRels` ;~ Open `relation_dlg` `PrePostOM`;\ mapkey(continued) ~ Close `relation_dlg` `PrePostOM`;\ mapkey(continued) ~ Select `relation_dlg` `PrePostOM` 1 `PostRegen`;\ mapkey(continued) ~ Select `relation_dlg` `MenuBar1` 1 `Edit`;\ mapkey(continued) ~ Close `relation_dlg` `MenuBar1`;~ Activate `relation_dlg` `PBSelectAll`;\ mapkey(continued) ~ Select `relation_dlg` `MenuBar1` 1 `Edit`;\ mapkey(continued) ~ Close `relation_dlg` `MenuBar1`;~ Activate `relation_dlg` `PBDelete`;\ mapkey(continued) ~ Update `relation_dlg` `RelText` 0;\ mapkey(continued) ~ Select `relation_dlg` `MenuBar1` 1 `File`;\ mapkey(continued) ~ Close `relation_dlg` `MenuBar1`;~ Activate `relation_dlg` `PBRead`;\ mapkey(continued) ~ Trail `UI Desktop` `UI Desktop` `DLG_PREVIEW_POST` `file_open`;\ mapkey(continued) ~ Activate `file_open` `Pro|Library_shortcut`;\ mapkey(continued) ~ Activate `file_open` `Pro|Library_shortcut`;\ mapkey(continued) ~ Select `file_open` `Ph_list.Filelist` 1 `Modelcheck`;\ mapkey(continued) ~ Activate `file_open` `Ph_list.Filelist` 1 `Modelcheck`;\ mapkey(continued) ~ Select `file_open` `Ph_list.Filelist` 1 `config`;\ mapkey(continued) ~ Activate `file_open` `Ph_list.Filelist` 1 `config`;\ mapkey(continued) ~ Select `file_open` `Ph_list.Filelist` 1 `text`;\ mapkey(continued) ~ Activate `file_open` `Ph_list.Filelist` 1 `text`;\ mapkey(continued) ~ Select `file_open` `Ph_list.Filelist` 1 `post_regeneration_prt.txt`;\ mapkey(continued) ~ Activate `file_open` `Ph_list.Filelist` 1 `post_regeneration_prt.txt`;\ mapkey(continued) ~ Activate `relation_dlg` `PB_OK`;\ mapkey(continued) ~ Command `ProCmdRegenPart`;\ mapkey(continued) ~ Activate `main_dlg_cur` `user_custom_page_304141424_control_btn` 1; Important! I have my modelcheck configuration in a folder called Modelcheck which is located in the creo Library! In the config.pro there is the line modelcheck_dir $LIBPATH\Modelcheck\ In this folder there is the config folder with all subfolders which contains the ModelCHECK configuration files (complete config folder copied from path C:\Program Files\PTC\Creo 8.0.9.0\Common Files\modchk\text\german to Library\Modelcheck and modified to the company rules) This works perfect as workaround

3. What is the use case for your organization?
Important relations for mass/volume calculations are located in the post regeneration relations and should not be modified by the user

4. What impact does this problem currently have on your organization?
No big impact because we use the workaround but this is complicated to set up

2 replies

Community Manager
Nov 14, 2024 12:42 PM UTC
Status changed to: Clarification Needed

Thank you @Alex_Zaeh for publishing your idea. However, we encourage you to please consider adding a coupe of screenshots to better visualize your idea and, if needed, some more context. You may simply add a comment to your idea. The more details and context you give to document your idea, the better. Think about ways to educate and convince other Community members to support your idea and present your case to the product management team for consideration.

Please let us know within the next two weeks.

Additionally, I invite you to check out this topic where PTC executives explain product managers' approach to customer ideas and input for product roadmaps.

Please see examples of well-documented ideas:

https://community.ptc.com/t5/Creo-Parametric-Ideas/Make-Shrinkwrap-quality-more-scalable-to-data-size-complexity/idi-p/810192 

https://community.ptc.com/t5/Creo-Parametric-Ideas/Option-to-Import-STEP-file-as-Inseparable-Assembly-by-Default/idi-p/812924 

https://community.ptc.com/t5/Creo-Parametric-Ideas/Eztol-Rename-action-not-synchronous-in-Eztol/idi-p/828000 

Community Manager
Nov 29, 2024 9:36 AM UTC
Status changed to: Archived

Hello,
We are following up on our request for additional information on your idea. In the absence of further comments from you, we are archiving your idea. You still have the option to post a new idea with all the details required.
Thank you.