|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Object Reference > DBWJComp Methods > deleteCustomProperty Method |
MechWorks MWScriptGUI Scripting Utility Object
Deletes a (configuration) specific custom property from a Solidworks file
DBWJcompObj.deleteCustomProperty filePath as String, configuration as String, propertyName as String |
filename = "C:\temp\testPart01.sldprt"
config = "Default"
propname = "Myprop1"
set DBWJcompObj = CreateObject("DBWJComp.CodeObject")
DBWJcompObj.deleteCustomProperty filename, config, propname
set DBWJcompObj = nothing