AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Freshen button missing

17 REPLIES 17
Reply
Message 1 of 18
JeffatSJE
268 Views, 17 Replies

Freshen button missing

Schematic Components List --> Panel Layout Insert

Wasn't there a freshen button on some of the search and replace dialog boxes also?
see attached

AE2007
17 REPLIES 17
Message 2 of 18
Anonymous
in reply to: JeffatSJE

There was a Freshen and this is a known issue that this list isn't always
"Freshened" automatically as it should be now that the button is gone. As a
workaround you may have to reset a global variable to trigger the Freshen.
Below is the list of varaible names that you would set to nil. You can use
the Projects->Extras->Set Global Variable Value and enter the variable name
and nil as the value. If it is a project-wide list you may also have to save
your drawing.

GBL_wd_dlc = drawing wide Locations values
GBL_wd_dinst = drawing wide Installation values
GBL_wd_ploc = project wide Location values
GBL_wd_pinst = project wide Installation values

You can also do this at the command line or even program it into a menu
command prior to another command that might use this list.

(setq GBL_wd_dlc nil)
(setq GBL_wd_dinst nil)
(setq GBL_wd_ploc nil)
(setq GBL_wd_pinst nil)

Hopefully this will help until the fix is in place.
Pat Murnen


wrote in message news:5142388@discussion.autodesk.com...
Schematic Components List --> Panel Layout Insert

Wasn't there a freshen button on some of the search and replace dialog boxes
also?
see attached

AE2007
Message 3 of 18
JeffatSJE
in reply to: JeffatSJE

How soon before a fix? setting those variables to nil seems to make it worse. I get no dialog box at all.
Message 4 of 18
Anonymous
in reply to: JeffatSJE

Jeff, can you provide more details as to what you are doing and what you are
picking that should bring up the dialog. Maybe a different workaround is in
order. I'm afraid I can't comment on fixes or timings for fixes.

Pat Murnen

wrote in message news:5143608@discussion.autodesk.com...
How soon before a fix? setting those variables to nil seems to make it
worse. I get no dialog box at all.
Message 5 of 18
JeffatSJE
in reply to: JeffatSJE

I was trying to get all parts "project wide" on a single location see attached. The top value in the list is not supposed to be there. There used to be a Freshen button to confirm this.
Message 6 of 18
JeffatSJE
in reply to: JeffatSJE

Opp I forgot to attach file see attached
Message 7 of 18
Anonymous
in reply to: JeffatSJE

I can't reproduce the problem of the dialog not appearing after I've set the
variable to nil. Can you attach a print out of the command line or even a
video if you have something that can capture video. Does it lock up or just
do nothing or something else?

Pat Murnen


