Yes, don't put any quotes around the value, just nil. or type this at the
command line
(setq GBL_wd_ploc nil)
Also for project-values you will probably have to save the active drawing.
When the old Freshen button was selected it would ask if you wanted to save.
This makes sure that any changes on the active drawing make it into (or out
of) the project database. Did you save the drawing?
Once we get this workaround actually working you could think about adding it
to the menu call prior to calling the command that will need the updated
list. Then it would be more automatic, if you wish.
Pat
wrote in message news:5143711@discussion.autodesk.com...
Oops I must have typed in Nil instead of nil. Double quotes will produce the
same error. I got the dialog to appear but the unwanted value still exists
in the list. Assuming there is an item with this location code I did a find
and replace component text Project wide and the unwanted value is not in
this list see attached.
TRACE DEBUG MODE ON RESULTS:
Command: name=GBL_wd_ploc
value=Nil
"Nil"
Command:
Command:
Command:
Command:
Command:
Schematic Components list --> Pane
l Layout
IN:wd_plo_lout_doit
wd_1a_gn_getenv WD_XCAT=nil
IN:wd_pitem_d_itemlst
Extracting item numbers in use...
IN:wd_ped_ssget_pnlitems ssget lst=((-4 .
(?I?_WD_FP)) (-3 (?I?_WD_NP)) (-3 (?I?_WD_FPT)) (-4 . OR>) (-4 . AND>))
sslength=61
IN/OUT:wd_ped_is_it_pnl=nil
IN/OUT:wd_ped_is_it_pnl=FP
OUT:wd_ped_ssget_pnlitems
IN/OUT:wd_1_get_pnlval P_ITEM =
OUT:wd_pitem_d_itemlst
IN:plo_pnl_toggle_include
IN:plo_auto_sort
IN:wd_dsp_qua
dintsort=(3 7 1 1)
IN:wd_4_selsort
OUT:wd_4_selsort
OUT:wd_dsp_quadintsort
IN:plo_build_FP_dsplst
IN/OUT:show_dsplst
OUT:plo_build_FP_dsplst
OUT:plo_auto_sort
IN:plo_build_FP_dsplst
IN/OUT:show_dsplst
OUT:plo_build_FP_dsplst
OUT:plo_pnl_toggle_include
IN:plo_rehilight
OUT:plo_rehilight
IN:wd_wd2p_read_ext_fnam=nil
IN:wd_wd2p_extract_cmp
IN:wd_loc_inst_or_locs_for_proj
IN:wd_1_cserr
Error: bad argument type: listp "Nil"
IN/OUT:wd_dbase_releaseallhandles_.REDRAW
Command: