i want to use the document manager api to get the document properties. Is this possible?I know the "GetCustomProperty", is there something similar?
Thanks a lotSebastian
Not possible with GetCustomProperty. This method gets custom properties, not document settings.
You want to use GetSwDmSettingInteger method of swDMDocument19.
Please see example:
2019 SOLIDWORKS API Help - Get Document Settings Example (VB.NET)
2017 SOLIDWORKS API Help - GetCustomProperty Method (ISwDMDocument)
I want to get the "mass/Section Properties - length - units" in options on the document properties tab.In Solidworks this is possible with the method
Is this possible with GetCustomProperty Method? What should i use for the field name?
Thank you,that is the method i was looking for
Retrieving data ...