PDA

View Full Version : Returning string of file name


max001
11-09-2002, 07:53 AM
Does anyone know how can have the current file name (drawing open file) as string?
Is there a var to get the file name of the current file on screen of Me10?
Thank's
Max

Yannick Rouat
11-11-2002, 04:43 AM
You can have the full path and file name of current drawing
whith this command

INQ_ENV 0 DISPLAY (INQ 304)

regards

rtoenshoff
11-18-2002, 01:23 PM
This is only true if the filename is the same as the name of the top-part.

Roman

John Scheffel
11-18-2002, 02:34 PM
Originally posted by rtoenshoff
This is only true if the filename is the same as the name of the top-part.
What version of ME10 are you running? The Help for Drafting 11.6 says:

304 - "full path and file name of current drawing"

I tested it with a drawing where the part name is not the same as the file name, it returned the full path file name just as the Help indicates.

I checked the Help for ME10 10.50, and it does not list anything for INQ 304.

lfortner
11-26-2002, 01:05 PM
Hi all,

I've tested
INQ_ENV 0 DISPLAY (INQ 304)
against CoCreate OneSpace Designer Drafting 2002+ 11.60 23-Sep-2002,
and it works Ok.
Best regards