I did not find any method to use Function Statement (VBScript) inside Property Set Definition's formulas
I tried everything on the internet but no results, anyone could share some samples?
Solved! Go to Solution.
Solved by gphanauer. Go to Solution.
I've been using property set definitions since they were implemented and I've never seen an example of using Function.
The subject has been discussed in the past, including an answer by Martin Schmid in https://forums.autodesk.com/t5/autocad-mep-forum/vbscript-in-property-sets/td-p/1387227.
I think that in property set external functions or variables cannot be passed.
The formula property already acts as a function returning the value through RESULT.
If there is something that cannot be resolved with a formula property then implement it through .NET, that's what I do.