|
ExtensionDeleteAllProperties Method
|
Deletes all properties from a SOLIDWORKS document. Set toggle parameters to delete custom, configuration-specific or both.
Namespace:
CADSharpTools.SOLIDWORKS
Assembly:
CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntaxpublic static void DeleteAllProperties(
this ModelDoc2 swModel,
bool configurationSpecificToggle,
bool customPropertiesToggle
)
<ExtensionAttribute>
Public Shared Sub DeleteAllProperties (
swModel As ModelDoc2,
configurationSpecificToggle As Boolean,
customPropertiesToggle As Boolean
)
Parameters
- swModel
- Type: ModelDoc2
SOLIDWORKS Model object - configurationSpecificToggle
- Type: SystemBoolean
True to delete configuration-specific properties. Throws an exception if document is drawing and parameter is set to true. - customPropertiesToggle
- Type: SystemBoolean
True to delete custom properties.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ModelDoc2. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also