Hiya lads,
I have this drawing, wich has 3 sheets.
The first sheet is the 'frontsheet' wich is allways the 'main'sheet that gets printed.
Depending on what is required, one of the 2 remaining sheets getsprinted on the backside of the 'frontsheet'.
In order to do this, I tought about just deleting the non-wantedsheet, leaving me with my 2 desired sheets to print.
This is no problem, as the drawing only needs to print once, andthe actual drawing itself closes without saving shortly after. Thusthe deleted sheet isn't lost anyway.
This works manually, and I have the code recorded correctly.
But when I run this code on playback the sheet doesn't get deleted.
Instead I get the following balloon-message (see attached pic).
The pic shows the code I'm running, and the red-X shows the linethat 'should' delete the sheet. But after executing that line, itgives me the warning that the sheet couldn't be deleted ?
Any ideas ?
Cheers,
Bert
SolidworksApi macros
I have this drawing, wich has 3 sheets.
The first sheet is the 'frontsheet' wich is allways the 'main'sheet that gets printed.
Depending on what is required, one of the 2 remaining sheets getsprinted on the backside of the 'frontsheet'.
In order to do this, I tought about just deleting the non-wantedsheet, leaving me with my 2 desired sheets to print.
This is no problem, as the drawing only needs to print once, andthe actual drawing itself closes without saving shortly after. Thusthe deleted sheet isn't lost anyway.
This works manually, and I have the code recorded correctly.
But when I run this code on playback the sheet doesn't get deleted.
Instead I get the following balloon-message (see attached pic).
The pic shows the code I'm running, and the red-X shows the linethat 'should' delete the sheet. But after executing that line, itgives me the warning that the sheet couldn't be deleted ?
Any ideas ?
Cheers,
Bert
SolidworksApi macros