does anyone know how do find out what the current output device is in an AutoCAD drawing? I am trying to create a program that will plot to file if a certain plot device is specified, and need to know what to check for.
Code:(command "-PLOT" "N" ;Detailed plot configuration? [Yes/No] <No>: N "" ;Enter a layout name or [?] <Layout1>: "" ;Enter a page setup name <>: "" ;Enter an output device name or [?] <current>: I would like to check this. "y" ;Write the plot to a file [Yes/No] <N>: y file ;Enter file name <maverickengineeringx5405RCp01001-Layout1.PLT>: "N" ;Save changes to page setup [Yes/No]? <N> n "y" ;Proceed with plot [Yes/No] <Y>: )