wrote in message news:5143640@discussion.autodesk.com...
Opp I forgot to attach file see attached
Message 8 of 18
JeffatSJE
in reply to: JeffatSJE

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 --> Panel 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_quadintsort=(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:
Message 9 of 18
Anonymous
in reply to: JeffatSJE

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:
Message 10 of 18
JeffatSJE
in reply to: JeffatSJE

Ok it still does not solve the problem. The two lists do not concur with each other. The unwanted value exists in the Schematic Components list --> Panel Layout dialog (named location) but does not show up in the Components Text Find/Edit/Replace dialog (location code) These lists should match should they not?
Message 11 of 18
JeffatSJE
in reply to: JeffatSJE

After looking at the scratch database I come to the conclusion that AE does not include the PLCIO table in the Find/Edit/Replace Component text routine but does in the Schematic Components List --> Panel Layout routine.
Message 12 of 18
Anonymous
in reply to: JeffatSJE

It looks like you are right about the Find/Edit/Repalce, that it doesn't
look at the PLCIO table. I will log this issue into our tracking system.

I wasn't clear from your other message if the list is correct for the other
circumstances yet. Does saving the drawing and setting the variable to nil
correct that one?

Pat Murnen

wrote in message news:5144233@discussion.autodesk.com...
After looking at the scratch database I come to the conclusion that AE does
not include the PLCIO table in the Find/Edit/Replace Component text routine
but does in the Schematic Components List --> Panel Layout routine.
Message 13 of 18
JeffatSJE
in reply to: JeffatSJE

The saving the drawing and setting the variable to nil works fine but without being able to remove the unwanted location value(s) from the PLCIO table those value(s) will still show up in the list. Until the PLCIO table issue is resolved the unwanted value(s) will still show up in the list regardless of saving the drawing and setting the variable to nil (simulating a Freshen). At least the problem has been logged. 🙂
Message 14 of 18
Anonymous
in reply to: JeffatSJE

I'm sorry if I am not understanding the problem completely. I am unclear on
how an unwanted value would show up in the listing. You are right that the
Find/Edit/Replace Component Text feature does not look in the PLCIO table
but that seems like that would result in Location values missing from the
listing rather than extra ones that shouldn't be there.

Say you have Location values L1, L2, L3 and L3 only is used on a PLC module.
Then when you pick the List button from the Find/Replace dialog it would
only show L1 and L2. L3 would be missing. This is the issue that I logged.

Can you more fully describe how an unwanted value would show up in the
listing? I want to make sure I am logging all the issues.

Pat Murnen

wrote in message news:5144426@discussion.autodesk.com...
The saving the drawing and setting the variable to nil works fine but
without being able to remove the unwanted location value(s) from the PLCIO
table those value(s) will still show up in the list. Until the PLCIO table
issue is resolved the unwanted value(s) will still show up in the list
regardless of saving the drawing and setting the variable to nil (simulating
a Freshen). At least the problem has been logged. 🙂
Message 15 of 18
JeffatSJE
in reply to: JeffatSJE

I think I see your confusion. You are right about the missing value in the Find/Edit Replace Component Text (location code)
due to AE not searching the PLCIO table. The list I am talking about is the Named Location list (project wide button) Schematic Components List ---> Panel Layout Insert dialog. See project1loc.zip file in my fourth post. This list currently shows all location codes including the PLCIO table. Unless I go into the PLCIO table and manually delete the unwanted location values they will still appear in the Named Location list (project wide button)
Message 16 of 18
Anonymous
in reply to: JeffatSJE

The LOC value that is unwanted, is it still actually used by a PLC?
Otherwise it shouldn't be in the PLCIO table of the project database unless
this is on and activ/unsaved drawing. But then saving the drawing would
update the PLCIO table and then the list. If it is in the PLCIO table
correctly then it should show in the listing. Sorry, I am still confused.

Pat

wrote in message news:5144651@discussion.autodesk.com...
I think I see your confusion. You are right about the missing value in the
Find/Edit Replace Component Text (location code)
due to AE not searching the PLCIO table. The list I am talking about is the
Named Location list (project wide button) Schematic Components List --->
Panel Layout Insert dialog. See project1loc.zip file in my fourth post. This
list currently shows all location codes including the PLCIO table. Unless I
go into the PLCIO table and manually delete the unwanted location values
they will still appear in the Named Location list (project wide button)
Message 17 of 18
JeffatSJE
in reply to: JeffatSJE

The LOC value (unwanted) exists in a stand-a-lone PLCIO block on a drawing somewhere in the project thus also in the PLCIO table. I would like to be able to change these values via the "Find/Edit Replace Component text dialog". Not being able to do this the unwanted LOC value shows up in the "Schematic Components List ---> Panel Layout Insert dialog" Named location list. If I knew that this LOC value only exits in a PLCIO point I would not care. But I do care that I get all components for LOC to be put on a panel.
Message 18 of 18
Anonymous
in reply to: JeffatSJE

OK. So now I am finally understanding I think. The list shown in the
Schematic to Panel listing is accurate because this LOC value is actually
used. The issue is that you want to find and change this LOC value using the
Find/Edit/Replace function but the value that you want to change does not
show up in this list for selecting. If you could change this LOC value using
Find/Edit/Repalce and then reset the variable, the listing for Insert
Schematic to Panel would update and the unwanted LOC value would not be
shown.

One thing I did find out which may or may not help, the Find/Edit/Replace
will actually find and replace these LOC values even though they do not show
up in the listing for selection. If you know the value, you can type it in
the edit box and run it across the project and it will find the PLC modules
with that value allowing you to change them. They just can't be picked from
the list.

Sorry I couldn't be more help,
Pat Murnen


wrote in message news:5145138@discussion.autodesk.com...
The LOC value (unwanted) exists in a stand-a-lone PLCIO block on a drawing
somewhere in the project thus also in the PLCIO table. I would like to be
able to change these values via the "Find/Edit Replace Component text
dialog". Not being able to do this the unwanted LOC value shows up in the
"Schematic Components List ---> Panel Layout Insert dialog" Named location
list. If I knew that this LOC value only exits in a PLCIO point I would not
care. But I do care that I get all components for LOC to be put on a panel.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost