Polls

Within the context of its era, which version of AutoCAD was the most STABLE?
 

Subscribe

Complex linetypes which contain shapes to not display properly PDF Print E-mail
Wednesday, 14 November 2007

In Land Desktop 2008, there appears to be an issue with loading shape files in some drawing files. When opening files which contain complex linetypes, the accompanying shape files are not loaded. Consequently, complex linetypes appear to be dashed.

Workarounds: Manually load the linetypes after opening the drawing. This can be automated by adding the appropriate code to your acaddoc.lsp. The following snippet is an example of how you can load all of the linetypes in specified LIN files. If you're a clean freak, though, you would probably want to purge afterwards. This is just a workaround, though. Hopefully Autodesk will provide an actual fix.

(SETQ experto (GETVAR "expert"))
(SETVAR "expert" 3)
(SETVAR "cmdecho" 0)
(PRINC "ACAD.LIN file ... ")
(COMMAND "._linetype" "l" "*"  "acad.lin" "")
(PRINC "loaded")
(PRINC "AECCLAND.LIN file ... ")
(COMMAND "._linetype" "l" "*"  "aeccland.lin" "")
(PRINC "loaded")
(PRINC "COMPANYCUSTOM.LIN file ... ")
(COMMAND "._linetype" "l" "*" "COMPANYCUSTOM.lin" "")
(PRINC "loaded")
(SETVAR "expert" experto)
(SETQ experto nil)
(PRINC)

First Appeared: Land Desktop 2008
Status as of 2008 SP2: Still reproducible.
Status as of 2009: (unknown - please email with any info)

 
< Prev   Next >

THIS INFORMATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Copyright © 2008, http://www.texupport.net/