This Client Server article is republished in its entirety from 2004 for reference purposes.
Did you know that you can use ProjectWise-related keywords in InterPlot Design Script language?
With Digital InterPlot 2004 Edition, ProjectWise components can be identified with new Design Script (iplot pen table) keywords to resymbolize the plots, and to create content-rich PDF documents.
The available ProjectWise component keywords are:
Example design script for resymbolization:
! If the PW component is a P0409 pump, then change its color to RED.
if (pw_component_business_key .EQ. "P0409") then
color = (255, 0, 0)
endif
Example design script for resymbolization and to create a bookmark:
! This design script resymbolizes (highlights) those items! that require maintenance in a facilities drawing and creates a! bookmark that points to that item.!! Check to see if the element is a ProjectWise componentif ( pw_component_class_name .ne. "") then! Set the Requires_Maintenance property! and plot the element red.pw_component_property_name = "Requires_Maintanence"if (pw_component_property_value_integer eq 1) thencolor = "red"! Define a Bookmark that will navigate! to the piece of equipment.action_item = BOOKMARKaction_name = PLOT_NAME + "." + PW_COMPONENT_BUSINESS_KEYaction_type = AREA_OF_INTERESTaction_instance = SINGLE_INSTANCEendifendif
You can find more information about these action key words and rendition features in InterPlot Reference Help under the section for Plotting MicroStation data, Using Design Script/Pen Tables, Iplot keywords for Active Renditions and Creating Active Renditions.
Client Server Archive
ProjectWise TechNotes And FAQs
Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!
Original Author: Bentley Technical Support Group