Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Forum iplot design script
    • Sign In

    • Replies 1 reply
    • Subscribers 60 subscribers
    • Views 1938 views
    • Users 0 members are here
    • ProjectWise InterPlot Organizer
    • design scripts
    • IPLOT

    iplot design script

    Tom Kaufmann
    Offline Tom Kaufmann over 13 years ago

    Hi,

    Does anybody have an example of an iplot design script that works for acad files where all the line strings have widths, not weights, widths.

    I would imagine it could be something like

    if (line width == 0.05) then
        thickness = .01
    else if (line width == 0.66) then
        thickness = .015

    I have tried width, that didn't work.

     

    Thank you,

    TK

     

    • Sign in to reply
    • Cancel
    • Jo Terri Wright
      Offline Jo Terri Wright Wed, Jul 21 2010 8:14 PM

      Try width == , not line width ==. Below is an example from help of the syntax. You need to define the units and the type as well.

      units = inches

      if (type .in. 3,4,12,15,16) then

        if (width == 0:0:050) then

           color = 1

        else if (width == 0:0:100) then

           color = 2

        else if (width == 0:0:150) then

           color = (30,50,100)

        else if (width == 0:0:200) then

           color = (100,0,0)

        else if (width > 0:0:300) then

           color = (0,0,0)

        endif

      endif


      This is a test

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • 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