I was trying to round the decimal number to only 1 in the PBA Text annotation on area but it seems the syntax doesn't work for me
did i missed something?
please help..
jun
...if using system.math.round function, please be aware of the following Known Issues from recent releases...
"Workspaces with schemas containing references to the System.Math.Round C-Expression will encounter unexpected "Expression handler error: -1" error messages at runtime. All references to the System.Math.Round C-Expression should be updated to use the new XFM.Round C-Expression as a temporary workaround."
...so using a PBA expression such as...
Area=[xfm.round([MyFeature.Area],1)]
...should provide the desired rounding.
Regards,
Jeff Bielefeld [Bentley]
...if using system.math.round function, please be aware of the following Known Issues from recent releases... "Workspaces with schemas containing references to the System.Math.Round C-Expression will encounter unexpected "Expression handler error: -1" error messages at runtime. All references to the System.Math.Round C-Expression should be updated to use the new XFM.Round C-Expression as a temporary workaround." ...so using a PBA expression such as... Area=[xfm.round([MyFeature.Area],1)]
Hi Jeff,
You are very correct with this example, what references do i need to update and how?
thanks
...in your schema, just replace the system.math.round() function references with the equivalent xfm.round() function as necessary.