To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 15521
15520  |  15522
Subject: 
Re: BFC Tool?
Newsgroups: 
lugnet.cad
Date: 
Sat, 6 Sep 2008 16:30:01 GMT
Viewed: 
6239 times
  
In lugnet.cad, Philippe Hurbain wrote:
If you want to get REALLY tricky, download and install Florian Balmer's Notepad2
application, which can take a line on the command line to move to. (if you do
this, use something like 'c:\windows\system32\notepad2.exe /g %d %f' (without
the quotes, naturally) as your Editor Command in the Preferences box).  That
would fire up notepad2 on the file and position the cursor on the relevant line
number. (%d is replaced by the line number, %f by the file name, when the editor
is executed).

Very nice!!! I love the possibility to select an element in 3D view (I miss that
A LOT in MLCad!).

Thanks, Philo; you're doing some of the cutting edge toolmaking for LDRAW these
days, so I appreciate the nice comments from you (as will the author).

But I seem to have some issue launching an editor, it doesn't seem to work when
there are spaces in editor path or LDraw file path.

I see that as a problem now too ["mumble, mumble, you tell them it's a Tech
Preview, and they ask for fixes anyway *cough* where was I?.." :-D]; though I
had problems with the editor on a space-path more than the parts.

I tried using quotes around the executable specification, as you'd expect to do
with the Windows Run... command; that launches the executable for me, but then
the supplied filename is pretty munged.  I will have a look at fixing that
issue.

In the meantime, I suggest using the ugly MS "old-style" 8.3 names for your path
elements in the command-line you specify in the preferences to get around the
problem.

I had notepad2 in a C:\Notepad2 directory; as my test I renamed to "c:\notepad
dir".  I was able to get the proper launch by specifying
c:\notepa~1\notepad2.exe as the executable in Foundry.

You can find the 8.3 version of a filename by using /X with the DIR command in a
command prompt.

As for the path, I tried placing a test .DAT in a "space dir" directory, and was
able to launch notepad2 against that file from Foundry (I loaded up the .dat in
the space dir directory, right-clicked at the "root" in the tree in Foundry, and
chose Edit; and notepad2 launched with the .DAT loaded).

I will keep an eye on this issue.  We are old-time programmers here, and we
don't particularly subscribe to the filenaming issues that are MS's horse poo;
and will do our best to work around those issues.

This IS a Technology Preview, and has an expiration of January 1, 2009;
hopefully we'll have time to add to it and get new versions out before then.

A VERY promising preview !!!

Thanks.  I hope we get time to work on it more soon.

     -- joshua



Message has 2 Replies:
  Re: BFC Tool?
 
(...) What, like the ones that have existed pretty much forever on Unix? :) I will also point out (in case it catches anyone out) that it is possible for something to NOT have a 8.3 filename, but on most systems, this won't be a problem. (16 years ago, 7-Sep-08, to lugnet.cad)
  Re: BFC Tool?
 
(...) Yeah... sorry for that ;o) I hesitated before posting this comment, but... (...) I had problem with both. I'll try your DOS trick in the meantime! Philo (16 years ago, 7-Sep-08, to lugnet.cad)

Message is in Reply To:
  Re: BFC Tool?
 
(...) Very nice!!! I love the possibility to select an element in 3D view (I miss that A LOT in MLCad!). But I seem to have some issue launching an editor, it doesn't seem to work when there are spaces in editor path or LDraw file path. (...) A VERY (...) (16 years ago, 6-Sep-08, to lugnet.cad)

23 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR