Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Good text editor for Nastran Deck? 1

Status
Not open for further replies.

pcomp

Mechanical
Jan 15, 2007
14
0
0
US
Appreciate, if some one recomends good text editors (freeware) for Nastran deck. I had one good flexible text editor, that highlights all nastran keywords and wors well with huge text files. But I forget the name now. If any one has one, please recommed me.
 
Replies continue below

Recommended for you

UltraEdit. Works great on large files; very fast. Very good copy/cut/paste - can even select a block of text (columns x rows) rather than whole rows. Well worth the cost.
 
Download cygwin (free), then you can use Nedit. Cygwin is great for many other reasons too... Recommend it.

awk, sed, Perl etc.



Live Long and Prosper !
 
Hi 39minuteman,

I am a naval engineer new user of Nastran.
I installed notepad++. Can you send me the Nastran highlighting scheme for it, please?

Thanx
 
crimson editor, and editpad, are both free stable and powerful text teditors for windows, crimson editor being my preferred one. winmerge or csdiff are good for doing diffs on decks, winmerge is prettier, csdiff will create a machine readable differences file.



Cheers

Greg Locock

SIG:please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
I use PFE (Programmer's File Editor), it is very simple and intuitive to use. You can use create and run macros very easily. The disadvantage is the absense of a color scheme, or the capability of select columns... this make me sometimes use the crimson ... but indeed I always have used the PFE... I recommend both of FREEWARE programs!

1st - PFE
<2nd - Crimson
<
have moderate fun
Celso
 
Hi Onda,

if tried your highlighting scheme, but in my case it doesn't work with the current version of notepad++ (it always breaks down).
@Mario: Is it working for you?

I'm searching for a scheme which is able to highlight every 8 columns of the .bdf file, so that you can easily read through the bulk entries. It's really was really enoying the first time with the windows editor.

Thanks in advance,
Heiko
 
Hi Paul,

I'm using the current 5.6.8 version of notpad++. There you can usally go on "setup" ("Einstellungen" in the german version), then click "import" and "themes". There you select the file. Afterwards you load this theme in "setup" -> "style".
But I've to admitt it doesn't work in my case. If anyone did manage to use the style-scheme....

Regards
 
Hi Paul,
I've read a lot of your interesting posts on VPD community.
In my computer the XML file is in the installation directory of notepad++ : C:\Program Files (x86)\Notepad++. (OS XP X64)
To keep the file in that location, during the installation you should check the box with the following text: "Don’t use %APPDATA%"


Onda
 
Hi,
if reinstalled it the way you recommend: Now it worked. Everything looks very eyecatching except the 8 letters whide columns:

BEGIN BULK
$ Direct Text Input for Bulk Data
PARAM POST 0
PARAM PRTMAXIM YES
$ Elements and Element Properties for region : pshell.87967217
PSHELL 87967217 1 .7
$ Pset: "pshell.87967217" will be imported as: "pshell.87967217"
CQUAD4 153411028796721715443877 3007 2975 15443894 0.
CQUAD4 1534110387967217 2975 2946 1544389115443894 0.
CQUAD4 153411048796721715443878154438771544389415443895 0.
CQUAD4 153411058796721715443894154438911544389015443895 0.
CQUAD4 153411068796721715443879154438781544389515443896 0.
CQUAD4 153411078796721715443889154438961544389515443890 0.
CQUAD4 153411088796721715443880154438791544389615443897 0.
CQUAD4 153411098796721715443896154438891544388815443897 0.
CQUAD4 1534214687967217 3020 3007 1544387715443911 0.
CQUAD4 153421478796721715443878154439121544391115443877 0.
CQUAD4 153421488796721715443912154438781544387915443913 0.
CQUAD4 153421498796721715443913154438791544388015443914 0.

Isn't there someone having the same problem that you can't see to which field the entries belong to?
 
@ Nimbusbs

You could set one vertical line to check a field length.
to do this go under Configuration>Preferences>Editing>Vertical edge setting
Check the box for Show vertical edge
set a number multiplier of 8
 
Thank you Onda! Another method I thought about is to let Patran write the .bdf-file with entries sorted by comma:

CQUAD4,15342149,87967217,15443913,15443879,15443880,15443914, 0.

Nastran would except that. But I didn't find an option yet...
 
Status
Not open for further replies.
Back
Top