2007-07-31 03:05 UTC
reposted from SourceForge:
I may be suffering from brain drain ...
Using the Layer Combo I have this or similar code in a couple of routines ...
Essentially, I had imagined that the code provided a filtered layer list to the LayerCombo.
.. in this case filtering out XRef Layers
Either it's stopped working or I delusionally believed it did work.
Any ideas ?
/// kwb
I may be suffering from brain drain ...
Using the Layer Combo I have this or similar code in a couple of routines ...
(DEFUN c:SSP99-01_F_OnInitialize (/ layerList)
(SETQ g:BlockLayer "ST-BLOCKS"
g:DimScaleFactor (GETVAR "DIMSCALE")
)
(CTAU:ASSERTLAYER g:BlockLayer)
(SETQ
layerList (VL-REMOVE-IF
'(LAMBDA (var) (WCMATCH var "*$*"))
(CTAU:LISTCOLLECTIONMEMBERNAMES (CTAU:IACADLAYERS))
)
)
(DCL_COMBOBOX_ADDLIST SSP99-01_F_BlockLayerCombo layerList)
(DCL_COMBOBOX_SELECTSTRING SSP99-01_F_BlockLayerCombo g:BlockLayer)
(IF (NOT gvar:SSP99DataList)
(PROMPT "\n Data List To Be initialised.")
)
) Essentially, I had imagined that the code provided a filtered layer list to the LayerCombo.
.. in this case filtering out XRef Layers
Either it's stopped working or I delusionally believed it did work.
Any ideas ?
/// kwb