Hide Table of Contents
SolidWorks.Interop.cosworks Namespace




Allows access to the ICOSMOSWorks interface. 


Allows access to the uniform or selected excitation used in dynamic studies.


Allows access to beams and trusses.


Allows access to beams, trusses, and joints.


Allows access to bearing loads that develop between contacting cylindrical faces.


Allows access to a bolt connector.


Allows access to the options of a buckling study. 


Allows access to the centrifugal force object used for structural studies. 


Allows access to the options for composite shells.


Allows access to component contacts.  


Allows managing of global contacts, component contacts, and contact sets.  


Allows access to a contact set. 


Allows access to convection used for steady state and transient thermal studies only.


Allows access to the damping options in dynamic studies.


Allows access to the distributed mass used in structural studies.


Allows access to the options for the output of the drop test analysis.


Allows access to the setup of a drop test study.


Allows access to the options of a drop test study.


Allows access to the initial (time = 0) condition for displacements, velocities, or accelerations in modal time history and nonlinear dynamic studies.


Allows access to the options of a dynamic study.


Allows access to an edge weld connector.


Allows access to an elastic support fixture.


Allows access to a fatigue event.


Allows access to the options of a fatigue study.


Allows access to the force object used by structural studies.  


Allows access to the options of a frequency study.


Allows access to the gravity load used in structural and nonlinear analyses.


Allows access to the heat flux object used for steady state and transient thermal studies only.


Allows access to heat power used for steady state and transient thermal studies only.


Allows access to the joints, which are the intersections of beams, in a model.


Allows access to a link connector.


Allows access to the Load Case Manager.


Allows access to an existing load or restraint in a study.


Allows access to managing loads and restraints.


Allows access to the mass properties of a study.


Allows access to the material; certain materials are required for every study type.


Allows access to a mesh.


Allows access to a mesh control.


Allows access to the active part or assembly document.


Allows simultaneous editing of multiple component contacts.


Allows simultaneous editing of multiple contact sets.


Allows access to the options of a nonlinear study.


Allows access to a pin connector.


Allows access to a results plot.


Allows access to pressure used for structural studies.


Allows access to the radiation object used for steady state and transient thermal studies only.


Allows access to remote loads.


Allows access to displacement restraints for structural studies.


Allows access to the results of the analysis.


Allows access to the results probe of a plot.


Allows access to a rigid connector.


Allows access to the run and mesh option for studies run in batch mode.


Allows access to the results of studies run in batch mode.


Allows access to an existing shell.


Allows access to shells.


Allows access to solid bodies in a study.


Allows access to solid components in a study.


Allows access to managing solid bodies and components.


Allows access to a spot-weld connector.


Allows access to a spring connector.


Allows access to the options of a static study.


Allows access to a study.


Allows access to creating new studies and getting or deleting existing studies.


Allows access to the options for the results of linear dynamic and nonlinear studies.


Allows access to the temperature for use with structural (static, nonlinear, buckling, and frequency), steady state, and transient thermal studies.


Allows access to the options of a thermal study.


Allows access to the Trend Tracker of a static study.


