Sets the suppression state for the specified components.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim SuppressionState As System.Integer
Dim NumComps As System.Integer
Dim CompArr As Component2
Dim ConfigOption As System.Integer
Dim WhichConfig As System.String
Dim SaveClosedDocs As System.Boolean
Dim value As System.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