Author Topic: What can remove a dictionary from a drawing?  (Read 1953 times)

0 Members and 1 Guest are viewing this topic.

Atook

  • Swamp Rat
  • Posts: 1029
  • AKA Tim
What can remove a dictionary from a drawing?
« on: January 23, 2018, 01:17:48 PM »
Just had a weird bug show up in my app where a dictionary that was created on the NOD via .NET disappeared. Two other dictionaries created with the same methods remained, so I don't think it's a problem with the dictionary creation/saving code.

I'm trying to figure out how this could have happened, I tried the purge command, but that didn't do it.

I imagine WBLOCK could do it, but only one of the three dictionaries was removed. I would imagine WBLOCK would remove all the dictionaries, keeping only drawing entities.

The drawing may have been opened in both AutoCAD and Bricscad, but again, I've tested that a few times and it hasn't been a problem.

Any ideas?

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: What can remove a dictionary from a drawing?
« Reply #1 on: January 23, 2018, 02:43:31 PM »
UNDO?

Did it go missing after closing the drawing/application, or was this in the same session?
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

Atook

  • Swamp Rat
  • Posts: 1029
  • AKA Tim
Re: What can remove a dictionary from a drawing?
« Reply #2 on: January 23, 2018, 02:57:26 PM »
Different sessions.


MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: What can remove a dictionary from a drawing?
« Reply #3 on: January 23, 2018, 03:24:46 PM »
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst