Apr 10, 2007 #1 T tea_xiao Newbie level 5 Joined Dec 29, 2005 Messages 9 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,346 gegeteditcellview() When I use the function "dbDeleteObject(inst)" to remove a mosaic instance in a layout, there is a warning message in CIW. *WARNING* You can't delete the mosaicInst in the simple mosaic. How to fix it? Thanks a lot.
gegeteditcellview() When I use the function "dbDeleteObject(inst)" to remove a mosaic instance in a layout, there is a warning message in CIW. *WARNING* You can't delete the mosaicInst in the simple mosaic. How to fix it? Thanks a lot.
Apr 11, 2007 #2 H Hughes Advanced Member level 3 Joined Jun 10, 2003 Messages 715 Helped 113 Reputation 226 Reaction score 26 Trophy points 1,298 Activity points 5,984 dbdeleteobject I created a mosaic and selected it. Then, inst=car(geGetSelSet()) dbDeleteObject(inst) The mosaic was deleted. So I don't know what's your problem.
dbdeleteobject I created a mosaic and selected it. Then, inst=car(geGetSelSet()) dbDeleteObject(inst) The mosaic was deleted. So I don't know what's your problem.
Apr 16, 2007 #3 T tea_xiao Newbie level 5 Joined Dec 29, 2005 Messages 9 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,346 (mosaicinst) I do these steps: 1. cv = geGetEditCellView() 2. foreach( inst cv~>instances dbDeleteObject(inst) ) The error message appears in the CIW.
(mosaicinst) I do these steps: 1. cv = geGetEditCellView() 2. foreach( inst cv~>instances dbDeleteObject(inst) ) The error message appears in the CIW.
Apr 18, 2007 #4 H Hughes Advanced Member level 3 Joined Jun 10, 2003 Messages 715 Helped 113 Reputation 226 Reaction score 26 Trophy points 1,298 Activity points 5,984 mosaicinst Code: foreach(inst cv~>instances if(inst~>objType=="mosaicInst" then dbDeleteObject(inst~>mosaic) else dbDeleteObject(inst) ) )
mosaicinst Code: foreach(inst cv~>instances if(inst~>objType=="mosaicInst" then dbDeleteObject(inst~>mosaic) else dbDeleteObject(inst) ) )