Create and publish/share lisp functions vs Windchill. In particular "open file" by CADName.
(UWGM::UWGM_COMMAND :COMMAND-ID "open" :OBJECTS LISP::NIL) permits to open the "open window" in the windchill workgroup manager.
I would like to open directly a file by lisp command (by cadname).
Example:
(UWGM::UWGM_COMMAND :COMMAND-ID "open" :FILENAME "a.sdpc")
but I don't know the correct lisp parameters accepted by UWGM::UWGM_COMMAND and ptc doesn't tell me (https://www.ptc.com/apps/case_logger_viewer/auth/ssl/case=C11892729)
This would be equivalent to the jlink command (for Creo Parametric):
ModelDescriptor modelDescriptor = pfcModel.ModelDescriptor_CreateFromFileName(fileName);
Window window = session.OpenFile(modelDescriptor);
.... this for a minimal programmatically use ...
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

