cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

am_save_sheet_dwg/f2_core/unknown_error

Ertan_Akbayir
9-Granite

am_save_sheet_dwg/f2_core/unknown_error

Hi all;

 

When I want to save dwg file from annotation module, I am taking following error;

"am_save_sheet_dwg/f2_core/unknown_error". 

 

I need help, thank you very much

 

 

 

ACCEPTED SOLUTION

Accepted Solutions

Hi;

 

The problem was due to different windows session. I dont take error in other windows session. Thank you for your reply. The lisp seems very very useful but I couldnt use it. I use 20.4.1 version.

Thank you very much

View solution in original post

5 REPLIES 5

Are you saving with the save window from the menu bar?  Or are you using a lisp file or typing in the a save command on the command line?

Creo Element\Direct Modeling 20.6.0.0.0

I use save command, 

 

Is this a new issue?  Or has it always been an issue?

Creo Element\Direct Modeling 20.6.0.0.0

I wrote a lisp file that will create DWG files from multi sheet drawings.  It will name the file dwgname_sheet number. It will save it to a folder c:\working\out.  If the folder does not exist, it will create it.

 

(sd-defdialog 'Save_sheets_to_dwg
	:dialog-title "Sheets -> dwg"
	:ok-action '(sd-am-save-all-sheets-as-dwg))

(defun sd-am-save-all-sheets-as-dwg ()

;checks for c:\working\out and creates it if it does not exist
      (unless (sd-directory-p "c:/working") (sd-make-directory "c:/working"))
      (unless (sd-directory-p "c:/working/out") (sd-make-directory "c:/working/out"))

		(dolist (a-s (sd-am-inq-all-sheets))
			(let ((sheet-name nil))
				(setf dwgnm (format nil "~A" (subseq  (docu::docu_inq_drawing_number_text) 0 (search "-DWG" (docu::docu_inq_drawing_number_text)))))
				(setf sheet-name (sd-am-sheet-struct-name (sd-am-inq-sheet a-s)))
				(sd-execute-annotator-command :cmd
					(format nil "store dwg '/~A' del_old '~A~A_~A.dwg'"
						sheet-name "c:/working/out/" dwgnm sheet-name))
			);end let
		);end dolist
)

  

Creo Element\Direct Modeling 20.6.0.0.0

Hi;

 

The problem was due to different windows session. I dont take error in other windows session. Thank you for your reply. The lisp seems very very useful but I couldnt use it. I use 20.4.1 version.

Thank you very much

Announcements


Top Tags