AnsweredAssumed Answered

Api custom property with global value

Question asked by Vasili Delizisis on Jun 19, 2018
Latest reply on Jun 25, 2018 by Vasili Delizisis



Hi have writen a macro that worked well on solidworks 2017 where it created custom property with linked global variable



CustPropMgr.Add3 "Global Variable", swCustomInfoText, Chr(34) & "GlobalVariable@Default@part.SLDPRT" & Chr(34), swCustomPropertyReplaceValue


In solidworks 2017 this gave me the evaluated value of a equation number but in solidworks 2018 it gives me the text value of "GlobalVariable@Default@part.SLDPRT"


Anyone knows what have changed in Solidworks 2018 so I can correct this?