I use overridemessage to create a point on an already existing point like below:
ui_override_message(1000034, "YESTOALL")
I have this situation in my routine in several places and it Works well. The following is a part of the session file written by patran during my pcl runs:
$# Point 67 already exists at the specified location to create the next
$# Point. Do you wish to create a duplicate Point?
$? YESTOALL 1000034
$# 1 Point created: Point 209
But at some point i recieve the following error:
$# Point 71 already exists at the specified location to create the next
$# Point. Do you wish to create a duplicate Point?
$? YESTOALL 1000034
$# (PCL) Internal unknown opcode
$# Extra information: [ 201 ]
$# Call traceback...
$# Function UIL_MESSAGE.GETRESPONSENUMBER, Line Number 2111
$# Function UIL_MESSAGE.MANAGE, Line Number 1992
$# Function ASM_CONST_GRID_XYZ
$# Function BFF_CLS_FUN_050_MSH.BFF_MSH_CRT_TRA_MSH, Line Number 8288
$# Function BFF_MEN_011_FRM_042.FUN_BUT_ACT_APP, Line Number 1035
$# Execution aborted
The code for what I receive the error is the 1st of the 3 lines below:
You might try using just "YES" for override. Maybe ui_answer_message(1000034, "YES") might work too (might need to call it for each point creation (just put it before the asm cmd).
You might try using just "YES" for override. Maybe ui_answer_message(1000034, "YES") might work too (might need to call it for each point creation (just put it before the asm cmd).