CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.094.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator. New AutoCAD 2026 commands and variables.
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedLISP routine to change drawing name

 Post Reply Post Reply
Author
jasonb_880 View Drop Down
Newbie
Newbie


Joined: 30.Sep.2009
Status: Offline
Points: 2
Direct Link To This Post Topic: LISP routine to change drawing name
    Posted: 05.Aug.2014 at 15:06
Hi,

I'm looking for some help with creating a routine to do a "save as" command to a specific location as per floor number and zone which can be found on the title section of the drawing as plain text.

I've been messing around with vlax-get-property 'TextString but I'm having no luck as yet.

Previously I have used commands similar to this:

(command "_.saveas" "2010" (strcat "A:\\Folder\\Folder\\"(GETVAR 'DWGNAME)))

But what I need is the drawing to save as A:\\Folder\\Level "levelno"\\DWG-"zone"-"levelno"-"revisionnumber".dwg
(info as on title block)

hope that makes sense!

Any help is much appreciated.

Thanks

Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,094 seconds.