Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by plight

  1. plight

    SUBTRACTING ".dwg" FROM DWGNAME EXPRESSION

    Thanks estassoc. The setup is: I have a dwg file that is the titleblock. It consists of the geometry for the border and title areas, attributes to enter the checker's name etc. when it is inserted as a block, text, and rtext to give it a plot stamp, and pull in the date. I currently have an...
  2. plight

    SUBTRACTING ".dwg" FROM DWGNAME EXPRESSION

    I kind of knew that would come up. Reason I wanted to use diesel, was to have rtext pull this into the titleblocks in a project. How can I use lisp in a block? I just want the users to insert the titleblock, and have it spit out the project number. Any help would be great!
  3. plight

    SUBTRACTING ".dwg" FROM DWGNAME EXPRESSION

    ok, what I need is a diesel expression that can stip out all of the folders except for the last one in the dwgprefix variable. i.e. dwgprefix returns: P:\projects\2003\client\job#\job#.dwg I want to strip out everything but the job#. This is a little more complicated than mathmatical...

Part and Inventory Search