FeResPost Web Site                     FeResPost Online User Manual

VI.2.1.2 Creation of other objects

The method “newObject” is used to create objects for the different classes of the COM component. Its argument is a String corresponding to the name of the class for which an object is requested. The created object is the return value. For example, when the following statement is used:

   db=frpApp.newObject("NastranDb")

creates a new Nastran DataBase object and a reference is stored in “db” variable.