Subject:
|
Re: Trouble creating building instructions using lpub and mpd file
|
Newsgroups:
|
lugnet.cad, lugnet.cad.mlcad
|
Date:
|
Wed, 6 Apr 2005 16:29:46 GMT
|
Viewed:
|
1091 times
|
| |
| |
In lugnet.cad, Kevin L. Clague wrote:
|
In lugnet.cad, Allan Bedford wrote:
|
In lugnet.cad, Kevin L. Clague wrote:
|
Ill work on the blanks in filename problem in LPub.
|
That will be so nice. Thank you! That one caught me again just this
afternoon. And I know better. However, I just forgot at one point, added a
space to a file name and.... well you know the rest. :)
Anyway, glad to hear its fixable.
Best regards,
Allan B.
The LEGO Builders Guide
|
Hi Allan,
In light of this article:
http://news.lugnet.com/cad/?n=12556
I now have a dilema on this topic. Add code that makes me compatible with
MLCad but violating the specification, or leave it as is and explain to
people that MLCad does allow blanks in file names, but that violates the
spec.
|
I apologize in advance if this is a stupid solution but what about this:
Is there a way for you to check for spaces in the file name as lpub attempts to
open it? If so, can you then abort the file open process and throw a pop-up
message that says something like:
You are attempting to open a file that contains spaces in the name. Please
rename the file, without spaces, and try opening the file again.
At the moment the biggest problem (as I see it) is the lack of error handling
when lpub tries to handle a file with spaces. It returns all kinds of messages
but is the real error listed there? If so, I didnt see it last time it
happened. It was only after manually looking at my filename that I realized
what had happened. If lpub could simply be a bit more pro-active, I feel that
would be the easiest solution to code and also keep you in line with the spec.
I hope that helps. Again, this is just my own opinion on the matter.
Best regards,
Allan B.
|
|
Message has 2 Replies:
Message is in Reply To:
17 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|