4 Replies Latest reply on Jul 13, 2016 12:33 PM by roberto gennari

    Problem SwDocumentManager GetCustomProperty2  - How Resolve Value?

    roberto gennari

      Hallo,

      I need to get the resolved value of a custom property using SwDocumentManager.

      I use this code, but the result is not the resolved value of the property:

       

      Dim MyValue as string

      MyValue= swDoc.GetCustomProperty2("PESO",30)

       

      The result i need should be:

      19.3 Kg

      instead the result is the formula:

       

      "D2@MyWeight@18035-004.SLDPRT" Kg

       

      There is another way to get the result by means of SwDocumentManager

       

      I attach picture to understand my need

       

      Thank

      Roberto