Sets the suppression state for the specified components.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim SuppressionState As Integer
Dim NumComps As Integer
Dim CompArr As Component2
Dim ConfigOption As Integer
Dim WhichConfig As String
Dim SaveClosedDocs As Boolean
Dim value As Boolean
value = instance.ISetComponentState(SuppressionState, NumComps, CompArr, ConfigOption, WhichConfig, SaveClosedDocs)
|
Parameters
- SuppressionState
Component suppression state as defined in swComponentSuppressionState_e (see Remarks)
- NumComps
Number of components to change
- CompArr
Array of components to change of size numComps
- ConfigOption
Configuration option as defined in swInConfigurationOpts_e
- WhichConfig
Name of the configuration to change
- SaveClosedDocs
True saves closed documents, false does not
Return Value
True if the components were changed, false if not
Remarks
See Also
Availability
SolidWorks 2003 FCS, Revision Number 11.0