Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
This page contains frequently asked questions related to import:

...

On this page:

Table of Contents

Importing Joint Coordinates in CVS or TXT Format

Expanded Question: I would like to import a .csv or .txt points file into SAP - one of the points represents the start point of a member, the next represents the end point. What is the best way to do this? I cannot find an import command that allows the importing of a plain comma delimited text file. The file is generated from another program and I would like to analyze structure with SAP.

Answer: The best approach to import the joints coordinates would be to use Interactive database editing in combination with Excel spreadsheet. The steps involved are outlined below:

  • Create new model.
  • Go to "Edit > Interactive Database Editing" and check "Expose All Input Tables" on the right side of the form.
  • Now select table "Joint Coordinates" located in "MODEL DEFINITION > Connectivity Data > Joint Coordinates > Table: Joint Coordinates"
  • Click OK, this will open "Interactive Database Editing - Joint Coordinates" form. Click "To Excel" button on the right side of the form.
  • Cut and paste the content of the CVS or TXT file into Excel and place the data into their corresponding columns.
  • Return back to the "Interactive Database Editing - Joint Coordinates" form and click "From Excel" button. This will transfer the data from the Excel spreadsheet to the SAP2000 form.
  • Click "Apply to Model" and "Done" buttons to update the SAP2000 model.

Can I open my file in a lower version of the program?

While the input files are not backwards compatible due to the changes that may be introduced to the database tables in higher versions of the program, you may be able to use the following manipulation to import your model to a lower version of the program:

  • Export your file as S2K text file.
  • Modify the version of the file, say from 12.0.2 to 12.0.0, in the Program Control table.
  • Open the lower version of the program and import the text file created in the previous step.

This approach should generally work if the two versions are "close enough" to each other, unless there was a change of database schema that directly affects the data stored in the file.

In any case, it is always good idea to check the import log for any warning and error messages. I would also recommend to carefully review the model once imported to the lower version.

How can I validate IFC file to make sure that it is valid prior to importing it to CSI programs?

You can try to first open the IFC file in one of the IFC viewers listed at the iai-tech.org website. We had a good experience with using the free CAD-DDS viewer.

See Also

...



{on-this-page}

h1. Importing Joint Coordinates in CVS or TXT Format

*Expanded Question:* I would like to import a .csv or .txt points file into SAP - one of the points represents the start point of a member, the next represents the end point. What is the best way to do this? I cannot find an import command that allows the importing of a  plain comma delimited text file. The file is generated from another program and I would like to analyze structure with SAP.

*Answer:* The best approach to import the joints coordinates would be to use [Interactive database editing] in combination with Excel spreadsheet. The steps involved are outlined below:

* Create new model.
* Go to "Edit > Interactive Database Editing" and check "Expose All Input Tables" on the right side of the form.
* Now select table "Joint Coordinates" located in "MODEL DEFINITION > Connectivity Data > Joint Coordinates > Table: Joint Coordinates"
* Click OK, this will open "Interactive Database Editing - Joint Coordinates" form. Click "To Excel" button on the right side of the form.
* Cut and paste the content of the CVS or TXT file into Excel and place the data into their corresponding columns.
* Return back to the "Interactive Database Editing - Joint Coordinates" form and click "From Excel" button. This will transfer the data from the Excel spreadsheet to the SAP2000 form.
* Click "Apply to Model" and "Done" buttons to update the SAP2000 model.

h1. Can I open my file in a lower version of the program?

While the input files are not backwards compatible due to the changes that may be introduced to the database tables in higher versions of the program, you may be able to use the following manipulation to import your model to a lower version of the program:

* Export your file as [S2K text file|File format and settings files].
* Modify the version of the file, say from 12.0.2 to 12.0.0, in the Program Control table.
* Open the lower version of the program and import the text file created in the previous step.

This approach should generally work if the two versions are "close enough" to each other, unless there was a change of database schema that directly affects the data stored in the file.

In any case, it is always good idea to check the import log for any warning and error messages. I would also recommend to carefully review the model once imported to the lower version.

h1. How can I validate IFC file to make sure that it is valid prior to importing it to CSI programs?

You can try to first open the IFC file in one of the IFC viewers listed at the [iai-tech.org|http://www.iai-tech.org/developers/get-started/ifc-toolboxes/ifc-toolboxes-summary#IFC_geometry_viewers] website. We had a good experience with using the free [CAD-DDS viewer|http://www.dds-cad.net/132x2x0.xhtml].

h1. How can I validate CIS/2 file to make sure that it is valid prior to importing it to CSI programs?

You can use online version of SteelVis tool made available by NIST at http://ciks.cbt.nist.gov/cgi-bin/ctv/ctv.cgi to upload your CIS/2 file and have the SteelVis generate VRML file in one the following formats:

* Text file - the [VRML|http://en.wikipedia.org/wiki/VRML] text file can be downloaded to a local computer and viewed by VRML viewers such as [FreeWRL|http://freewrl.sourceforge.net/]
* 3D interactive VRML model (this requires that VRML plugin is installed for your browser)


h1. See Also

* [Backups and troubleshooting corrupted models|kb:Backups and troubleshooting corrupted models]
* [SAP2000 Import|sap2000:Import FAQ]