Quantcast
Channel: PTC Community : Popular Discussions - Creo Elements/Direct
Viewing all articles
Browse latest Browse all 2965

Problems with Keep & Repeat

$
0
0

I'm having a bit of trouble upgrading from 18.1 to 19.0 v3 while keeping my customization.The only problems I'm having are the functions FUI_MOD_KEEP and FUI_MOD_REPEAT. I have both applications running off of the same  meDir/customize.m, meDir/StartUp.m, meDir/fluientui/layout.xml and customization folder. but for some reason the check boxes don't work the same.

 

===Example===     

Keep + move_2pts

===Version 18.1 Trace ===

FUI_MOD_KEEP

MODIFY Wui_keep_repeat 'MOVE TWO_PTS'

INQ_ENV 10

LET Pelook ( INQ 6 ) 4

IF ( Pelook 4 = 4 ) 1

LET Chekeep ( FUI_MODIFY_KEEP ) 1

LET Cherepeat ( FUI_MODIFY_REPEAT ) 0

ELSE Assistance

LET Dummy 0

IF ( UA_GET_COPILOT ) 1 ASSIST

END_IF

IF ( ( Chekeep 1 ) AND ( Cherepeat 0 ) ) 0 ( ( Chekeep 1 ) AND ( NOT

  Cherepeat 0 ) ) 1 COPY

ELSE_IF

EXECUTE_STRING Action_string 'MOVE TWO_PTS' MOVE TWO_PTS

 

===Version 19.0 Trace===

FUI_MOD_KEEP

MODIFY Wui_keep_repeat 'MOVE TWO_PTS'

TRAP_ERROR

INQ_TOOLBAR_ITEM 'che_ModKeep'  { display error occurred Toolbar Item 'che_ModKeep' doesn't exist }

 

LET Chekeep ( ( NOT CHECK_ERROR ) AND ( ( INQ 15 ) = 1 ) ) 0

TRAP_ERROR

INQ_TOOLBAR_ITEM 'che_Repeat'  { display error occurred Toolbar Item 'che_Repeat' doesn't exist }

 

LET Cherepeat ( ( NOT CHECK_ERROR ) AND ( ( INQ 15 ) = 1 ) ) 0 Assistance

LET Dummy 0

IF ( UA_GET_COPILOT ) 1 ASSIST

END_IF

IF ( ( Chekeep 0 ) AND ( Cherepeat 0 ) ) 0 ( ( Chekeep 0 ) AND ( NOT

  Cherepeat 0 ) ) 0 ( ( NOT Chekeep 0 ) AND ( Cherepeat 0 ) ) 0 ( ( NOT

  Chekeep 0 ) AND ( NOT Cherepeat 0 ) ) 1 DEL_OLD

END_IF

EXECUTE_STRING Action_string 'MOVE TWO_PTS' MOVE TWO_PTS

 

============================================

Any Ideas how to correct this?


Viewing all articles
Browse latest Browse all 2965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>