Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Good text editor for Nastran Deck?

Good text editor for Nastran Deck?

Good text editor for Nastran Deck?

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.

RE: Good text editor for Nastran Deck?

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.

RE: Good text editor for Nastran Deck?

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 !

RE: Good text editor for Nastran Deck?

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?


RE: Good text editor for Nastran Deck?

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.



Greg Locock

SIG:Please see FAQ731-376: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.

RE: Good text editor for Nastran Deck?

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

RE: Good text editor for Nastran Deck?

I use GNU Emacs v 23.1.  Has support for NASTRAN mode.

RE: Good text editor for Nastran Deck?

can anyone send me Notepad++ highlight scheme for Nastran, please?

RE: Good text editor for Nastran Deck?

Hi Mario, I have done a syntax highlighting starting from the ultraedit syntax file. I believe there is no copyright on the syntax file and we can use for other text editor. If I'm wrong, please remove the post!

I attach the file here. let me know if is good for you.

RE: Good text editor for Nastran Deck?

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,

RE: Good text editor for Nastran Deck?

I would like to try out the notepad++ style sheets, but don't know where to place that file.  Can anyone tell me where to place the .xml file?

RE: Good text editor for Nastran Deck?

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....


RE: Good text editor for Nastran Deck?

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%"


RE: Good text editor for Nastran Deck?

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

$ Direct Text Input for Bulk Data
PARAM    POST    0
$ 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?

RE: Good text editor for Nastran Deck?

@ 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

RE: Good text editor for Nastran Deck?

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...

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close