Search the Community
Showing results for tags 'pretty print'.
Found 1 result
Hey All, So, I'm looking to retrieve some fields from a custom PIO object and then drawing them as text in the document. I've defined the parameters as dimensions so that when the units of the document changes, units of said fields in the OIP change and you case use standard entering of numbers with units. What I'm getting stuck on if formatting these values. Whether I use PParametr_name or GetRField() to obtain these values, theyre always returned as a real number. Is their either a different function that I should be using to return the values as VW displays them in the OIP (i.e. 3'4", 54mm, 7.6m, etc) or is there an inbuilt function to convert the reals to display based on the documents current primary/secondary unit info or is this a function that I am going to need to build? Cheers all, -gonda