Skip to main content
12-Amethyst
June 1, 2016
Question

sd-uwgm-element-load

  • June 1, 2016
  • 1 reply
  • 1387 views

Hello,

We work with windchill 10.2 and creo elements/direct modeling 18.1 and we want to load drawings (mi-files) automatic. Normally it should work with "sd-uwgm-element-load" from modeling with lisp programming, but I get an error "Illegal call to action routine”. For 3D files (sdac and sdpc) this works perfectly but apparently not for 2D files. Is there an other way to do this, or is it possible to change this command in modeling.

Thanks in advance

1 reply

11-Garnet
July 9, 2020

The 2D drawing must be inside the active workspace and to load it use the command:
(sd-uwgm-element-load "filename.mi"))