swsAccelerationComponent_e Acceleration components
swsAccelerationUnit_e Units of acceleration
swsAddDefaultDropTestStudyPlotResultError_e Drop test study result plot errors
swsAddDefaultFatigueStudyPlotResultError_e Fatigue study result plot errors
swsAddDefaultFrequencyOrBucklingStudyPlotResultError_e Frequency or buckling study result plot errors
swsAddDefaultNonLinearStudyPlotResultError_e Nonlinear study result plot errors
swsAddDefaultOptimizationDesignStudyPlotResultError_e Optimization design study result plot errors
swsAddDefaultStaticStudyPlotResultError_e Static study result plot errors
swsAddDefaultThermalStudyPlotResultError_e Thermal study result plot errors
swsAnalysisStudyType_e Analysis study types
swsAngularAccelerationUnit_e Units of angular acceleration
swsAngularVelocityUnit_e Units of angular velocity
swsBaseExcitationEndEditError_e Base excitation editing errors
swsBaseExcitationType_e Uniform base excitation types
swsBeamBodyConnectionType_e Beam body connection types
swsBeamForceType_e Beam force types
swsBeamNonUniformLoadDef_e Nonuniform load definitions
swsBeamNonUniformLoadType_e Nonuniform distribution types
swsBeamStressComponent_e Beam stresses
swsBeamStressType_e Beam stress types
swsBeamType_e Beam types
swsBearingLoadDistributionType_e Bearing load distribution types
swsBearingLoadEndEditError_e Bearing load editing errors
swsBoltConnectorEndEditError_e Bolt connector editing errors
swsBoltConnectorError_e Bolt connector errors
swsBoltMaterialSource_e Bolt material sources
swsBoltMaterialType_e Bolt material types
swsBoltType_e Bolt types
swsCentrifugalForceEndEditError_e Centrifugal force editing errors
swsCentrifugalForceError_e Centrifugal force errors
swsColorChartNumberFormatOptionValue_e Display options for the numeric values in the chart in the plot legend
swsColorChartOptionLegendTypeValue_e Display options for the chart in the plot legend
swsColorChartPositionValue_e Positions for the chart in the plot legend
swsColorChartWidthOptionValue_e Thickness options for the chart in the plot legend
swsColorNumberFormatUseDiffNumberFormatOptionValue_e Display options for chart numbers between 0.001 and 1000 when numbers are in scientific notation
swsCompositeShellOptionsError_e Composite shell options errors
swsCompositeShellOptionsMappingType_e Types of ply angle direction reference mapping for composite shells
swsConnectAnalysisDatabaseError_e Status when attempting to connect to an analysis database
swsContactComponentEndEditError_e Contact component editing errors
swsContactSetEndEditError_e Contact set editing errors
swsContactSetError_e Contact set errors
swsContactSetTypeStaticNonLinear_e Contact set types for static and nonlinear studies
swsContactSetTypeThermal_e Contact set types for thermal studies
swsContactSuppressUnsuppressError_e Contact suppress errors
swsContactType_e Contact types
swsConvectionEndEditError_e Convection editing errors
swsConvectionError_e Convection errors
swsCoordinateType_e Coordinate system types
swsCopyItemsError_e Copy items status
swsCosmosExportOption_e Options for exporting a simulation study to COSMOSM
swsCreateDeformedBodyAdvancedOption_e Advanced options for deformed body creation. Bitmask.
swsCreateDeformedBodyError_e Errors during deformed body creation
swsCreateDeformedBodyFailedSewOption_e Sew options for deformed body creation failures
swsCreateDeformedBodyOption_e Options for deformed body creation
swsCyclicRestraintError_e Cyclic symmetry fixture error codes
swsDampingType_e Types of damping
swsDefaultStaticResultTypes_e Static result types
swsDeformType_e Deform types
swsDeleteStudyPlotsResultTypes_e Plot deletion result codes
swsDisplacementComponent_e Displacement components
swsDisplayOption_e Display options for stress plots
swsDistributedMassError_e Errors for distributed mass loads
swsDistributedSimulationError_e Errors for network simulation
swsDropHeightType_e Distances between a dropped body and the rigid planar floor
swsDropTargetOrientationType_e Types of impact plane orientation for drop test studies
swsDropTargetStiffnessType_e Types of impact plane stiffness for drop test studies
swsDropTestSetUpError_e Setup errors for drop test studies
swsDropTestStudyResultType_e Drop test study results
swsDropType_e Setup input types for drop test studies
swsDuplicateStudyError_e Result codes when duplicating studies
swsDynamicAnalysisSubType_e Types of linear dynamic analysis
swsDynamicInitialConditionError_e Errors for dynamic initial conditions
swsDynamicInitialConditionType_e Dynamic study initial condition types
swsEdgeWeldConnectorSafetyFactorLiftOption_e Lift safety factors used in calculating weld ultimate shear strength in edge weld connectors
swsEdgeWeldConnectorTypes_e Edge weld types
swsEdgeWeldCreationErrorCode_e Edge weld creation error codes
swsEdgeWeldSolverCode_e Edge weld sizing standards
swsElasticConnectorEndEditError_e Elastic connector editing errors
swsElasticConnectorError_e Elastic connector errors
swsElectrodeMaterialTypes_e Electrode materials for edge weld connectors
swsEnvelopePlotType_e Envelope result plot types
swsEstimatedWeldSizeUnits_e Estimated edge weld size units
swsFactorOfSafetyStressLimitOption_e Factor of safety stress limits types
swsFatigueAlternatingStressOption_e Options for calculating alternating stress in fatigue studies
swsFatigueCalculations_e Options for calculating fatigue in fatigue studies
swsFatigueCalculationsOption_e Options for calculating fatigue in fatigue studies
swsFatigueComponent_e Fatigue components
swsFatigueEventEndEditError_e Fatigue event editing errors
swsFatigueEventInteraction_e Types of fatigue event interactions
swsFatigueLoadHistoryCurveType_e Types of fatigue load history curves
swsFatigueLoadingType_e Types of fatigue loading
swsFatigueMeanStressCorrectionType_e Mean stress correction options for calculating alternating stresses
swsFatiguePlotType_e Types of fatigue result plots
swsFatigueRandomVibrationComputationalMethod_e Random vibration computational methods
swsFatigueStudyResultType_e Fatigue study result types
swsFatigueStudySubOption_e Linear dynamic reference study types for fatigue studies
swsForceEndEditError_e Force editing errors
swsForceError_e Force errors
swsForceType_e Types of forces
swsForceUnit_e Force types
swsFOS_CompositeCriterion_e Factor of safety criteria for composite shells
swsFOS_DistributionOpt_e Factor of safety distribution options
swsFOS_ErrorCode_e Factor of safety errors
swsFOS_NonCompositeCriterion_e Factor of safety criteria for non-composite shells
swsFOS_NormalShellFaceOption_e Normal shell face options
swsFOS_ShellFaceOption_e Factor of safety shell face options
swsFosPlotErrorCode_e Factor of safety errors
swsFrequencyBucklingResultDisplacementComponentTypes_e Displacement component result types for frequency/buckling studies
swsFrequencyStudyOption_e Frequency study options
swsFrequencyUnit_e Units of frequency
swsGapType_e Contact set gap options
swsGaussIntegrationOrder_e Types of Gauss integration order
swsGenerateReportError_e Result codes when generating a report
swsGeoStarExportUnit_e GEOSTAR export units
swsGravityEndEditError_e Gravity editing errors
swsGravityError_e Gravity errors
swsHeatFluxEndEditError_e Heat flux editing errors
swsHeatFluxError_e Heat flux errors
swsHeatPowerEndEditError_e Heat power editing errors
swsHeatPowerError_e Heat power errors
swsIncompatibleBondingOption_e Bonding contact methods for analyzing models that contain contacting surfaces with incompatible meshes
swsInterpolationType_e Types of harmonic frequency interpolations
swsIsoClippingErrorCode_e Iso Clipping error codes
swsLinearUnit_e Linear units
swsLinkConnectorEndEditError_e Link connector editing errors
swsLinkConnectorError_e Link connector errors
swsLoadCaseManagerError_e Load Case Manager errors
swsLoadsAndRestraintsError_e Loads and restraints errors
swsLoadsAndRestraintsManagerBearingLoadError_e Bearing load errors
swsLoadsAndRestraintsType_e Loads and restraints types
swsMaterialDataCurveError_e Material curve data errors
swsMaterialErrorWarning_e Material errors
swsMaterialFatigueSNCurveError_e Material stress-number (SN) curve data errors
swsMaterialModelType_e Material model types
swsMaterialReferencePlaneError_e Reference plane errors for materials
swsMaterialSNCurveSource_e Material stress-number (SN) curve sources for fatigue studies
swsMaterialSource_e Material sources
swsMaterialStressStrainCurveError_e Stress-strain curve data errors
swsMaterialTemperature_e Temperature dependencies for a material property
swsMaterialTemperatureCurveForPropertyError_e Temperature curve data errors for materials
swsMeshCompatibility_e Mesh compatibility
swsMeshControlError_e Mesh control errors
swsMeshControlMeshingError_e Mesh control meshing errors
swsMeshControlWeightFactor_e Component weight factors for mesh control
swsMeshCopyErrorCode_e Mesh copy error codes
swsMeshElementNodeLocation_e Mesh element or node locations errors
swsMesherType_e Mesher types for surface meshes
swsMeshFlipShellError_e Flipping shell elements errors
swsMeshQuality_e Mesh qualities
swsMeshQueryErrorCode_e Mesh query errors
swsMeshShellNormal_e Mesh shell normal for faces
swsMeshState_e Mesh states
swsMeshType_e Mesh types
swsModeCombinationMethod_e Mode combination methods for calculating a peak response in dynamic studies
swsMomentUnit_e Units of moment
swsMultipleContactsEditErrorCode_e Error codes for the simultaneous editing of component contacts and contact sets
swsNameViewOrientation_e Named view orientations
swsNastranExportOption_e NASTRAN export options
swsNastranExportUnit_e NASTRAN export units
swsNForceType_e Types of contact forces
swsNodalResultsOfElementError_e Error codes when getting stress tensor values for all nodes of an element
swsNonlinearAnalysisSubType_e Nonlinear study subtypes
swsNonLinearOptionControlMethodType_e Nonlinear control method types
swsNonLinearOptionIntegrationMethodType_e Nonlinear integration method types
swsNonLinearOptionIterativeMethodType_e Nonlinear iterative method types
swsNonLinearStudyOptionsError_e Nonlinear study option errors
swsNonlinearStudyResultTypes_e Nonlinear study result types
swsNoPenetrationOption_e Advanced options for no penetration contact sets
swsOptimizationStudyResultType_e Scope of optimization design cycle results
swsPhaseAngleUnit_e Units for phase angle
swsPinballUnit_e Units for optimal tolerance value for non-touching structural members within a certain distance, which is also referred to as a pinball
swsPinConnectorEndEditError_e Pin connector editing errors
swsPinConnectorError_e Pin connector errors
swsPlotBoundarySettingsOptionValue_e Model boundary plot display options
swsPlotDeformedShapeOptionScaleFactorContactValue_e Result plot deformation scale factor options for studies with no penetration contact
swsPlotDeformedShapeOptionScaleFactorLargeDispValue_e Result plot deformation scale factor options for studies with large displacement
swsPlotDeformedShapeOptionScaleFactorOtherValue_e Result plot deformation scale factor options for all studies other than no penetration contact or large displacement
swsPlotDeformedShapeOptionSuperImposeValue_e Options when Superimpose model on the deformed shape is selected for plot settings
swsPlotDeformedShapeOptionValue_e Result plot options for showing results on deformed or undeformed shapes
swsPlotFringeSettingsOptionValue_e Fringe plot display options
swsPlotResultTypes_e Result plot types
swsPlotSettingsErrorCode_e Plot settings status
swsPlotShowExcludedBodiesOptionValue_e Result plot options for excluded bodies
swsPlotShowHiddenBodiesOptionValue_e Result plot options for hidden bodies
swsPreloadForce_e Pre-load force types for bolt connectors
swsPreLoadForceType_e Pre-load force types for spring connectors
swsPressureEndEditError_e Pressure editing errors
swsPressureError_e Pressure errors
swsPressureReferenceGeometryCylindricalType_e Pressure reference geometry cylindrical direction types
swsPressureReferenceGeometryEdgeType_e Pressure reference geometry edge direction types
swsPressureReferenceGeometryPlanarType_e Pressure reference geometry planar direction types
swsPressureReferenceGeometryReferenceAxisType_e Pressure reference geometry axis direction types
swsPressureType_e Pressure types
swsPressureUnit_e Pressure units
swsProbePostResultErrorCode_e Results probe error codes
swsProbePostResultNodeElementSelectionWarning_e Results probe selection warnings. Bitmask.
swsProbePostResultOption_e Results probe options
swsPVResultCombinationError_e Errors when combining results of Pressure Vessel Design studies
swsPVResultCombinationType_e Options for combining results of selected Pressure Vessel Design studies
swsRadiationEndEditError_e Radiation editing errors
swsRadiationError_e Radiation errors
swsRadiationOpenSystem_e Radiation systems
swsRadiationType_e Radiation types
swsRandomVibrationAnalysisMethod_e Methods of integration for random vibration dynamic studies
swsRandomVibrationCorrelationOption_e Options for load correlation in random vibration dynamic studies
swsRefDispType_e Reference geometry types
swsReferencePressureOption_e Reference pressure options
swsRemoteLoadEndEditError_e Remote load editing errors
swsRemoteLoadType_e Remote restraint or load types
swsReportFolderValue_e Results report folder options
swsResistanceType_e Contact set thermal resistance types
swsRestraintEndEditError_e Restraint editing errors
swsRestraintError_e Restraint errors
swsRestraintType_e Restraint types
swsResultEnvelopeBoundary Options for plotting extreme values across all solution steps
swsResultFolderValue_e Results folder options
swsResultOptionsSensorOption_e Data sensor options for graphs and plots
swsResultPlotColorOption_ErrorCode_e Error codes for result plot colors
swsResultPlotDelete_ErrorCode_e Error codes for result plot deletion
swsResultPlotErrorCode_e Result plot error codes
swsResultsDisplacementAndVelocityOption_e Options for displacement and velocity results
swsResultsError_e Study result errors
swsResultsRotationalDisplacementUnit_e Rotational displacement units
swsRigidConnectorEndEditError_e Rigid connector editing errors
swsRigidConnectorError_e Rigid connector errors
swsRotationUnit_e Units of angular rotation
swsRunAnalysisError_e Run analysis errors
swsRunStressHotSpotDiagnosticsError_e Stress hot spot diagnostic errors
swsRunStudiesErrorCode_e Error codes for studies run in batch mode
swsRunStudiesResultsErrorCode_e Error codes for getting first and next studies run in batch mode
swsRunStudiesRunMeshOptionErrorCode_e Error codes for setting run and mesh options for studies run in batch mode
swsRunStudiesRunMeshOptions_e Run and mesh options for studies run in batch mode
swsRunStudiesStatusCode_e Status codes returned for studies run in batch mode
swsSaveeDrawingsErrorCode_e Result plots error codes when saving results as eDrawings files
swsSaveResultsOption_e Save results options
swsSelectionType_e Selection types
swsSetDampingRatiosError_e Errors when setting damping ratios
swsShellEndEditError_e Shell editing errors
swsShellFace_e Options for evaluating membrane and bending components of study result quantities
swsShellFormulation_e Shell formulation types
swsShellManagerError_e Shell creation errors
swsShellOffsetOption_e Shell offset options
swsShrinkFitOption_e Advanced options for shrink fit contact sets
swsSimAdaptiveMethodType_e Adaptive method types
swsSimMassPropertiesError_e Mass properties errors
swsSimulationElementTypes_e Mesh element types
swsSimulationOptionDefaultPlotsBoundaryColorInRGBBoundaryOption_e Options for coloring the boundaries of default result plots
swsSimulationOptionDefaultPlotsBoundaryColorInRGBError_e Result codes when setting default plot boundary color
swsSolverType_e Solver types
swsSpotWeldConnectorEndEditError_e Spot weld connector editing errors
swsSpotWeldConnectorError_e Spot weld connector errors
swsSpringConnectorEndEditError_e Spring connector editing errors
swsSpringConnectorError_e Spring connector errors
swsSpringConnectorType_e Spring connector types
swsSpringSubType_e Spring sub-types
swsSpringType_e Spring types
swsStaticResultDisplacementComponentTypes_e Displacement component types for static study results
swsStaticResultElementalStrainComponentTypes_e Elemental strain component types for static study results
swsStaticResultElementalStressComponentTypes_e Elemental stress component types for static study results
swsStaticResultNodalStrainComponentTypes_e Nodal strain component types for static study results
swsStaticResultNodalStressComponentTypes_e Nodal stress component types for static study results
swsStiffnessType_e Stiffness types
swsStrainComponent_e Strain components
swsStrainEnergyDensityUnit_e Strain energy density units
swsStrainEnergyUnit_e Strain energy units
swsStrengthUnit_e Strength and stress units
swsStressComponent_e Stress components
swsStressHotSpotPlotError_e Stress hot spot plot errors
swsStudyError_e Study errors
swsStudyExportError_e Export study errors
swsStudyExportOption_e Study export options
swsStudyMeshError_e Mesh study errors
swsSuppressionState_e Suppression states
swsSymmetricalBoltType_e Symmetrical bolt types
swsTableDrivenDistOption_e Table-driven distribution options
swsTableDrivenInterpolationType_e Table-driven interpolation types
swsTemperatureCurveError_e Temperature curve errors
swsTemperatureEndEditError_e Temperature editing errors
swsTemperatureError_e Temperature errors
swsTemperatureType_e Temperature types
swsTemperatureUnit_e Temperature units
swsTensileStressAreaUnit_e Tensile stress area units
swsThermalComponent_e Thermal components
swsThermalOption_e Thermal options for studies
swsThermalRelaxationFactor_e Thermal relaxation factors
swsThermalResultComponentTypes_e Component types for thermal study results
swsThermalSolutionType_e Thermal solution types
swsThreadsPerLengthUnit_e Units of threads per length
swsTimeCurveError_e Time curve data errors
swsTimeIntegrationMethod_e Step-by-step integration methods of modal time history dynamic studies
swsTimeUnits_e Units of time
swsTrendTrackerErrorCode_e Trend tracker errors
swsUnit_e Unit systems
swsUnitSystem_e Unit systems
swsUserPreferenceDoubleValue_e User preference double values
swsUserPreferenceIntegerValue_e User preference integer values
swsUserPreferenceStringValue_e User preference string values
swsUserPreferenceToggle_e User preference toggle values
swsVelocityComponent_e Velocity components
swsVelocityUnit_e Velocity units
swsWallType_e Wall types
swsWeakMaterial_e Weak material options for european edge weld connectors
swsWeldResultErrorCode_e Weld result error codes
swsWeldStrengthUnits_e Weld strength units
swsWindowsBasicColors_e Windows basic colors

See Also

Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   SolidWorks.Interop.cosworks Namespace
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:


We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again

Web Help Content Version: API Help (English only) 2017 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.