SimSolid JavaScript Reference
Global Object
- errorCode
- Integer, returned by SimSolid.exe, by default is 0.
echo Exit Code is %errorlevel%
Project Object
- setDefaultUnits
- Sets default units for the project.
- addDesignStudy
- Creates a new design study by importing geometry from a CAD file. Returns the Design Study object.
- save
- Saves the project into .ssp. Returns false if it fails.
Design Study Object
- applyMaterial
- Applies a material to all or specific parts. Returns false if could not find any part satisfying the mask specified by partNameMask.
- addConnections
- Creates regular connections automatically between all parts.
- hasDisconnectedGroupsOfParts
- Checks if there are more than one disconnected group of parts.
- addModalAnalysis
- Creates a new Modal analysis. Returns the Analysis object.
- addDatumPointSet
- Imports datum points from a .csv file. Returns the Datum Point Set object.
Analysis Object
- setSolutionSettings
- Sets the default solution settings for the analysis.
- addSolutionSettingsGroup
- Adds a custom group of solution settings for specific parts. Returns false if it could not find any part satisfying the mask specified by partNameMask.
- solve
- Solves the analysis.
- exportToUNV
- Exports the analysis results to a UNV file.