|
发表于 2014-6-21 16:00:54
|
显示全部楼层
在pdmsuser目录中有个文件:%pdms_installed_dir%\pdmsuser\des-col.pmldat,内容如下:-- Data file for graphical colour options
!!tmpGphColOpt.ce.colour(|yellow|)
!!tmpGphColOpt.active.colour(|orangered|)
!!tmpGphColOpt.aids.colour(|springgreen|)
!!tmpGphColOpt.visible.colour(|lightgrey|)
!!tmpGphColOpt.highlight.colour(|brightred|)
!tempArray = ARRAY()
!gphAutoColourRul = |Structural Hull Zones|
!gphAutoColTnslVal = 0
!gphAutoColEdgeOn = TRUE
!gphAutoColourCol = object COLOUR(|forestgreen|)
!gphAutoColour = object GPHAUTOCOLOUR(!gphAutoColourRul, !gphAutoColourCol, !gphAutoColTnslVal, !gphAutoColEdgeOn)
!tempArray[1] = !gphAutoColour
!gphAutoColourRul = |All Sections|
!gphAutoColTnslVal = 0
!gphAutoColEdgeOn = FALSE
!gphAutoColourCol = object COLOUR(|steelblue|)
!gphAutoColour = object GPHAUTOCOLOUR(!gphAutoColourRul, !gphAutoColourCol, !gphAutoColTnslVal, !gphAutoColEdgeOn)
!tempArray[2] = !gphAutoColour
!gphAutoColourRul = |All Equipment|
!gphAutoColTnslVal = 0
!gphAutoColEdgeOn = FALSE
!gphAutoColourCol = object COLOUR(|tan|)
!gphAutoColour = object GPHAUTOCOLOUR(!gphAutoColourRul, !gphAutoColourCol, !gphAutoColTnslVal, !gphAutoColEdgeOn)
!tempArray[3] = !gphAutoColour
!gphAutoColourRul = |All Hangers|
!gphAutoColTnslVal = 0
!gphAutoColEdgeOn = FALSE
!gphAutoColourCol = object COLOUR(|powderblue|)
!gphAutoColour = object GPHAUTOCOLOUR(!gphAutoColourRul, !gphAutoColourCol, !gphAutoColTnslVal, !gphAutoColEdgeOn)
!tempArray[4] = !gphAutoColour
!gphAutoColourRul = |All Pipe Branches|
!gphAutoColTnslVal = 0
!gphAutoColEdgeOn = FALSE
!gphAutoColourCol = object COLOUR(|gold|)
!gphAutoColour = object GPHAUTOCOLOUR(!gphAutoColourRul, !gphAutoColourCol, !gphAutoColTnslVal, !gphAutoColEdgeOn)
!tempArray[5] = !gphAutoColour
!gphAutoColourRul = |Industrial Buildings CFloors|
!gphAutoColTnslVal = 0
!gphAutoColEdgeOn = FALSE
!gphAutoColourCol = object COLOUR(|lightgrey|)
!gphAutoColour = object GPHAUTOCOLOUR(!gphAutoColourRul, !gphAutoColourCol, !gphAutoColTnslVal, !gphAutoColEdgeOn)
!tempArray[6] = !gphAutoColour
!!tmpGphColOpt.autoColourRules = !tempArray
!!tmpGphColOpt.autoColour = TRUE
!!tmpGphColOpt.dynamicAutoColour = TRUE
在这里定义了自动颜色的规则。
|
|