Look in the file: .emcrc. The GWiz source code shows how to access this;
but it is the same format as a .ini file. Use section PICKCONFIG,
variable LAST_CONFIG to access it.
Ken
Leslie Newell wrote:
> Thanks Jeff,
>
> Unfortunately that raises another problem. I need to find the ini file.
> Axis knows this because it is passed on the command line. I think to get
> this tool change stuff working correctly I will need to integrate it
> into Axis anyway.
>
> Les
>
> Jeff Epler wrote:
>
>> You need to set emc.nmlfile to the right path to emc.nml before creating
>> the stat and command objects.
>>
>> This is how it's done in axis:
>> emc.nmlfile = os.path.join(os.path.dirname(sys.argv[2]),
>> inifile.find("EMC", "NML_FILE"))
>>
>> hal_manualtoolchange doesn't need to do this because it doesn't use nml
>> at all, it acts entirely through hal.
>>
>> Jeff
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Emc-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166
------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users