Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Forum Can you grab part of a variable? For example, just the left 6 characters?
    • Sign In

    • State Not Answered
    • Replies 2 replies
    • Subscribers 63 subscribers
    • Views 284 views
    • Users 0 members are here

    Can you grab part of a variable? For example, just the left 6 characters?

    Christopher Williams
    Offline Christopher Williams over 1 year ago

    Is there a way to grab only part of a variable? For example, say I have something defined as:
    PROJ_TITLE : $(LASTDIRPIECE(DMS_PARENTPROJECT(_DGNDIR))

    That gives me our title for a project which is the project number and name. Something like "654321 Really Big Project"  I want to get JUST the project number out of that returned result. Is there a way to grab just the left 6 characters? Like in Excel you can grab part of a cell's value, is there any way to do that in ProjectWise configurations?

    Something like ... ???
    PROJ_NUMBER : $(LEFT_6(PROJ_TITLE)

    Thanks,
    Chris

    • Sign in to reply
    • Cancel
    • Kevin van Haaren
      0 Offline Kevin van Haaren Thu, Aug 11 2022 12:27 AM

      No, but this is more a limitation of Microstation than Projectwise. Except for adding DMS_PROJECT and DMS_PARENTPROJECT Projectwise managed workspaces can only do what microstation can do.

       

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Tony Zhang
      0 Offline Tony Zhang Mon, Feb 27 2023 12:11 AM

      I'm in the same boat. It would be great to have this functionality.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel

    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