A better understanding of hilight objects I understand how to create a hilight set and a hilight draw object The problem I am having is when I want to draw another hilite set the first one disappears. How do I switch to other hilight sets and keep the other hilight sets Delete specific hilight set or delete hilight objects of a hilight set. Some of my work in progress scripts to show my methodology or process ( some of the scripts may reference others that are not shown ) What I am looking for or inquiring about is a better understanding of the process of hilight sets and objects. What am I missing from the scripts to draw multiple hilight sets? procedure(stdLib_hilightMarker(shp xy mag) let( (mkrShpPts trans (hLpp '("hilite" "drawing4")) (hlSet geGetCurrentWindowHilightSet(hiGetCurrentWindow())) ) if(null(boundp('hlSet)) || null(geIsValidHilightSet(hlSet)); || getWarn() stdLib_hiliteLpp(hLpp)) mkrShpPts = stdLib_markerShape(shp) trans = list( list(xCoord(xy) yCoord(xy)) "R0" mag) mkrShpPts = stdLib_transPts(mkrShpPts trans) if(hlSet && mkrShpPts geAddHilightLine(hlSet mkrShpPts)) ); end of let ); end of stdLib_hilightMarker procedure(stdLib_hiliteLpp(lpp) let( (hlSet) stdLib_SetValid(lpp) hlSet = geCreateWindowHilightSet(hiGetCurrentWindow() lpp t) gePushHilightStack(hlSet) hlSet~>enable = t geDrawHilightSet(geGetEditCellViewWindow(geGetEditCellView()) hlSet) hlSet ); end of let ); end of stdLib_hiliteLpp procedure(stdLib_deleteHiliteSet() when(geGetCurrentWindowHilightSet(getCurrentWindow()) ;geDeleteHilightSet(hlSet)) geDeleteAllWindowHilightSet(hiGetCurrentWindow())) ) Paul
↧