Subject:
|
Re: Minifig Generator Plugin for LDDesignPad Version 1.6
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Fri, 27 Jun 2003 12:57:03 GMT
|
Viewed:
|
1379 times
|
| |
| |
In lugnet.cad.dev, Steve Bliss wrote:
> In lugnet.cad.dev, Orion Pobursky wrote:
>
> > In addition, the plugin need the path to LDraw from the LDDP.ini file
>
> Was there some reason that y'all didn't use <windir>\ldraw.ini? If for
> nothing else, it has the ldraw path.
Hey, I'm with you. ldglite checks the environment variables first,
then looks in the <windir>/ldraw.ini file before using a default.
env_str = platform_getenv("LDRAWDIR");
if (env_str != NULL)
strcpy(pathname, env_str);
else if (GetPrivateProfileString("LDraw","BaseDirectory","",
pathname,256,"ldraw.ini") == 0)
{/* Use some default path */ }
I'm all for standardized components. That's why I think using the
lddp plugins is such a neat idea. But I don't know all that much
about .ini files. Is there any reason why all LDRAW programs
can't use the same .ini file? I suppose you'd have to know where
to look for it on systems other than Windows. But that's not too
hard to solve. It could go in the /etc or your home directory on
unix for example.
Don
|
|
Message has 1 Reply:
Message is in Reply To:
10 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
|
|
|
|