Uses the Sap2000 Open Api to get the models information into an object oriented format using VB.Net
#Requirements
In order for this program to run CSI SAP 2000 V16 must be installed on the system. The program should work for other SAP versions, by either:
1- Replacing all instances of SAP2000v16
with the appropriate namespace.
or
2- Changing the code from early binding to late binding.
#SapStructure#
The full path to one of the sap models is passed to the constructor and information regarding the model is retrieved. Note that force values will not be retrieved
Retrieves analysis results from the input sap model. Note you can call this function multiple times with different models and all the forces will be added to the object under different model names.
The program may take along time opening and closing multiple sap files. Using this function you can save the object before exiting. The next time you run the program you can call Open object to load the SapStructure object.
See SaveObject
Will close any open sap models.
Returns reference to the an element object based on the input ID
#Element# This object contains information regarding a single element in sap
The direction of the element, X, Y, Z or Diagonal
A list of force objects.
The first joint of the element. Usually the node with the smaller coordinate values.
The second joint of the element. Usually the node with larger coordinate values.
The name of the secon assigned to the element
The ID of the element as in SAp
The t2 dimension of the section assigned to the element
The t3 dimension of the section assigned to the element
The type of element. Beam or Column. This depends on the design method selected for the section. If column is selected this will be column. If beam is selected then this will be beam.
#Joint# Contains information about a single joint in SAP.
The X coorindate of the joint
The Y coorindate of the joint
The Z coorindate of the joint
The ID of the joint as in the sap model
A list of element objects which are connected to the joint.
Contains information about the force at a single station of the element
The Id of the element the force object is assigned to
List of ForceType objects associated with the different force at the section
The distance of the station from the start of the element.
Contains information about the force at a single station of the element for a specific type (for example V2 or V3 or M2, ...)
This function is used to add a new force value to the list of forces.
List of Force_LoadCase objects for the different load case forces.
List of Force_LoadCase objects for the different combo forces.
Returns the maximum value of the force regardless of the sign
Contains information about the force at a single station of the element for a specific type for a specific Load case or combination.
The name of the loadcase or combination the force is associated with
List of Force_Load_Info objects.
Contains information about the force at a single station of the element for a specific type for a specific Load case or combination for a specific model. Note that analysis results can be retrieved from multiple models.