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).
Did you manage to resolve your msg 1000034 traceback?
If not, maybe you could use an alternative strategy which is to not create the duplicate points in the first place? It's difficult to know the logic behind what you are doing but a couple of things that might be of interest ( apologies if you already know):
1)you are creating points from nodes and then using the points to make curves, I think?
why bother to make the points, you can use the nodes to make the curves:
if you do this then Patran will create a point for you on the node if there isn't one already, or use the existing point at the node. This would avoid creating the duplicates and any message issue.
2) you could use "#" to indicate the next available ID - and use the created output id list (final argument) if you need to keep the label of the one that was created, your f08_lst_crt_pnt and f08_lst_crt_crv virtual strings.