Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
[Archived] Project Review Forum Regular Expression in Suppression Rule
    • Sign In

    • State Suggested Answer
    • Replies 3 replies
    • Answers 1 answer
    • Subscribers 10 subscribers
    • Views 2520 views
    • Users 0 members are here

    Regular Expression in Suppression Rule

    Shawn Foster
    Offline Shawn Foster over 7 years ago

    Navigator SS5 08.11.09.536

    I would like to know how to use a regular expression (or other technique) in a value.

    Use case:  I have a rule that compares two different values in two different class elements.

    The property in one value drives the comparison of the second value.

    So what I'm really trying to do is this:    Suppress clashes if one of the clashing elements has CLASSOBJECT1.PROPERTY set to <Value> AND the other has the property CLASSOBJECT1.PROPERTY set to <same value> - String

    Where in the above example... I have a class where a property value is set to 1000.  I want to clash another class where a different object is set to 1000-A1.    1000 is the variable...

    Please and thank you.

    • Sign in to reply
    • Cancel
    • Joe Granville
      0 Offline Joe Granville Wed, Sep 30 2015 4:39 PM

      Hi Shawn,  You can create a new suppression rule by going to the rules tab and selecting new.  I believe from what you are describing, the "Suppress clashes between elements with specific property values" would be the appropriate template. 



      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Reject Answer
      • Cancel
    • Shawn Foster
      0 Offline Shawn Foster Wed, Sep 30 2015 6:13 PM in reply to Joe Granville
      Thanks for this, Joe...this is the rule I'm using...I'm trying to figure out what to put in the value when the first property value is a variable.

      Thanks,

      Shawn

      ------------

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Shawn Foster
      0 Offline Shawn Foster Thu, Oct 1 2015 8:31 AM

      correction: it should be CLASSOBJECT1.PROPERTY and CLASSOBJECT2.PROPERTY....two distinct classes

      Thanks,

      Shawn

      ------------

      • 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