Hello I'm a newbie to the forum.
I am attempting to pull the configuration specific examples out of a given configuration without opening the properties window.
Please see the screenshot of the tab I wish to access, I have also attached some code.
I can't determine how to call the configuration to access the get function for the values.
Thank you greatly to whoever can solve this.
Code------->
SolidworksApi macrosOption ExplicitDim swApp As SldWorks.SldWorksDim swModel As SldWorks.ModelDoc2Dim Conf As SldWorks.ConfigurationDim cpm As CustomPropertyManagerDim conf2 As ConfigurationDim itemval As String, itemval2 As StringDim msg As StringDim resolveditemval As StringDim cpm3 As CustomPropertyManagerPrivate Sub UserForm1_Activate()Set swApp = Application.SldWorksSet swModel = swApp.ActiveDocSet cpm = swModel.Extension.CustomPropertyManager("")Set Conf = swModel.GetActiveConfigurationDim bool As Boolean'output custom properties to msg box.'Set cpm3 = Conf.CustomPropertyManager("")cpm.Get2 "PartNo", itemval, resolveditemval'cpm3.Get2 "PartNo", itemval2, resolveditemval ' this should work I thinkmsg = itemval & " " & Conf.NameMsgBox msgEnd Sub