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