DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Printing Part of Drawing using Paperspace

Started by aqua, March 16, 2007, 07:52:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

aqua

Designcad 13.13

I am wanting to print part of the drawing.
Using Paperspace, I can do this but it resets the working plane
(I use working planes to rotate some drawings)

Current method

Click Paperspace
Click Okay to Layout
(View that appears will reset working plane if one was utilised - I don't want it to do this)
Click on Drawing
Click on Zoom Magnifer in new toolbar then set zoom window
Click on File/Print preview

Does anyone know a way around this issue.

Regards Frank
p.s. using print preview and "print region" is not the solution - as it prints the region as a small area on a page. I want to fill the whole page with part of the drawing

Rob S

#1
Does this help

http://forum.designcad.com/index.php?topic=174.0

It relies on the paneling available in print-preview

If not then try this one

http://forum.designcad.com/index.php?topic=225.0
User since forever

aqua

Rob

I went with the second one. Added a few messages to ensure user operates it correctly.

Thanks Frank



'FTM 19/3/2007

' pr5.d3m     bdeck   1/07
' Macro to print contents of a section rectangle to scale or to fit page
' Print dialog works, but print preview fails.
' Based on a combination of methods suggested by janders and Lar.
' Does not print images unless totally enclosed by section rectangle.

sys(80)=0
sys(1)=0
if sys(1)>2 then  'no of pts set'
      message "too many points"
      end
endif     

Message "This function will allow the user to print part of the drawing. If an image is involved - it will only print the image if it is enlosed wholly in the user set print rectangle:"
Message "Set 2 points to define print rectangle - i.e. area you want printed, then click on Print. Do NOT use Print Preview"
>SectionCopy
{
      <UsePresetPoints
      <Maxpoints 2
      <CmdPrompt "Set 2 points to define print rectangle"
      <Incomplete 1     
}

sys(49) = 1  'Disable cursor move on POINTXYZ   
sys(36) = 1  'silent mode    fails to hide dialog

' ******************    these lines get parent printer settings for 'print to scale' (optional)
sys10=sys(10)       
sys11=sys(11)
sys1114=sys(1114)
sys32=sys(32)
sys134=sys(134)    ' margins
sys135=sys(135)
sys136=sys(136)
sys137=sys(137)
' ******************   (print orientation does not seem to be gettable)


>New  ' create a new temporary drawing
{
}


>Paste    ' paste a copy of selected section outside the current drawing area
{
<Type 1          ' 1 = Fixed scale (always paste at original size)
' <Pointxyz [0,0,0]   ' 3d seems to work better without this parameter, dunno why
}

>ID_ZOOM_SELECTION   ' zoom to pasted selection (optional)
{
}

>Deselect          '  (optional)
{
}


' ****************   use parent printer settings for "print to scale"   (optional)
sys(10)=sys10     
sys(1114)=sys1114
sys(32)=sys32
sys(134)=sys134    ' margins
sys(135)=sys135
sys(136)=sys136
sys(137)=sys137
sys(11)=sys11       ' use this line to default to parent's scale factor
sys(11)=0             ' or use this line to default to "fit to page"
'***********************************************

>Print   ' show print dialog
{
}

>Close    ' close the temporary drawing
{
<SaveChanges 0
}
sys(1)=0
Message "Now click on Maximise to restore the screen display"
end