I want to load a linetype from a costom .lin file, but how do I check the .lin file for that linetype before loading it (I want to be certian that it is there).
If it not found then I want to load a linetype from a known .lin file.
What I have is psuedo code so far. What is known is the name of the linetype and the .lin file (minus the ext)
Check to see if the lin file is in the search path:
(findfile "linfile")
Check the .lin file for linetype:
THIS IS WHERE I'M LOST
If linetype exsists
load it
load NOLINE from known lin file
Maybe someone in here can give me a push, I haven't coded anything in about a month (life keeps getting in the way)
Thanks guys