Macro: Retrieve Configuration-Specific Property Value

Hello!

I'm editing a macro that retrieves the value of a custom property named "Description 1" with this line:

CusPropMgr.Get2 "Description 1", ValueDescription1Expr, ValueDescription1

I'd like to retrieve this value from the configuration-specific properties.

Do you know what should be changed or where I could find this info?

Thank you in advance if you have an idea.

Hello

You need to "get" the configuration before starting the property recovery.

See this link: http://help.solidworks.com/2020/english/api/sldworksapi/Get_Custom_Properties_for_Configuration_Example_VB.htm