PDA

View Full Version : One click delete



glogowwk
01-11-2010, 01:31 PM
I’m having an issue with tags getting accidentally deleted from data manager. I seem to remember, in past projects, a dialog box asking if you were sure you wanted to delete a tag. This was to prevent someone from hitting the delete key and deleting an entire tag from data manager in one click. That warning is not popping up in this newly created project.

Bill

Aplant Monkey
01-11-2010, 01:36 PM
first off are you using the AutoPlant Group Erase function? This will prompt you, if not then AP will not using regular ACAD erase command.

you can also switch in your project.ini file to not allow for Tag Deletion near the top of the file

glogowwk
01-11-2010, 01:47 PM
I’m only referring to data manager. There are multiple users on the project and sometimes they hit the delete key on the keyboard. When they do so, the tag is gone without warning.

I’m not sure what you mean by not allowing tag deletion near the top of the file.

Aplant Monkey
01-11-2010, 01:52 PM
Sorry I didn't get that you were speaking of DM only.

in your project.ini file there is an option that you can switch so that a tag is never deleted completely just removed from active use. you can then reuse it later if wanted. this particulary comes in handy when you have files linked to the tag and don't want them deleted along with the tag. If you are not the Admin for this project you should speak with that person to make this change.

Also I just checked my DM and when I right click on a tag I am able to delete it but I get a warning first. Is this what you are speaking of? The regular Delete key will not work for me as it does nothing in DM

awerning
01-11-2010, 02:00 PM
What version of AutoPLANT are we talking about here?

glogowwk
01-11-2010, 02:22 PM
The warning is what I'm talking about. I want it to appear.

We're using AutoPLANT XM.

PeterJ
01-11-2010, 02:31 PM
There are some differences in prompts, depending on what you are deleting.
I have created a Service ticket about that, see content below :
Description: inconsistent tag deletion
Details: The tag delete command has different behaviour in different lists :

Equipment list :
Item is deleted without warning

Valve list :
There is a confirmation pop-up + delete is not possible when item is in p&id

Line list :
There is a confirmation pop-up + delete is not possible when item is in p&id

Process instrument list :
There is a confirmation pop-up + delete is possible when item is in p&id
Deleting tags should be according to the same rules in all lists. The possibility of deleting a tagnumber that exisits in a document should be managed by a parameter
in project.ini.


I'll check on the status and let you know
ps : this was tested in V8i

PeterJ
01-11-2010, 02:39 PM
It's in the tracker database at the Bentley software dept, so it should be resolved in an upcoming patch or release.
in the meanwhile, i advise to set the DeleteTagnumbers parameter to YES in the project properties.

glogowwk
01-11-2010, 03:36 PM
I would very much like to see what happens with that service ticket. The funny thing is we've done other projects with all the same software and this was never an issue. The confirmation pop-up always always worked. Even with the equipment list.

The delete tag numbers properties is already set to yes.

PeterJ
01-12-2010, 12:29 AM
sorry, it should be NO, my misake (shouldn't answer support calls at midnight)

PeterJ
01-12-2010, 12:33 AM
with the parameter set to NO, all deleted items will stay in the database, but with parameter PROJ_STAT in TAG_REG/INSTR set to DEL. You can use a delete query to get rid of those (through a macro or a form in DATA manager), but then you need to clean ALL affected tables (ex. for equip : EQUIP, TAG_REG, KEY_LINK, eqp_LNK ) or you can just filter these out from the lists and reports.

glogowwk
01-13-2010, 08:13 AM
I was really hoping there would be some place that I could just turn this "Are you sure?" prompt on.

glogowwk
01-13-2010, 11:44 AM
Even with the parameter set to no, the delete key on the keyboard still deletes the tag without any kind of prompt.

glogowwk
01-14-2010, 08:19 AM
I wrote a service ticket and it seems this issue is a bug in XM with no fix and no patch. I'm told the problem is fixed in V8i. :rolleyes:

dave
01-14-2010, 09:35 AM
thanks for the follow up glogowwk!

glogowwk
03-30-2010, 05:04 PM
Looks like there is a patch now. The delete key has been subdued.

PeterJ
04-01-2010, 01:39 PM
this is the result from a test in V8i ....
(has been etered as service request - solution will be in V8i SR2)

Product: Data Manager
Version: 08.11.5.37

Description: inconsistent tag deletion
Details: The tag delete command has different behaviour in different lists :

Equipment list :
Item is deleted without warning

Valve list :
There is a confirmation pop-up + delete is not possible when item is in p&id

Line list :
There is a confirmation pop-up + delete is not possible when item is in p&id

Process instrument list :
There is a confirmation pop-up + delete is possible when item is in p&id

Deleting tags should be according to the same rules in all lists. The possibility of deleting a tagnumber that exisits in a document should be managed by a parameter in project.ini.