#1
|
||||
|
||||
Suppress Error Messages???
Hi,
we are trying to build a kind of CAD worker that loads an Annotation Drawing and it's owning 3D Model from Workgroup Manager, then updates the text references in the drawing (that's where we need the model for), and then creates a pdf. We can do all actions except the loading of the drawing. We use the command Code:
(sd-uwgm-element-load "A0046550.mi") Code:
(oli::sd-call-cmds(AM_LOAD_DRAWING :FILENAME "g:/.wgm/.ws/ourwindchillservername/Parts/myannotationdrawing.mi")) My question: is there a Lisp trick to press the OK button of the error message, or prevent the error message from getting in the way?? That way, we can go on with our Lisp macro... The reason: although the command fails, at least it gets the drawing from Windchill to the workspace, so we can get it from there afterwards with AM_LOAD_DRAWING, that is, if we could get rid of the error message... The weird (good) thing is that a 3D model loads nicely with Code:
(sd-uwgm-element-load "A0046550.sdpc") Thanks for any suggestion! Jaap |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|