Select to view content in your preferred language

ModelBuilder (Pro) field calculator and %value%

04-12-2018 07:15 AM
New Contributor


I am moving my Model Builder from ArcMap to ArcGIS Pro (2.1.2). The problem is that Pro does not use VISUAL BASIC (VB) anymore. The command written in VB now has to be translated into Python 3 or Arcade.  Could you please advise me how VB command   %value%   should be written in Python 3 or Arcade.

Basically, I am trying to count the number of visible Lines of Sight constructed from a vantage point (done, the n_T value in my Model Builder) and “paste” this value as integer to the attribute table of point layer (INDEX field); in other words, the attribute of point layer is the count of Lines of Sight. I attach my old MB with original VB command.

Thank you in advance for your help.


0 Kudos
2 Replies
Occasional Contributor

Use same syntax for variable values %value%, either Python 3 or Arcade

New Contributor

Thanks, Balaji, it really works.

0 Kudos