pmk Posted February 13, 2013 Report Share Posted February 13, 2013 Jak ustawić start programu z określonym plikiem *dwg? Chodzi o startup z ostatnio modyfikowanym plikiem. Quote Link to comment Share on other sites More sharing options...
Assgarth Posted February 13, 2013 Report Share Posted February 13, 2013 jaki jest tego sens, skoro wystarczy wybrać z menu File odpowiedni plik (jeden z kilku ostatnio otwieranych)?? pozdrawiam Quote Link to comment Share on other sites More sharing options...
pmk Posted February 13, 2013 Author Report Share Posted February 13, 2013 nie pytałem o sens (udałbym się gdzie indziej z takimi pytaniami :)) tylko o techniczną możliwość takiej operacji. pozdrawiam również Quote Link to comment Share on other sites More sharing options...
Assgarth Posted February 13, 2013 Report Share Posted February 13, 2013 Spróbuj tego: http://www.cadtutor....-latest-drawing Lisp'a należy umieścić w liście plików startowych ZwCADa. Polecenie "_appload": pozdrawiam Quote Link to comment Share on other sites More sharing options...
Assgarth Posted February 13, 2013 Report Share Posted February 13, 2013 Ewentualnie byłaby opcja z jedną linijką kodu w V-LISP: (vl-catch-all-apply 'vla-open (list (vla-get-documents (vlax-get-acad-object)) (findfile "c:/Drawing2.dwg"))) tylko dwie sprawy: 1. ścieżkę i nazwę pliku musisz sobie ustawić na sztywno (zmieniać w razie potrzeby); 2. na ZwCAD vernum = "2012.08.30(5622)", ta funkcja vlisp: 'vla-open nie działa... może w nowszej wersji będzie okey. pozdrawiam Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.