Author Topic: needing a little tutoring  (Read 2577 times)

0 Members and 1 Guest are viewing this topic.

amgirard2003

  • Guest
needing a little tutoring
« on: May 05, 2006, 09:10:31 AM »
Good morning all,

I'm currently doing some work that is quite repetitive with 2 commands that is really drivin my crazy having to execute both and would like to combine them together.

here's the code in plain english of how i would like it to work

Code: [Select]
Prompt user: "Select object to edit"

if object select, varify it has object data before continuing
if object does not have object data
prompt user: "selected object does not have object data"
end command

if object selected has object data
execute ddedit command to modfiy text
once text is modified
execute ADEEDITDATA, modify all the data.

once ok is selected return to original prompt
enter twice to exit command

any help would be greatly appreciated...

I have AIM so send me a pm if you would like to help me out and i'll reply with my AIM username

Andre

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: needing a little tutoring
« Reply #1 on: May 05, 2006, 09:56:47 AM »
I don't have time this morning but some clarification is needed.

Quote
Prompt user: "Select object to edit"
  What action is no object picked, exit?
if object select, verify it has object data before continuing
   Is there a specific block name
   Is there a specific Tag name?

if object does not have object data
prompt user: "selected object does not have object data"
end command

if object selected has object data
execute ddedit command to modify text
once text is modified
execute ADEEDITDATA, modify all the data.
  What is ADEEDITDATA

once ok is selected return to original prompt
enter twice to exit command
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4076
Re: needing a little tutoring
« Reply #2 on: May 05, 2006, 10:01:10 AM »
I think they are using autocad Map since a reference was made to object data
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

amgirard2003

  • Guest
Re: needing a little tutoring
« Reply #3 on: May 05, 2006, 10:40:03 AM »
I think they are using autocad Map since a reference was made to object data

that is correct, using AutoCadMap 2007

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Re: needing a little tutoring
« Reply #4 on: May 10, 2006, 10:02:44 AM »
Andre look in your acad installation for <AutoCAD Install>\Help\acmap_dev.chm. You have a choice of  AutoLISP or ActiveX methods. If you still need help please let us know.
TheSwamp.org  (serving the CAD community since 2003)