Allows you to specify whether instances of the macro feature created using COM can be rolled back, edited, suppressed, replaced, or deleted from the model.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function Security( _
ByVal app As Object, _
ByVal modelDoc As Object, _
ByVal feature As Object _
) As Object |
Visual Basic (Usage) | |
---|
Dim instance As ISwComFeature
Dim app As Object
Dim modelDoc As Object
Dim feature As Object
Dim value As Object
value = instance.Security(app, modelDoc, feature)
|
Parameters
- app
- SolidWorks application
- modelDoc
- SolidWorks document in which the macro feature appears
- feature
- Macro feature whose security you want to set
Return Value
Value or combination of values as defined by swMacroFeatureSecurityOptions_e
Remarks
See Also
Availability
SolidWorks 2003 FCS, Revision Number 11.0