Author Topic: Better database viewer?  (Read 9026 times)

0 Members and 1 Guest are viewing this topic.

zoltan

  • Guest
Better database viewer?
« on: February 11, 2006, 12:28:20 PM »
dbview.arx is, in my opinion, the best tool that has ever been witten for a Lisp programmer. Well maybe the second best, if you count the Visual Lisp IDE (remember writting lisp in notepad?). I love the bdview.  Not a Lisp coding day goes by that I don't go digging into dbview to see that my xdata is there or the structure of my dictionaries is correct.  I would not be able to live with out it.

DBView used to come with express tools a while ago and the it dissapeared beacuse autodesk claimed that it was a "potentialy dangorous" command.  It's still around; you can find it on the web. And it still works for 2006. But sometimes I wish it did more, or that somebody would make a better one.  I would love a BDView like application that could also create and delete entries in the database, run modeless, allowed you to see the contents of reactors, double click on a ename or handle to jump to that entry, and so on.

Is there out there a better AutoCAD database viewer/explorer/hacker?  maybe a commercial one? I'de pay good money for a seriously robust tool.

LE

  • Guest
Re: Better database viewer?
« Reply #1 on: February 11, 2006, 01:03:31 PM »
I never used that.... do you have an image showing what exactly, that APP used to do?

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Better database viewer?
« Reply #2 on: February 11, 2006, 01:13:14 PM »
You mean like this?



Sorry to be a tease, it's no where near distribution ready even tho I've toyed with it for awhile. It's written in VB6 Pro and based on a dcl variant that does many of the things you want -- double click an ename, jump to the entity's definition, see reactor data, xdata, dictionaries, scroll thru various collections, home, forward, back step like internet explorerbehavior yada, but it 's strictly read-only.

A significant problem with these utilities is custom objects. While earlier versions I wrote (I've written about a dozen variants over the years) relied on a hard coded list of properties and methods, latter variants employ more of a discovery method that works great for vanilla AutoCAD, but for verticals and third party add ons it has proven to be less successful, something that would have to be solved and coded in c++/arx -- not an arena I claim to have any expertise in.

Maybe Luis or Mick or ... will have a look at the screen grab(s) and go heh, I could do that ...

For those that want dbview.arx here it is and here's a screen grab:




Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

LE

  • Guest
Re: Better database viewer?
« Reply #3 on: February 11, 2006, 01:20:44 PM »
As always.... very professional [look] and must be an excellent application Michael.... nice!!!!

[btw, I never going to copy/based or trying to do a reverse-engineering of one of your applications my friend, even if I can...]

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Better database viewer?
« Reply #4 on: February 11, 2006, 01:44:02 PM »
As always.... very professional [look] and must be an excellent application Michael.... nice!!!!

[btw, I never going to copy/based or trying to do a reverse-engineering of one of your applications my friend, even if I can...]

Very nice of you to say Luis, esp. considering your legacy of mighty fine professionally written applications. If you want to tackle such an application you've my full blessing (but I'm not pressuring you either).

- Michael.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

zoltan

  • Guest
Re: Better database viewer?
« Reply #5 on: February 11, 2006, 01:49:47 PM »
Wow, that is a really sweet app, Michael.  I'll beta test it for you if you'd like  ;-)

It loolks like it lists all of the properties of the objects that ActiveX exposes.  The bdview llist the dxf data for the objects, which will sometimes tell you a lot more.  Does you app let you see the "raw" data for everything in the database?  Other things I would like dbview to do is be able to select a graphical object and zoom to it, even if you have to change space, jump layouts or turn on layers.  Also, if you could select some data and bind it to a Lisp symbol.  This would be particularly nice for things you can't type, like enames. I also would like to be able to select an object and hyperlink to its definition in the DXF reference and the ActiveX reference.

Keep up the good work, make it awesome and let me know when it is done.

LE

  • Guest
Re: Better database viewer?
« Reply #6 on: February 11, 2006, 01:58:00 PM »

Very nice of you to say Luis, esp. considering your legacy of mighty fine professionally written applications. If you want to tackle such an application you've my full blessing (but I'm not pressuring you either).

- Michael.

He he.... well my job title right now as per my signature... won't allow me to play with something like this for now, until I found a better position if I may.... I have other things to do on the mean time.... a lot of cleaning if you ask me....  :-)

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Better database viewer?
« Reply #7 on: February 11, 2006, 02:34:51 PM »
Wow, that is a really sweet app, Michael.  I'll beta test it for you if you'd like  ;-)

It loolks like it lists all of the properties of the objects that ActiveX exposes.  The bdview llist the dxf data for the objects, which will sometimes tell you a lot more.  Does you app let you see the "raw" data for everything in the database?  Other things I would like dbview to do is be able to select a graphical object and zoom to it, even if you have to change space, jump layouts or turn on layers.  Also, if you could select some data and bind it to a Lisp symbol.  This would be particularly nice for things you can't type, like enames. I also would like to be able to select an object and hyperlink to its definition in the DXF reference and the ActiveX reference.

Keep up the good work, make it awesome and let me know when it is done.

Thanks Zoltan. And I'll keep the offer for beta testing in mind (it's on hold right now, I've two contracts that are keeping me dancing) and I've given up the midnight oil programming.

The VB app shown in the previous screen capture (actually an activex dll invoked from lisp) will have the ability to show all the data, that is activex and dxf. Currently the dll variant only does activex properties. And yes, you can peruse anything in the database.

Here's a real lousy capture of the dcl variant. Sorry for the quality and annoying red highlights, but I don't have the time to create a proper screen capture right now. Anyway, I tried to scroll vertically so you could see the activex as well as dxf properties, scroll forward walking the dictionary collection incrementally, and then double click an entity name so you could see it allows stepping thru using arbitray links, finally pushing the data to notepad for hard copy.



I would encourage you (and everyone else) to write your own. I initially wrote my first version way back, I dunno, maybe 5 or 6 years ago so I could better understand the AutoCAD object model (AOB) from the Visual LISP perspective. Designing and writing that first utility really helped me understand the AOM and as a result, writing Visual LISP / BASIC AutoCAD apps, if I may say, became a relative cake walk.

Cheers.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Better database viewer?
« Reply #8 on: February 11, 2006, 02:39:20 PM »
He he.... well my job title right now as per my signature... won't allow me to play with something like this for now, until I found a better position if I may.... I have other things to do on the mean time.... a lot of cleaning if you ask me....  :-)

Your sig? That's for real? What a waste of your many talents, not just the programming. I hope it just becomes a short break (not entirely a bad thing) and you secure a job / contracts that will let you use and exploit your talents in a way you enjoy, for people that appreciate and demonstratively value your skill and expertise.

 :kewl:

Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

LE

  • Guest
Re: Better database viewer?
« Reply #9 on: February 11, 2006, 03:10:59 PM »
Your sig? That's for real? What a waste of your many talents, not just the programming. I hope it just becomes a short break (not entirely a bad thing) and you secure a job / contracts that will let you use and exploit your talents in a way you enjoy, for people that appreciate and demonstratively value your skill and expertise.

 :-) Thanks and no problem at all.... not a big deal.... I am just need to get use to.....  :-)

About the write our own dbase viewer.... once I get more into custom object, I will see if I can come up with one using ObjectARX... it won't be soon, since I just started on learning Custom Objects and Classes in more depth or as much as I can.... [at least to keep my mind busy]

Glenn R

  • Guest
Re: Better database viewer?
« Reply #10 on: February 11, 2006, 07:52:09 PM »
ArxDbg (in samples/database I think) is an example that ships with the ObjectARX SDK. Build it and run it. Similar to Dbview (which I also think is excellent), but different.

LE

  • Guest
Re: Better database viewer?
« Reply #11 on: February 11, 2006, 08:14:41 PM »
ArxDbg

Sounds.... easy then.... thanks

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Better database viewer?
« Reply #12 on: February 11, 2006, 09:36:13 PM »
ArxDbg (in samples/database I think) is an example that ships with the ObjectARX SDK. ....................

... and the MgdDbg C# version by Jim Awe is worth a look too. The zipped source can be found on the AutoDesk discussion groups.
« Last Edit: February 11, 2006, 09:44:21 PM by Kerry Brown »
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

GDF

  • Water Moccasin
  • Posts: 2081
Re: Better database viewer?
« Reply #13 on: February 12, 2006, 05:07:36 PM »
Michael

Wow, is all I can say. That looks much better than AutoCAD's version.

Gary
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

LE

  • Guest
Re: Better database viewer?
« Reply #14 on: February 13, 2006, 02:04:40 PM »
Your sig? That's for real?

MP;

I was making fun of my self....  :evil:

LE

  • Guest
Re: Better database viewer?
« Reply #15 on: February 13, 2006, 06:36:39 PM »
For all the ones interested.... here is ARXDBG.arx it is part of a sample project solution that comes with the ARX SDK... it will run on AutoCAD 2004-2006 and vertical products.

It does not have any notice of not distribution, so hope it is OK....

Read the .DOC file

MickD

  • King Gator
  • Posts: 3636
  • (x-in)->[process]->(y-out) ... simples!
Re: Better database viewer?
« Reply #16 on: February 13, 2006, 06:52:33 PM »
That does look excellent Michael, nice job!
The database structure is the area struggle most with although I'm getting there. I started with vba and only hacked some code to make my work easier with what little I knew about the db.
This is an area where coming from lisp would be a huge advantage but I have enough on my plate without going there ;). I'll have to have a closer look at these app's in future!
"Programming is really just the mundane aspect of expressing a solution to a problem."
- John Carmack

"Short cuts make long delays,' argued Pippin.”
- J.R.R. Tolkien

zoltan

  • Guest
Re: Better database viewer?
« Reply #17 on: February 15, 2006, 10:00:10 AM »
Thanks Luis, I will look into this one.

Joe Burke

  • Guest
Re: Better database viewer?
« Reply #18 on: February 16, 2006, 08:56:30 AM »
For all the ones interested.... here is ARXDBG.arx it is part of a sample project solution that comes with the ARX SDK... it will run on AutoCAD 2004-2006 and vertical products.

Thanks, Luis. Looks interesting.

Daniel Eiszele

  • Newt
  • Posts: 85
Re: Better database viewer?
« Reply #19 on: November 18, 2015, 05:05:42 AM »
Can anyone recommend an database explorer like those in this thread that would work with Bricscad? I was sure I'd seen something before but all the googling I've done returns zilch.