blog.CadKicks

Behind the scenes look at whats happening here at CadKicks

About the author

Author Name is someone.
E-mail me Send mail

Recent comments

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

PDF995 and FileNames with Dots and/or Periods - FIX

 I had written some really cool AutoCAD/LISP/VBA hybrid code which allowed the user to Print Silently (using the CAD file name ) or Print to PDF with a prompt for Filename. All my code had to do was change a few settings in the PDF995 INI and presto, it was working well EXCEPT .. I noticed if the drawing had periods in it the name of the file woud truncate at the first period.

 After I contacted PDF995  the suggested I try adding the foowing to my INI file:

 Strip Extension=0

Sure enough, that did the trick.


Categories: CAD | PDF995
Posted by Admin on Monday, March 03, 2008 4:36 PM
Permalink | Comments (2) | Post RSSRSS comment feed

Quick little routine to Convert a Directory of LSP to FAS

Quick little routine to Convert a Directory of LSP to FAS. I found this Online and decided to modify it for MANUALLY setting the paths.

 

; ConvToFAS = Convert Lsp To Fas
; Cool little APP to convert a DIR of LSP to FAS
; Homepage : Adesu <Ade Suharna> http://www.yuasa-battery.co.id
; You MUST LOAD VLIDE FIRST

; Edited by Jose Guia - SET the Source and Dest manually instead of prompting
; http://www.cadkicks.com

(defun c:ConvToFAS (/ lsp fas lst)
(vl-load-com)
  (setq lsp "C:/legacy_source_lisp_files/Compile/");;Source Folder
  (setq fas "C:/legacy_source_lisp_files/Compile/FAS/");;DEST Folder
  (setq lst (vl-directory-files lsp "*.lsp" 1))
    (if
      lst
      (progn
      (foreach x lst
      (vlisp-compile
      'st
      (strcat lsp x)
      (strcat fas (substr x 1 ( - (strlen x) 4)) ".fas")
      )
      ) ; foreach
      ) ; progn
      (alert "No FILES")
    ) ; if
  (princ)
) ; defun

 

 


Categories: CAD | LSP
Posted by Admin on Monday, March 03, 2008 7:58 AM
Permalink | Comments (0) | Post RSSRSS comment feed

Application Engineers..

 I know this site is still in its infancy so many of you "Application Engineers" may not get this but I'd like to ask a question anyhow. If you are a CAD Application Engineer, what exactly does that mean to you? What are your duties specifically? I ask because I just accepted a job as an Application Engineer at a bigger company and I'm curious to know exactly what is expected of me.

 At my previous place of employment, where I was the IT Manager / CAD Manager / Database Developer (SQL) / Web Developer (ASP.NET), I had always told my fellow drafters that if I ever won the lottery my dream job would be to just create applications without the hassle of any of the other IT-related tasks. So when this new opportunity came along my resume matched what they were looking for to a tee.

 Going from ONE discipline (structural engineering) to a company where I will be responsible for supporting multi-disciplines I kind of get the feeling its going to overwhelm me. But I've always liked a good challenge so we'll see how it goes. 


Categories: CAD
Posted by JoseGuia on Tuesday, November 20, 2007 3:00 AM
Permalink | Comments (0) | Post RSSRSS comment feed