Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Publishing Wiki Style keywords in design script are causing different line styles to continuous.
    • Sign In

    Style keywords in design script are causing different line styles to continuous.

      Product(s): ProjectWise InterPlot Organizer
      Version(s): 10.00.00.42
      Environment: N\A
      Area: Organizer
      Subarea: N\A

    Problem

    Style keywords in design script are causing different line styles to plot out continuous.

    Using a design script such as the one below:

     
    if (style == 1) then
                   style = (0.35, 1.05)                                                        ; style = dot
    else if (style == 2) then
                   style = (1.75, 1.05)                                                        ; style = med dash
    else if (style == 3) then
                   style = (5.08, 1.27)                                                        ; style = long dash
    else if (style == 4) then
                   style = (2.8, 1.05, .7, 1.05)                                            ; style = dot-dash
    else if (style == 5) then
                   style = (1.4, 1.4)                                                            ; style = short-dash
    else if (style == 6) then
                   style = (2.1, 0.7, 0.7, 0.7, 0.7, 0.7)                                ; style = dash-dot-dot
    else if (style == 7) then
                   style = (0.8, 0.7, 1.4, 0.7)                                              ; style = long dash-short dash
    endif



    Solution

     

    Try chaning the design to the one below:

    if (first_time) then
           style_1 = (0.35, 1.05)                           ; style = dot
           style_2 = (1.75, 1.05)                           ; style = med dash
           style_3 = (5.08, 1.27)                           ; style = long dash
           style_4 = (2.8, 1.05, .7, 1.05)                  ; style = dot-dash
           style_5 = (1.4, 1.4)                             ; style = short-dash
           style_6 = (2.1, 0.7, 0.7, 0.7, 0.7, 0.7)         ; style = dash-dot-dot
           style_7 = (0.8, 0.7, 1.4, 0.7)                   ; style = long dash-short dash
    endif



     



      Original Author: Van Kendall
    • Organizer
    • ProjectWise InterPlot Organizer
    • ProjectWise
    • en
    • SELECTsupport
    • 08.11.11.56
    • Share
    • History
    • More
    • Cancel
    • Van Kendall Created by Van Kendall
    • When: Fri, Mar 31 2017 2:24 PM
    • Van Kendall Last revision by Van Kendall
    • When: Fri, Mar 31 2017 2:53 PM
    • Revisions: 3
    • 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