Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/15/2020 in all areas

  1. OK great now I don't feel so dumb that I've never used it. Yeah good layer discipline was not something I had till Cad64 helped me out. Thanks Cad64! Thanks Dana W.
    1 point
  2. Nevermind, i just discovered LAYLCK and LAYULK command and also that they have icons
    1 point
  3. pkenewell, I can't believe it but it works. I tested it on 33 drawings and all of them converted. I appreciate your efforts on this.
    1 point
  4. @sketch11 Shot in the dark - try changing: (command "_UNDO" "_MARK" "_-DGNIMPORT" (strcat tx2 tx5) tx4 "" "" "_ZOOM" "_E" "._DELAY" 1000 "_SAVEAS" "2013(LT2013)" (strcat tx3 tx5) "_UNDO" "_BACK" ) to (command "_UNDO" "_MARK" "_-DGNIMPORT" (strcat tx2 tx5) tx4 "" "" ) (while (= (logand (getvar "cmdactive") 1) 1) (command "")) (command "_ZOOM" "_E" "._DELAY" 1000 "_SAVEAS" "2013(LT2013)" (strcat tx3 tx5) "_UNDO" "_BACK" ) Let me know if this works.
    1 point
  5. @sketch11 The problem is definitely in the command sequence. There is an extra prompt that is not being accounted for. As I said - All you have to do is open one of the troubled files MANUALLY, and perform the "-DGNIMPORT" command MANUALLY to determine what prompting in the command is different! It is certain from the feed you just sent that the prompt that is not being accounted for is "Specify mapping setup or [?] <Standard>:". If you can determine why it is asking this on some files and not on others, you have the answer and we can figure out a contingency for it.
    1 point
  6. Hi Sketch11. Thanks for the file list. I cannot see how your program is failing. Perhaps it is the files you are converting - I can't be certain. I have tested it on my end and it seems to work well for me. However - I don't have a huge amount of dgn files to test. NOTE: This program relies heavily on the order of command sequences. I suggest you try to open one of the files it failed on. Then perform each command in the program manually and note if there are any changes to the prompts. You could do this easily by opening the dgn file, the copying each (command...) string from the program 1 at a time and see if there are any errors or invalid responses. There might be an additional prompts based on some circumstance that happens with the files that are failing! As BIGAL said - you should remove the extra blank lines from the file. It may not effect the processing, but the program would possibly not end cleanly leave behind un reset system variables and undo marks.
    1 point
×
×
  • Create New...