To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 5421
5420  |  5422
Subject: 
Re: Seams like a problem
Newsgroups: 
lugnet.cad.dev
Date: 
Thu, 12 Oct 2000 20:06:13 GMT
Viewed: 
789 times
  
Lars C. Hassing skrev i meddelandet ...
[...]
So. The solution would be to detect whether the opened model
is actually a part from PARTS. This is, I believe, not so easy:
1) If you are in MODELS and run "l3p ..\parts\3001", how do you
  detect that the 3001.dat is in the LDRAWDIR\PARTS ?
2) LDRAWDIR is set using 8+3 names, and the path to the selected
  model may use long names (L3Lab only)
If you have solutions to this, please let me know.

Take a look at 'GetFullPathName' in the Windows API.

--
Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery.htm



Message has 1 Reply:
  Re: Seams like a problem
 
Anders Isaksson wrote... (...) Yes, it can help L3Lab, but not L3P which also compiles under Borland Turbo C from 1988 and under Linux. /Lars (24 years ago, 12-Oct-00, to lugnet.cad.dev)

Message is in Reply To:
  Re: Seams like a problem
 
Dave Schuler wrote.. (...) Well, I think you have struck a problem in L3P/L3Lab that I have been aware of for quite a while! The problem is when you select a part from PARTS to render/view. The model file (here the part) specified on the command (...) (24 years ago, 11-Oct-00, to lugnet.cad.dev)

16 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