Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session file - Automatically respond to popup warning

Status
Not open for further replies.

tomsing

Aerospace
May 19, 2010
52
Say I have a session file that looks like this:

Code:
STRING asm_create_grid_xyz_created_ids[VIRTUAL]
asm_const_grid_xyz( "1", "[0 0 0]", "Coord 0", asm_create_grid_xyz_created_ids )
asm_const_grid_xyz( "2", "[0 0 0]", "Coord 0", asm_create_grid_xyz_created_ids )

I'm going to get a message,

Code:
$# Question in application SGM by application Geometry
$#     Point 4702140 already exists at the specified location to create the next Point. Do you wish to create a duplicate Point?

to which I'd like to answer Yes. Is there a way to do that in the session file? Or to suppress the warning altogether? I know that if I run from a command line, I can use something like

patran -sfp test.ses -ans yes

But I'm looking for a way to do this through the normal Patran interface.

Thanks in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor