Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Femap API NASTRAN File Format

Status
Not open for further replies.

trough57

Aerospace
Joined
May 9, 2005
Messages
5
Location
US
I have an API provided by Siemens that writes out NASTRAN .bdf files from groups. However, it writes everything out in the large format. How can I modify the API to write out in the small format or is it a setting in Femap? When I export an analysis deck w/o using the API (File -> Export -> Analysis Model) I get the small format. The API is attached.

 
 https://files.engineering.com/getfile.aspx?folder=f9ee8917-67b3-4b46-84f7-0d2807fde2a5&file=Export_BDFs_from_Groups.BAS.txt
Hello trough57,

in that API script file, you can see such code line "aSet.NasBulkLargeField = 3 'Write Large Field"
you can find this code in lines #235 and #296 of your file.
Instead of "= 3" put "= 0"
- the value "0" corresponds to a Small field format.
then save this script and run it again



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top