Design Scripts

Anyone know where I can find a good thread fully describing these? Here is what I am looking to do, maybe I don't need a design script and there is a better way of doing it.

I have existing elements on their respective levels in my profile. Right now they are on a 0 weight and "grey-scale" color. Our client might want this changed to non-grey-scale and a weight 1 down the road. Instead of going to all 50 plan & profiles and changing it back and forth. I would like to do something like (I dont know much about "coding" or anything mind you), levelname = color,weight,style.

Is there a way to achieve this quickly using a design script/pen table? 

Microstation V8i Select Series 3
Bentley GEOPAK V8i (SELECTseries 3) 08.11.09.493 for Microstation V8i on Windows x86
OS: Microsoft Windows 7 Profressional
System Model: HP Z820 Workstation
System Type: x64-based PC
ProcessorL Intel(R) Xeon(R) CPU E5-2631 0 @ 2.30GHz, 2301 Mhz, 6 Core(s)
(RAM) 8.00GB
CAD User for 2 years

Parents
  • Yes, there is.  You can use either a design script or a pen table to test on these elements and then specify the output weight/color at print time.  What attributes separate these elements from all others beside weight=0 and color?  What index is the grey-scale color?  Also, do you want to test on all files (master and reference) or specific levels?

     



  • What attributes separate these elements from all others beside weight=0 and color?

    Level name, style. They are elements just drawn in the profile using regular v8i s3. They are in a file being referenced in.

    What index is the grey-scale color?

    Colors 232-236 plot various degrees of grayscale/half-tones.

    PEN(1)=(0-255)/RGB=(  0,  0,  0)  ;BLACK

    PEN(2)=(232)  /RGB=(245,245,245)

    PEN(3)=(233)  /RGB=(215,215,215)

    PEN(4)=(236)  /RGB=(186,186,186)

    PEN(5)=(235)  /RGB=(156,156,156)

    PEN(6)=(234)  /RGB=(127,127,127)

    We use varying .plt(s) currently. This is the setting set up on all of them. I have yet to convert them to .pltcfg yet.

    Also, do you want to test on all files (master and reference) or specific levels?

    I think for my needs for this and in the future, I would like to do it for specific levels. I have a level.dgnlib that we use to standardize what levels our jobs get. So if I can easily go to a job and have a certain "script" I can insert for how each different client likes to see the certain levels. That would be really useful.

    Thank you for the quick reply.

  • Using a MicroStation pen table will probably be the easiest method for you not being familiar with either.  In the Print dialog, select Resymbolization - New Pen Table.  Enter a name.tbl and select Save.  This will open the new pen table in the Modify Pen Table dialog.  A new section will be automatically added.  You can add other sections under the Edit menu.  There are two tabs on the right.  In the Element Selection Criteria, select the attributes you want to test on: Color ( enter 232-236), Level (select the Level item and a list of levels will be presented, pick the appropriate ones), Weight (enter 0).  On the Element Output Actions tab, check mark the color and take the default By Index 0, check mark Weight and select 1 from the options.  Save the pen table and attach at the bottom of the Print dialog or in Print Organizer.

    There is detailed information regarding Pen Tables in the MicroStation online help (Help - Contents) under Working with Complete Designs - Printing - Print Resymbolization and Pen Tables.

    Give it a try and let me know if you have any questions or problems.



    Answer Verified By: JROADS 

Reply
  • Using a MicroStation pen table will probably be the easiest method for you not being familiar with either.  In the Print dialog, select Resymbolization - New Pen Table.  Enter a name.tbl and select Save.  This will open the new pen table in the Modify Pen Table dialog.  A new section will be automatically added.  You can add other sections under the Edit menu.  There are two tabs on the right.  In the Element Selection Criteria, select the attributes you want to test on: Color ( enter 232-236), Level (select the Level item and a list of levels will be presented, pick the appropriate ones), Weight (enter 0).  On the Element Output Actions tab, check mark the color and take the default By Index 0, check mark Weight and select 1 from the options.  Save the pen table and attach at the bottom of the Print dialog or in Print Organizer.

    There is detailed information regarding Pen Tables in the MicroStation online help (Help - Contents) under Working with Complete Designs - Printing - Print Resymbolization and Pen Tables.

    Give it a try and let me know if you have any questions or problems.



    Answer Verified By: JROADS 

Children