This API writes translation output data to a CSV file. It prompts the user for the output set they are interested in, and what file the data should be written. It then writes each nodes coordinates and the associated T1, T2 and T3 translations.


This API writes translation output data to a CSV file. It prompts the user for the output set they are interested in, and what file the data should be written. It then writes each nodes coordinates and the associated T1, T2 and T3 translations.
This was an interesting problem to solve. Essentially what was wanted was a way to apply around 500 different pressure values to a number of elements arranged in a grid pattern. It would be possible for the user to do this manually, but automating processes like this is what the API was made for. What the API requires is a three column CSV file with each row containing the centroid coordinates (x,y) and pressure value for each element. The API prompts the user to specify the file location and then asks the user to define a workplane whose orientation and origin are identical to that of the data found in the data file. The API then looks for elements whose centers correspond to what is found in the data file. The face of the element that is coplanar to the workplane is then found, and the corresponding pressure is applied to this face.
UPDATED!
We've updated the Create Load Cases from Excel API to allow loads to be applied in user defined coordinate systems. This API uses an Excel spreadsheet to create multiple load cases within an open Femap model. It is a very useful API for creating multiple load cases almost automatically.
A little basic program to export nodal location and displacements to Excel. Shows how to initialize the Excel object, create a dialog box, select nodes and then export the results to an Excel spreadsheet. Provides a lot of the foundations for effective VBA work within the Femaps API.
It is a very elegant program that uses some new features within Femap.
feCoordOnNode is used to determine the coordinate of a node within a model. The button within the .xls file will prompt the user to select a node and upon successful selection, the coordinate values will be displayed in the excel file. The .BAS file will prompt the user to select a node and upon successful selection, the coordinate will be displayed in the Messages pane within Femap.
feMeasureSurfSectionProp is used to find the properties (Area, Iyy, and Izz) of a surface. Pressing the button in the .xls file will display the values within the excel file. Running the .BAS file within Femap will display the values in the Message Pane within Femap.
This MS Excel 2007 spreadsheet has a push button that will prompt an entity selection box (for nodes) in the active session of Femap. Select the desired nodes, click OK and the IDs and coordinates will be imported to the Excel spreadsheet automatically.
This MS Excel 2007 spreadsheet has a push button that will take data from the spreadsheet and make new Nodes in Femap. The program will change node ID's from the spreadsheet if they already exist in you Femap document and update your spreadsheet with the new ID numbers.