PDA

View Full Version : OPEN comand does not work



Spanky
2007-08-13, 12:39 PM
When I hit the open command the "open" box does not popup. Instead I get,
Enter name of drawing to open <G:\AES\JOBS\2007\707-2\DWG\707-2.dwg>:
This is really wierd because it used to open properly. Any help is greatly appreciated.

zoomharis
2007-08-13, 12:43 PM
When I hit the open command the "open" box does not popup. Instead I get,
Enter name of drawing to open <G:\AES\JOBS\2007\707-2\DWG\707-2.dwg>:
This is really wierd because it used to open properly. Any help is greatly appreciated.Set system variable FILEDIA to 1. Please search the forums for a solution before posting a question.

Spanky
2007-08-13, 12:54 PM
Yeah i guess i should have. But thanks for the answer anyway.

CGM
2007-08-13, 08:29 PM
Set system variable FILEDIA to 1. Please search the forums for a solution before posting a question.Hi there,
Top answer.
Spanky,
I agree with Zoomharis, it would be nice if you could use the forum search (http://forums.augi.com/search.php?) facility before posting.
(Also a good tip might be to limit your search to the relevant Forum (http://forums.augi.com/forumdisplay.php?f=120))... :beer: Hope this helps,

rkmcswain
2007-08-14, 12:42 PM
This is most likely the number one asked AutoCAD question of all time, yet nothing is ever done to keep this from being a question....

zoomharis
2007-08-14, 12:48 PM
This is most likely the number one asked AutoCAD question of all time, yet nothing is ever done to keep this from being a question....
You are right RK. I was also thinking the same. It would be nice to have an AutoCAD FAQ thread on the top of this forum.

jaberwok
2007-08-14, 12:55 PM
This is most likely the number one asked AutoCAD question of all time, yet nothing is ever done to keep this from being a question....


Another argument in support of the recent Wiki suggestion.

jaberwok
2007-08-14, 12:59 PM
You are right RK. I was also thinking the same. It would be nice to have an AutoCAD FAQ thread on the top of this forum.

This is this FAQ (http://forums.augi.com/showthread.php?t=16255)

Maybe they just need to be easier to find?

zoomharis
2007-08-14, 01:39 PM
This is this FAQ (http://forums.augi.com/showthread.php?t=16255)

Maybe they just need to be easier to find?
I (personally) think that the thread would serve better on top of this forum.

Spanky
2007-08-14, 01:48 PM
I really only needed one person to tell me that i should have looked for an answer before starting a new thread. But thanks all the same.

Arben.Allaraj
2007-08-14, 01:57 PM
When I hit the open command the "open" box does not popup. Instead I get,
Enter name of drawing to open <G:AESJOBS2007707-2DWG707-2.dwg>:
This is really wierd because it used to open properly. Any help is greatly appreciated.

Where is this file ? Is in a removable disk and maybe can be infected.

rkmcswain
2007-08-14, 02:02 PM
You are right RK. I was also thinking the same. It would be nice to have an AutoCAD FAQ thread on the top of this forum.

It's a proven fact, people do not read. It's much easier (in most peoples mind) to log on to a forum (or call a support desk, etc.), and ask a question, and wait for the answer.

My comment was that Autodesk could fix this problem by changing the prompt slightly. It's been on the wishlist for a long time, but never received much support since the proactive people voting on the wishlist already know about FILEDIA and have little interest in "fixing" this.

bmonk
2007-08-14, 03:35 PM
I really only needed one person to tell me that i should have looked for an answer before starting a new thread. But thanks all the same.

This sounds familiar...

"...PETER
It's a problem of motivation, all right? Now, if I work my a** off and
Initech ships a few extra units, I don't see another dime. So where's
the motivation? And here's another thing, Bob. I have eight different
bosses right now!

BOB SLYDELL
I beg your pardon?

PETER
Eight bosses.

BOB SLYDELL
Eight?

PETER
Eight, bob. So that means when I make a mistake, I have eight different
people coming by to tell me about it. That's my real motivation - is
not to be hassled. That and the fear of losing my job, but y'know, Bob,
it will only make someone work hard enough not to get fired...."

Sounds like peeps is giving Spanky a hard time for asking a question.

just my 2 cents

zoomharis
2007-08-14, 04:10 PM
Sounds like peeps is giving Spanky a hard time for asking a question.

If you have gone through the whole thread (only if you have gone through) , it is well understood that most of the comments made here were general in nature and were pointed at the forum management to implement a better system rather than aiming at spanky personally. When a question is answered, it is not only meant for the person who posted that question, rather it addresses a large volume of users. In this case, our discussion was aiming at making things easier for newcomers like spanky. Experiences teach me that sometimes your efforts to help somebody may backfire at you depending on the observer's mood. I don't care that. If I do, I can no more contribute to this forum. I hope you don't take this comment as a personal assault, because I didn't mean it.

bmonk
2007-08-14, 05:10 PM
If you have gone through the whole thread (only if you have gone through) , it is well understood that most of the comments made here were general in nature and were pointed at the forum management to implement a better system rather than aiming at spanky personally. When a question is answered, it is not only meant for the person who posted that question, rather it addresses a large volume of users. In this case, our discussion was aiming at making things easier for newcomers like spanky. Experiences teach me that sometimes your efforts to help somebody may backfire at you depending on the observer's mood. I don't care that. If I do, I can no more contribute to this forum. I hope you don't take this comment as a personal assault, because I didn't mean it.

My post was meant to be comical, because that part of the movie is the first thing that popped in my head, after reading a few of the responses. Maybe its just me, but a few of the responses seemed, for lack of a better term, demeaning. Especially after the OP accepted the answer and suggestion from the second post. Again, maybe its just me, and I am only speaking for myslef here.

rkmcswain
2007-08-14, 06:00 PM
Both of my replies (this one and this one) were in response to the whole FILEDIA thing being a problem in general, not a direct response to the OP.

I agree with zoomharris (http://forums.augi.com/member.php?u=82443) here, in that most, if not all the "extra" comments were general in nature - not an assault on the OP.

Maybe the moderators can prune the general discussion out of this thread and move it to an appropriate forum...

tedg
2007-08-14, 06:19 PM
I really only needed one person to tell me that i should have looked for an answer before starting a new thread. But thanks all the same.I think the OP was maybe taking this a little personally.
I always try to remember that these are open forums, much like walking into a crouded room and asking a question.

You may get your answer or a direction to look, but the conversation may continue and grow from there, to maybe a "bigger" question (or comment) like ideas to improve the forums like this one did.

I sometimes look into a thread that I either started, or participated in later on to see "where it went", sometimes it's entertaining, and sometimes I get more answers I can use.

Good stuff.

jaberwok
2007-08-14, 07:20 PM
I really only needed one person to tell me that i should have looked for an answer before starting a new thread. But thanks all the same.

Don't take it personally. ;-)
We've moved on - as we tend to do.

Spanky
2007-08-15, 05:41 PM
This is pretty cool. This is first thread that i started that went to 18 posts. Oh Right!

gfreddog
2007-08-15, 06:04 PM
This is pretty cool. This is first thread that i started that went to 18 posts. Oh Right!
Making it 19 makes it cooler ;)

Just some fun gang.

Have a great day!

bmonk
2007-08-15, 06:51 PM
Then 20 will make Spanky's head explode!

Richard.Kent
2007-08-15, 09:58 PM
A tip from an old timer, when this happens just type a ~ (tilde) and hit enter, it will bring up a dialog box and you can continue. Easier than cancelling out, typeing filedia, 1, then open,... This doesn't fix it for the next time but it keeps you moving forward until you can fix it or it fixes it self, so to speak.

zoomharis
2007-08-16, 04:32 AM
A tip from an old timer, when this happens just type a ~ (tilde) and hit enter, it will bring up a dialog box and you can continue. Easier than cancelling out, typeing filedia, 1, then open,... This doesn't fix it for the next time but it keeps you moving forward until you can fix it or it fixes it self, so to speak.Great tip...!!! Thanks for sharing that. Old is really Gold. ;). Who said this thread is only confined to FILEDIA? If everything goes right, this (http://forums.augi.com/showthread.php?t=66102) will be best outcome of this thread. Thanks John B (http://forums.augi.com/member.php?userid=5414), for that post.

Hi Spanky. Just now I noticed your signature.

A rough beginning doesn't negate a smooth end. Very meaningful ;).

Spanky
2007-08-16, 04:37 PM
Great tip...!!! Thanks for sharing that. Old is really Gold. ;). Who said this thread is only confined to FILEDIA? If everything goes right, this (http://forums.augi.com/showthread.php?t=66102) will be best outcome of this thread. Thanks John B (http://forums.augi.com/member.php?userid=5414), for that post.

Hi Spanky. Just now I noticed your signature.
Very meaningful ;).
Thank you for noticing. It models my start on Augi.

scott.wilcox
2007-08-16, 05:56 PM
A tip from an old timer, when this happens just type a ~ (tilde) and hit enter, it will bring up a dialog box and you can continue. Easier than cancelling out, typeing filedia, 1, then open,... This doesn't fix it for the next time but it keeps you moving forward until you can fix it or it fixes it self, so to speak.
You can also add
(setvar "filedia" 1) to your startup lisp file to discourage it's appearance.

Spanky
2007-08-16, 06:51 PM
You can also add
(setvar "filedia" 1) to your startup lisp file to discourage it's appearance.
So this would never allow this to happen again? I was wondering why it would change in the first place. It just doesnt make sense to me.

dgorsman
2007-08-16, 07:28 PM
Generally its due to bad, incomplete, or missing error handling. Hitting 'escape' is the most common unhandled proglem (got a few of those in my own legacy function libraries...). Mostly occurs in user-generated machete-code lisp programs, but these problems can show up in a surprising number of professionally designed programs as well.

bmonk
2007-08-16, 08:17 PM
Generally its due to bad, incomplete, or missing error handling. Hitting 'escape' is the most common unhandled proglem (got a few of those in my own legacy function libraries...). Mostly occurs in user-generated machete-code lisp programs, but these problems can show up in a surprising number of professionally designed programs as well.

Basically, you start a lisp command, inside the lisp, its telling autocad to turn it off, so that it looks, or runs smoother to the user. Then half way through, you hit escape, and the lisp routine didnt get a chance to finish, and turn it back on.

BrenBren
2007-08-16, 09:15 PM
So this would never allow this to happen again? I was wondering why it would change in the first place. It just doesnt make sense to me.No, I don't think that would keep it from happening. It would reset it to 1 everytime a new drawing is created, or AutoCAD is started (I'm not sure which it is), but if you are in a drawing, you run a LISP file and you escape out of it before it's ended, not giving the file a chance to reset the variable, (if it was written with poor error handling), in that particular drawing, you still run the risk of having FILEDIA set back to 0.

rkmcswain
2007-08-16, 10:11 PM
It would reset it to 1 everytime a new drawing is created, or AutoCAD is started (I'm not sure which it is),

If the code was added to "acad.lsp", then each time the application is loaded.*
If the code was added to "acaddoc.lsp", then each time a drawing is loaded.

* unless "acadlspasdoc" is set to 1, then both are loaded each time a drawing is loaded. This setting should be set to 0 though, IMO.

Spanky
2007-08-17, 02:10 PM
If the code was added to "acad.lsp", then each time the application is loaded.*
If the code was added to "acaddoc.lsp", then each time a drawing is loaded.

* unless "acadlspasdoc" is set to 1, then both are loaded each time a drawing is loaded. This setting should be set to 0 though, IMO.
That clears it up a bit.

BrenBren
2007-08-17, 02:29 PM
If the code was added to "acad.lsp", then each time the application is loaded.*
If the code was added to "acaddoc.lsp", then each time a drawing is loaded.

* unless "acadlspasdoc" is set to 1, then both are loaded each time a drawing is loaded. This setting should be set to 0 though, IMO.Thanks - I can never remember which is which :)

But, this could still potentially be a problem once you have a drawing open, if the variable gets turned off while working on that drawing.

~shrug~

scott.wilcox
2007-08-17, 04:02 PM
Thanks - I can never remember which is which :)

But, this could still potentially be a problem once you have a drawing open, if the variable gets turned off while working on that drawing.

~shrug~
Another solution is to make a "Reset" button; a macro that resets many variables, like FILEDIA, CMDDIA, PLINEGEN, DIMASSOC, PLINETYPE, etc. One click, and all are reset within the drawing.

rkmcswain
2007-08-17, 06:38 PM
Even another option is to reset it in a "shortcom" like this:


(defun C:E ()
(setvar "filedia" 1)
(command "._erase")
)

Then each time someone uses the erase ("E") command, the var is reset. Of course this could be zoom, pan, or whatever....

Coolmo
2007-08-17, 09:08 PM
Hey Spanky, I've been busted on this too and even though I've been told to use the search first, I still have a problem with using the forum search because you almost need to know the answer before you start the search. even with the answer in mind and in hand (FILEDIA) I tried typing a couple things in the search box for your problem as anyone not knowing the answer would type there. Here are the results:

Search: "Open on command line"
362 results

Search: "Open"
500 results (I assume it stops at 500 because...)

Search: "Open dialog"
500 results

I know quite a bit about AutoCAD and I can't even imagine what else you could type in the search box to find an answer here without knowing the answer. The point I'm trying to make is, are we suppose to browse through all 1362 results from these searches to find an answer before we break some huge forum rule and post a redundent question? Maybe I'm just not using the search correctly. Can you actually type a question?

Spanky
2008-02-13, 07:20 PM
Hey Spanky, I've been busted on this too and even though I've been told to use the search first, I still have a problem with using the forum search because you almost need to know the answer before you start the search. even with the answer in mind and in hand (FILEDIA) I tried typing a couple things in the search box for your problem as anyone not knowing the answer would type there. Here are the results:

Search: "Open on command line"
362 results

Search: "Open"
500 results (I assume it stops at 500 because...)

Search: "Open dialog"
500 results

I know quite a bit about AutoCAD and I can't even imagine what else you could type in the search box to find an answer here without knowing the answer. The point I'm trying to make is, are we suppose to browse through all 1362 results from these searches to find an answer before we break some huge forum rule and post a redundent question? Maybe I'm just not using the search correctly. Can you actually type a question?

eh, asking the question in the search box does not seem to be very effective.

robert.1.hall72202
2008-02-14, 01:32 PM
I have noticed that using the iges commands will change
filedia and cmddia to 0. Will anything listed within this post
help to reset the values? To use the lisp files, I would have
to open a new cad file correct?

BrenBren
2008-02-14, 02:51 PM
I have noticed that using the iges commands will change
filedia and cmddia to 0. Will anything listed within this post
help to reset the values? To use the lisp files, I would have
to open a new cad file correct?

To automatically reset it using something in the acaddoc.lsp, yes you would have to open a new drawing.

I've seen a suggestion of adding those variables to another command, something you run often (like zoom extents), and then everytime you do a zoom extents, if will also set those variables.

RK McSwain posted it, but I can't recall the thread. If I find it, I'll post it.

rkmcswain
2008-02-14, 05:46 PM
To automatically reset it using something in the acaddoc.lsp, yes you would have to open a new drawing.

I've seen a suggestion of adding those variables to another command, something you run often (like zoom extents), and then everytime you do a zoom extents, if will also set those variables.

RK McSwain posted it, but I can't recall the thread. If I find it, I'll post it.

This one?...................

BrenBren
2008-02-14, 06:42 PM
This one?...................

d'oh..

That wasn't the particular post I was thinking of, but that'll do :)