×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

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

Jobs

Change Patran default nastran input offset

Change Patran default nastran input offset

Change Patran default nastran input offset

(OP)
Hello,

I am looking for a way to change the default setting of Import/MD Nastran Input Options/Define Offsets/Offset from the value "Auto" to "None" or "0".

I searched the web and the only helpful bit a read was about changing the environment parameter: db_import_auto_offset in the following site:

http://www.mscsoftware.com/training_videos/patran/....

I searched about what environment parameters are and found something called Windows environment variables. I do not know if this is the same thing. In case it was the same thing, I do not know how to implement it since the environment variables require a value. I tried creating a new variable with name "db_import_auto_offset" and value "false" or "None" but it is not working.

I would really appreciate ur help,

Thanks,

Jose

RE: Change Patran default nastran input offset

Hi Jose,
according to Patran's help, if you want to change the value of an environment variable you just have to add a command line to this file : site_setup (located in folder C:\MSC.Software\Patran_x64\2008_r2 )

In your case, the command would be :
setEnv db_import_auto_offset 0

The only issue is that you have to know what variable to modify. Personally, I do not think this db_import_auto_offset variable is used by the ' Import/MD Nastran Input Options/Define Offsets/Offset' command, as it is not working...

In my experience, every default values are entered in Patran files, never in windows environment variables, I hope I helped a bit.
If you find a solution, thanks for posting.

Fred

PS : Apparently, this file is referenced when any MSC/PATRAN command is invoked, so no need to restart Patran after a modification.

RE: Change Patran default nastran input offset

(OP)
Hi aznar,

Thank you so much for your reply! I tried what you said and, as you said, it is not working.

I just figured out from the link I posted that the command db_import_auto_offset is used to disable auto offset when importing a Patran database.

Since I want to aply this when importing an MD Nastran file, do you have any clue what should I replace "db" in the variable for?

I tried it replacing "db" by: "nastran", "nas", "nstr" and "mdn". hahaha none of them worked... :( Are you sure the value given should be "0" ??


Another question, do you know the difference between the files "site_setup" and "site_setup.pm", both located in the same directory?

Thank you very very much,

Jose

RE: Change Patran default nastran input offset

Hi Jose,
I have bad news for you. It is not possible to do what you asked unfortunately. Here is the reply I got from MSC :
I’m afraid there isn’t a way to change the default setting on that form. If it’s any help, remember that you can select the whole column by clicking on its label, and then blank all the cells at once.

could you give a list of all the environment variables used by Patran 2012 please

Most of the environment variables used by Patran are documented in the Installation and Operations Guide, which you should have access to in the Patran documentation. The variables appear in chapter 4, “User Environment”.


Fred

RE: Change Patran default nastran input offset

(OP)
Thanks thejackk for your reply!! ;)

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!


Resources