Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenGround | gINT | Keynetix
  • Product Communities
OpenGround | gINT | Keynetix
gINT | Keynetix Wiki Is there a common list of requested Expressions available?
    • Sign In
    • -gINT | Keynetix Wiki
      • +gINT
      • +gINT Collector
      • +gINT Civil Tools
      • -Keynetix
        • +Installing or Upgrading to CONNECT Edition
        • +Archive Webinars
        • +HoleBASE
        • +HoleBASE Civil Extension
        • +HoleBASE Data Entry
        • +HoleBASE Excel Extension
        • -HoleBASE Template Studio
          • +HoleBASE Template Studio:Getting Started
          • -Template Studio: FAQs
            • +Designing Depth Related Areas
            • -Expressions
              • Excel Functions
              • How To Display a Full Location Type Rather than an Abbreviation
              • How To edit the Stratum Detail Descriptions to include the depth information
              • How to show top and base levels in the 'level' column.
              • How To use Text Styling to Make part of the Geology Description Bold
              • Is there a common list of requested Expressions available?
              • Log Only Functions
              • Mathematical Functions
              • My Expression in Template Studio shows the wrong date
              • Run Time Functions
              • Text Styling
              • Why do the numbered remarks in my data not appear on new lines on my templates?
            • +Loading and Saving Templates
          • +HoleBASE Template Studio:How Tos
          • +HoleBASE Template Studio:Issues
          • HoleBASE Template Studio Release Notes
        • +KeyAGS
        • +KeyLAB
        • +Keynetix Component Downloads
        • +Working from Home with Keynetix Products
        • Hardware Specifications and Recommendations
        • Supported Platforms

     
     Questions about this article, topic, or product? Click here. 

    Is there a common list of requested Expressions available?

      Product(s): Keynetix
      Version(s): 1.0
      Area: Assist

    Is there a common list of requested Expressions available?

    Question

    The Keynetix Support desk must get asked how to do certain expressions all of the time. Do you have a list of these available?

    Answer

    Following the expressions webinar on 10th June 2016, we have created the following page for expressions to be made available that get asked for consistently. We will continue to add to this as we go along.

    Explanation

    Date Added Region Relevant Data Expression Example Output Description
    13th June 2016 UK and ASTM Date now() 13/06/2016 11:26:33 Displays the current date and time in the format specified on the local machine by its regional settings.
    13th June 2016 UK and ASTM Date text(now(),'dd MMM yyyy') 13 Jun 2016 Displays the current date in UK format with the month written as its 3 letter abbreviation.
    13th June 2016 UK and ASTM Date text(now(),'dd MMMM yyyy') 13 June 2016 Displays the current date in UK format with the month written in full.
    13th June 2016 UK Date text(now(),'dd')+if(in(text(now(),'dd'),1,21,31),'st',if(in(text(now(),'dd'),2,22),'nd',if(in(text(now(),'dd'),3,23),'rd','th')))+' '+text(now(),'MMMM yyyy') 13th June 2016 Displays the current date in UK format with the month written in full.
    13th June 2016 ASTM Date text(now(),'MMMM dd')+if(in(text(now(),'dd'),1,21,31),'st',if(in(text(now(),'dd'),2,22),'nd',if(in(text(now(),'dd'),3,23),'rd','th')))+' '+text(now(),'yyyy') June 13th 2016 Displays the current date in US format with the month written in full.
    13th June 2016 UK Water Strikes if(find('no water',text([WaterStrikeGeneral.Remarks]), 0)>-1,'Arrow','Circle') Circle or Arrow Symbol Shows a Circle if 'no water' appears in remarks, if not show an arrow.
    13th June 2016 UK Water Strikes if(count([Aggregate.WaterStrikeGeneral.DepthStrike])=0,'No Ground Water Encountered','') No Ground Water Encountered Queries whether there are any water strike records in the location, if there are not any then will display No Ground Water Encountered.
    13th June 2016 UK SPTs 'N='+if([SPT.NValue]<51,text(fixed([SPT.NValue],0,false)),if([SPT.NValue]<1000,'*'+text(fixed([SPT.NValue],0,false)),'**'+text(fixed([SPT.NValue],0,false))))

    N=25

    N=*145

    N=**1000

    Calculates whether the N value falls within certain ranges and prefixes a value depending on these ranges.
    13th June 2016 UK and ASTM Locations if(len(text([LocationDetails.LocalXGrid])) &gt; 0,'Local Grid','National Grid')

    Local Grid

    National Grid

    Displays whether a local grid or a national grid is being used in the project.
    13th June 2016 UK and ASTM Locations if(len(text([LocationDetails.LocalXGrid])) &gt; 0,'X'+text(fixed([LocationDetails.LocalXGrid], 2, false)),'E'+text(fixed([LocationDetails.Easting], 2, false)))

    X123.45

    E124555.56

    Displays the local grid coordinates if used in a project, if not then show the eastings.
    13th June 2016 UK and ASTM Locations if(len(text([LocationDetails.LocalYGrid])) &gt; 0,'Y'+text(fixed([LocationDetails.LocalYGrid], 2, false)),'N'+text(fixed([LocationDetails.Northing], 2, false)))

    Y123.45

    Y123455.67

    Displays the local grid coordinates if used in a project, if not then show the northings.
    13th June 2016 UK and ASTM Locations if(len(text([LocationDetails.LocalLevel])) &gt; 0,'Site Datum','Ground Level')

    Site Datum

    Ground Level

    Show whether a Site Datum was used on this project or a standard ground level.
    13th June 2016 UK and ASTM Locations if(len(text([LocationDetails.LocalLevel])) &gt; 0,if([LocationDetails.LocalLevel] &gt; 0,text('+'),'')+text(fixed([LocationDetails.LocalLevel], 2, false))+'mD',if([LocationDetails.GroundLevel] &gt; 0,text('+'),'')+text(fixed([LocationDetails.GroundLevel], 2, false))+'mOD')

    123mD

    123mOD

    Displays the local ground level value if used, if not then use the national one.

    • Migrated
    • Share
    • History
    • More
    • Cancel
    • wiki.author Created by Bentley Colleague wiki.author
    • When: Tue, Jun 9 2020 9:19 PM
    • Revisions: 1
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies