Author Topic: Setting Att Strings w/Objectdbx  (Read 5277 times)

0 Members and 1 Guest are viewing this topic.

deegeecees

  • Guest
Setting Att Strings w/Objectdbx
« on: October 10, 2005, 10:54:07 AM »
I used to have a chunk of code that made use of ObjectDBX, setting the value of a predefined attribute in selected drawings. It appears I have lost it. It was made available to me from *cough* the llama, I used it a couple of times but never really had the time to persue any worthwhle application with it. Now, I do. Is there anyone here that has knowledge of ObjectDBX that can help me out?

deegeecees

  • Guest
Re: Setting Att Strings w/Objectdbx
« Reply #1 on: October 10, 2005, 12:27:50 PM »
Never mind, I found it.

Any other help would be appreciated though. Go ahead chime in. Really, it won't hurt.

Jeff_M

  • King Gator
  • Posts: 3944
  • C3D user & customizer
Re: Setting Att Strings w/Objectdbx
« Reply #2 on: October 10, 2005, 01:00:38 PM »
Since you found it, what kind of additional help would you like?

deegeecees

  • Guest
Re: Setting Att Strings w/Objectdbx
« Reply #3 on: October 10, 2005, 01:10:11 PM »
Since you found it, what kind of additional help would you like?

Anything objectdbx related. Just getting ideas for now.

Input.

I do alot of "Specialized" apps for our clients based on their "Standards", and usually when I go looking for something in particular, I find 10 other things that I "flag" for future reference. Thats what I'm doing now.

Jeff_M

  • King Gator
  • Posts: 3944
  • C3D user & customizer
Re: Setting Att Strings w/Objectdbx
« Reply #4 on: October 10, 2005, 02:03:34 PM »
OK, first of all have you read my Introduction to ObjectDBX? It may answer some of your questions.

Second, since you can do nearly everything with an ODBX document that you can with a drawing opened in Acad, I think you need to be more specific in what you'd like info on.

I'd be more than happy to help, but saying "I want to build a building, what can I do?"is far different than "I want some info on how to build a log cabin in the woods down by the lake. Do you have a suggestion on what government agencies I would need to talk to? Or how about log suppliers?"  :-)

And, sorry, but I cannot recall if you are a novice coder or are more advanced.

Jeff

deegeecees

  • Guest
Re: Setting Att Strings w/Objectdbx
« Reply #5 on: October 10, 2005, 03:11:50 PM »
Thanks Jeff,

I will give it a read, and sorry for the vagueness, I'm really just trying to find some ideas of where I can apply the things I know, and the things I'm finding out. As in, one of the clients we have has a certain standard of how to fill out the description portion of the revision block in their supplied title block. I'm taking text from an ASCII file and filling in the revision/description/drafter/engineer, all or some of these attributes with ODBX. Just one example.

As far as my coding knowledge, I'm just a Hack. I've coded some major apps, using Lisp, VBA, and some menu Diesel, all orchestrated to do what they need to at the time they need to do it. But with no formal training, I'm not sure how someone with an expert status would critique it. One example would be my "Drawing Tracker" I made for a client. It's just basicall titleblock information tied to a database, with tracked editing time, plotting statistics, revision tracking, and more. This is a mess of code that just seems to keep on working.

deegeecees

  • Guest
Re: Setting Att Strings w/Objectdbx
« Reply #6 on: October 10, 2005, 03:17:14 PM »
Ok, done. Whens the next article?

Jeff_M

  • King Gator
  • Posts: 3944
  • C3D user & customizer
Re: Setting Att Strings w/Objectdbx
« Reply #7 on: October 10, 2005, 04:17:13 PM »
This is a mess of code that just seems to keep on working.
Sounds like most of my stuff.... :-)

The 'next' article never came to fruition due to a seeming lack of interest from users and a severe lack of time on my part. And, although that article was read nearly 2000 times at the 'other' site, I recieved leas than a handful of comments about whether it helped, or not. Kinda hard to get enthused when noone cares.....

Your use of the ASCII file seems logical to me. Were you trying to improve this or just providing the example of what you are now doing?

deegeecees

  • Guest
Re: Setting Att Strings w/Objectdbx
« Reply #8 on: October 11, 2005, 11:44:41 AM »
Quote
Your use of the ASCII file seems logical to me. Were you trying to improve this or just providing the example of what you are now doing?

I'm trying to DO this.

Pseudo Code:
  • Prompt for text (Rev, Desc, Drafter, Eng, Date)
  • Create ASCII file, fill with user text
  • Fill in atts in dwgs

Sorry for the lateness of my response, just got some bad news yesterday and had to run out.

Jeff_M

  • King Gator
  • Posts: 3944
  • C3D user & customizer
Re: Setting Att Strings w/Objectdbx
« Reply #9 on: October 11, 2005, 12:19:30 PM »

I'm trying to DO this.
I'll see what I can whip up in a bit.....

Quote from: deegeecees
Sorry for the lateness of my response, just got some bad news yesterday and had to run out.
No problem, I hope it's not too bad.....

deegeecees

  • Guest
Re: Setting Att Strings w/Objectdbx
« Reply #10 on: October 11, 2005, 01:11:28 PM »
I'm working on re-populating the text boxes with the last filled in info.

- open text file
- set var1 to first line, var2 second line, so forth
- send info to text boxes upon dialog show
- user updates text, clicks OK
- send info to text file
- fill in atts via objectDBX

We get alot of repetition here, so I'm working towards using "last" filled in info on all my code (batch plot, ECR#'s etc.) using a sort of INI file based on user login text.


deegeecees

  • Guest
Re: Setting Att Strings w/Objectdbx
« Reply #11 on: October 11, 2005, 01:13:49 PM »
Oh, yeah the bad news was extremely difficult to wrap my mind around. A freind of mine stepped in front of a train.

deegeecees

  • Guest
Re: Setting Att Strings w/Objectdbx
« Reply #12 on: October 12, 2005, 12:18:24 PM »
Well, it turns out he was intoxicated and stumbled. Thats what the police report says. I really feel bad for his family, he was such a mild mannered person. This happened in Fla. while he was visiting his mother, and the family doesn't have alot of funding so, I won't be attending the funeral, which is being held there in Fla.

MP

  • Seagull
  • Posts: 17454
Re: Setting Att Strings w/Objectdbx
« Reply #13 on: October 12, 2005, 12:59:12 PM »
That's terrible news, I'm so very sorry to hear this.
\|// Set goal. Experiment tirelessly until
|Oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox

deegeecees

  • Guest
Re: Setting Att Strings w/Objectdbx
« Reply #14 on: October 12, 2005, 01:16:38 PM »
Thanks MP.

I went to High School with him, usually saw him a few times a year or so for the past 21 years. His sister lives 2 doors down from me. They're not taking it well.