AnsweredAssumed Answered

Find configuration name

Question asked by Rick Kosters on Apr 15, 2020
Latest reply on Apr 15, 2020 by Rick Kosters



I want to find a default configuration with vba, but the name can also contain other characters, for example

"[default] postition flexible"


How can I search the configuration which contains "*default*" . "*default*" doesn't work... :


Set swApp = Application.SldWorks
Set Part = swApp.ActiveDoc
DefaultName = "*" & "Default" & "*"
boolstatus = Part.ShowConfiguration2("DefaultName")