XANSYS Message: 41101 [Go back to message list]
[bookmark on del.icio.us]
No rating yet
Rate item:

Subject: Re: [APDL] *vread with mixed character/number array.
Author: Joe Metrisin
Date: 2002-08-26 10:39:00

John,

Your first pass suggestion will fill my needs nicely for now. It seems that
there is alot of interest from others for *VREAD enhancements. John
Crawford's suggestions seem very useful too.

I'll add my name to the list of people who really appreciate your efforts to
improve APDL. I can't build models without it!

Joe Metrisin
Florida Turbine Technologies, Inc.

Date: Mon, 26 Aug 2002 07:56:40 -0400
From: John Swanson
Subject: RE: Re: [APDL] *vread with mixed character/number array.

How about for the first pass:
1. Ignore blank lines
2. Ignore all characters from ! to end of line
a. If ! is in column 1, treat as blank line (ignore)
3. Ignore lines which have invalid data in any numeric field
4. Set _RETURN to the last read line number
This would occur it the number of items to be read per line is entered
in field 11 (the field after nskip).

I am also looking for adding to the *GET,Par,FILE the
ability to find the next line in a file containing a (up to 32 char)
string. This might return the first 32 characters of the line
containing the string, and set _RETURN to the line which contains
the string. This would facilitate finding data in a file.

A second phase might be to add a "include" set of characters
in field 12 and a "ignore" set of characters in field 13, where
include and ignore would be based on the character in column 1.
Is there anyone out there other than Bob who would be interested
in this?

John Swanson
Swanson Analysis Services, Inc.

-----Original Message-----
From: Joe Metrisin [mailto:jmetrisin@t...]
Sent: Monday, August 26, 2002 7:04 AM
To: 'xansys@yahoogroups.com'
Subject: [xansys] Re: [APDL] *vread with mixed character/number array.

Hi John,

I think as a general case, it would be nice if ANSYS could read a line up to

128 characters and ignore lines with characters in columns that are supposed

to contain numbers.

Bob Weathers suggestion is more general, and would fit my needs too if it
could be done.

Regards,

Joe Metrisin
Florida Turbine Technologies, Inc.

Posts possibly associated with message #41101AuthorDateScore
40991[APDL] *vread with mixed character/number array.Joe Metrisin2002/08/22 
40992Re: [APDL] *vread with mixed character/number array.Dave Conover2002/08/22 
40993Re: [APDL] *vread with mixed character/number array.Peter Frei2002/08/22 
40994Re: [APDL] *vread with mixed character/number array.Joe Metrisin2002/08/22 
40995Re: [APDL] *vread with mixed character/number array.Ashok2002/08/22 
40996Re: [APDL] *vread with mixed character/number array.Gordon May2002/08/22 
40998Re: [APDL] *vread with mixed character/number array.Peter Frei2002/08/22 
40999Re: [APDL] *vread with mixed character/number array.Ian Prentice2002/08/22 
41002Re: [APDL] *vread with mixed character/number array.Don Shaffer2002/08/22 
41011Re: [APDL] *vread with mixed character/number array.Joe Metrisin2002/08/22 
41013Re: [APDL] *vread with mixed character/number array.John Swanson2002/08/22 
41077Re: [APDL] *vread with mixed character/number array.Joe Metrisin2002/08/26 
41079Re: [APDL] *vread with mixed character/number array.John Swanson2002/08/26 
41080Re: [APDL] *vread with mixed character/number array.Ashok2002/08/26 
41083Re: [APDL] *vread with mixed character/number array.John Crawford2002/08/26 
41084Re: [APDL] *vread with mixed character/number array.Bob Weathers2002/08/26 
41086Re: [APDL] *vread with mixed character/number array.Ashok2002/08/26 
41093Re: [APDL] *vread with mixed character/number array.John Crawford2002/08/26 
41101Re: [APDL] *vread with mixed character/number array.Joe Metrisin2002/08/26 
41103Re: [APDL] *vread with mixed character/number array.Eric Miller2002/08/265
41106Re: [APDL] *vread with mixed character/number array.Fernand Thomassy2002/08/26 
41110Re: [APDL] *vread with mixed character/number array.Eric Miller2002/08/26 
41112Re: [APDL] *vread with mixed character/number array.Dan Bohlen2002/08/26