Is it possible to find from which linetype file(acad.lin or acadiso.lin) , the existing linetype definitions (CENTER2) are loaded to the current drawing.
We have drawings, some of the linetype definitions are loaded from acad.lin.
Need to reload the linetypes from acadiso.lin.
Solved! Go to Solution.
no, the linetype definition is copied into the drawing and not referenced to the external file.
As a proof: you can load any linetype, then start command _RENAME and rename this linetype to e.g. XXX, so a name for a linetype is defined in the drawing that has no source file (LIN-file) at all.
- alfred -
Thanks for the reply.
Yes, once the linetypes are loaded to the drawing there is no reference to the external file anymore.
But I was thinking whether inside the database , is the linetype remember from which file it came.
Not the external file path , just the name.
So that a routine can check if one particular linetype is loaded from acad.lin then reload it from acadiso.lin.
Or I have to create a routine to reload all the linetype from acadiso.lin
IMHO no way to get the name of the file and even if the filename is stored in the DWG the ACAD.LIN on my system can be different to that from your system.
To verify if the filename exists in the DWG ==> save your drawing as DXF and search for your linetypename and look then to it's contents.
Reloading all linetypes makes an update, but might end in wrong linetype scales. To be read here quite often is mixing up linetypes with the same name, once loaded from ACAD.LIN and the other time from ACADISO.LIN. Reloading from the "other file" makes an adjustment of the linetypescale necessary.
- alfred -