Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Publishing Forum Substituting text with PW's user description instead of OS's user name using Iplot
    • Sign In

    • State Suggested Answer
    • Replies 1 reply
    • Answers 1 answer
    • Subscribers 7 subscribers
    • Views 3204 views
    • Users 0 members are here

    Substituting text with PW's user description instead of OS's user name using Iplot

    ArmenM
    Offline ArmenM over 6 years ago

    With rendition we use text substitution to get user’s full name (which is user’s description) on PDF. However, if the user plots directly to plotter the plot shows his username (CHARACTERS == '$UserName$' in design script) . Is there a way we I can use the substitution to get user’s description from the ProjectWise instead of username from OS?

    For example: if the user’s name is u012346 and his description in PW is Joe Smith I want to get Joe Smith on the plot.

    • Sign in to reply
    • Cancel
    Parents
    • Todd Combs
      0 Offline Todd Combs Thu, Aug 31 2017 12:16 PM

      The following will work with iCS for PDF:

      if (characters == "$USER") then

         envr_var = "RENDSVC_USERDESC"

         characters = envr_value

      endif

      However, IPLOT does not have logic to process PW variables other than those documented in the Help. Enhancement 746843 is filed.

      Enhancement 746843: Requesting design script text substitution variable to print the ProjectWise User description.



      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Reject Answer
      • Cancel
    Reply
    • Todd Combs
      0 Offline Todd Combs Thu, Aug 31 2017 12:16 PM

      The following will work with iCS for PDF:

      if (characters == "$USER") then

         envr_var = "RENDSVC_USERDESC"

         characters = envr_value

      endif

      However, IPLOT does not have logic to process PW variables other than those documented in the Help. Enhancement 746843 is filed.

      Enhancement 746843: Requesting design script text substitution variable to print the ProjectWise User description.



      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Reject Answer
      • Cancel
    Children
    No Data

    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