Sets the suppression state for the specified components.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim SuppressionState As System.Integer
Dim CompArr As System.Object
Dim ConfigOption As System.Integer
Dim WhichConfig As System.String
Dim SaveClosedDocs As System.Boolean
Dim value As System.Boolean
value = instance.SetComponentState(SuppressionState, CompArr, ConfigOption, WhichConfig, SaveClosedDocs) |
Parameters
- SuppressionState
Component suppression state as defined in swComponentSuppressionState_e (see Remarks)
- CompArr
- Array of components to change
- 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
Example
Remarks
See Also
Availability
SOLIDWORKS 2003 FCS, Revision Number 11.0