Somewhat of a philosophical question.
My philosophy is "once you know the answer, it's simple": use ModelDoc::GetCustomInfoNames to get all the defined properties names then scan them with: for each n in names if UCase(n)="COST" then ' found next n
PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.