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 System.Object, _
ByVal modelDoc As System.Object, _
ByVal feature As System.Object _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As ISwComFeature
Dim app As System.Object
Dim modelDoc As System.Object
Dim feature As System.Object
Dim value As System.Object
value = instance.Security(app, modelDoc, feature) |
C# | |
---|
System.object Security(
System.object app,
System.object modelDoc,
System.object feature
) |
C++/CLI | |
---|
System.Object^ Security(
& System.Object^ app,
& System.Object^ modelDoc,
& System.Object^ 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