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.

V22.1 Please enter a number between...

Started by Blood, July 08, 2013, 03:37:43 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Blood

Hi

Using V22.1 I have imported a dwg. When I click Print and accept the present default which is fit to paper, when I click the Print button the following is displayed:



Clicking OK results in the values shown changing, entering a number within the parameters and clicking OK resets the value to 0. Clicking the X repeatedly eventually closes the dialog. In this instance, printing to PDF, a dialog will be shown requesting a name for the PDF but on my XP PC the file is blank, and on a Win7 PC the image is rotated but the text stays where it is.

Anyone know what is happening here, please?

Thanks
Using DCAD V17 and V22 in 2D mode on a Windows domain.

Lar

Blood,

It would help us if you move the print dialog from in front of the drawing and move the error message from in front of any of the input fields in the print dialog.

Maybe do a print preview (file menu> print preview...) so we can see what dcad sees as the area to be printed, then click the 'S' icon to open the print dialog (and move it away from the center of the preview).

Lar

Bob P

Whenever the print area "breaks", I do a fit-to-window of the drawing.  Most of the time, the drawing has acquired a stray entity way off the main drawing area.

Blood

Hi, folks

I can't show you the drawing because it is sensitive and is not yet allowed in the public domain.

When I click Print Preview, the drawing is flipped horizontally and vertically. When I choose Print from within Print Preview the print dialog is displayed, and when I click the Print button on the dialog a filename prompt appears as it should for a name for the PDF. The same behaviour occurs if I request a normal print to a physical printer

This issue only occurs when printing from a normal view. These shots show the settings. I have also tried changing from fit to page to a set scale but see the same thing.





Thanks for taking the time to respond.
Using DCAD V17 and V22 in 2D mode on a Windows domain.

Lar

Quote from: Blood on July 08, 2013, 07:58:52 AM
I can't show you the drawing because it is sensitive and is not yet allowed in the public domain.
Without seeing and being able to compare what's in the drawing window and what's in the print preview it's just about impossible to advise on this issue.

Quote from: Blood on July 08, 2013, 07:58:52 AM
When I click Print Preview, the drawing is flipped horizontally and vertically.
I find this very strange since dcad simply prints what ever is shown in the active view.

The values of your 2nd error message is also strange. First I would say that the 2nd could refer to an input fields on the other unseen tabs of the print dialog (the 1st was obviously for the scale since changing the value from zero satisfied that). What I find strange about the 2nd is that it is asking for a negative value and I don't know any of the print fields that do that.

Lar

Dr PR

Blood,

This "Please enter a number ..." dialog appears when some value in a dialog box is either blank or out of range (too large/small) for the program to work with.

The numbers the dialog is asking for are rather strange. If I recall correctly it is normally 1.0e-15 to 1.0e15 for the maximum number range, so the 1.0e30 is odd. Stranger still is the request for a number between -125.6422 and 0.

It really looks like there is something in the drawing that is far away from the rest of the drawing. The print dialog says the objects are 1486.86x519.08 millimeters. Is the the correct maximum extent of the drawing elements? What does "Help/Drawing Info" say the "Drawing Size" is? Is it the same?

It is possible to have invisible elements in a drawing. If one of these is located far from the visible elements it can cause all sorts of problems. In this case it may result in an dimension that the print routines cannot work with - just a guess. We have seen similar problems before in drawings with hidden elements.

Do you have all layers enabled when you view/print the drawing?

One think you might try is selecting only the elements of the drawing you want with the drag selection box and then copy/paste them to a blank drawing. This often leaves the hidden junk behind and solves the problem.

Phil
DesignCAD user since 1987

Lar

Quote from: Dr PR on July 08, 2013, 09:12:26 AM
It is possible to have invisible elements in a drawing. If one of these is located far from the visible elements it can cause all sorts of problems. ...
There is also a provision to take into consideration entities that are on layers that are turned off. Can't remember where to find it right now.

Lar

DrollTroll

Check paper size and margins to make sure they all make sense.
25 years with DesignCAD

Blood

Thanks.

This is the problem - I don't know what the value is for and the dialog does not say. I have scaled the imported dwg so that the drawing units are correct (meters).

I have blocked out the bulk of the drawing so I hope there is enough for you to see what is happening.

This shows the drawing in a normal view



This shows the drawing when Print Preview is selected from the toolbar



This shows the default paper settings as chosen by Designcad


When I previewed this post the full drawing was not shown so here are the links (ignore the new mail notification...):
http://img809.imageshack.us/img809/3844/lq4y.jpg
http://img35.imageshack.us/img35/4038/gyz9.jpg
Using DCAD V17 and V22 in 2D mode on a Windows domain.

Lar

Well, I'm stumped. I have never known dcad to print anything other than exactly what's in the active window (assuming 'fit to window').

For me to get a 180 degree rotated print preview of what's in the active window (say I was playing a prank on someone) I would duplicate everything and scale the duplicate very small, place it in the center of the visible content, rotate it, then in the print dialog set the scale so only the small duplicate fills the preview window.

I know that blocks in dxf/acad imported files sometimes cause dcad to misbehave. Is your entire drawing a block or xref or something. If so explode it and see what happens.

Maybe you can try printing from paper space.

My only other solution, for immediate relief, would be to change the large 'A' and 'B' text entities to 3d text (since they do not rotate they are obviously 2d text) then just print. The holder of the hard copy won't know that it was printed rotated and would just manually rotate the paper so it reads correctly.

Lar

Blood

Thanks a lot.

Reading your comments I simply took the process one stage further. I tried exploding the drawing but the same behaviour persisted. I saved the imported DWG as a DCD. When I had saved it, the drawing still flipped horizontally and vertically when displaying print preview and the dialog asking for a parameter value was also displayed. However, after I closed the DCD and opened it again, the print dialog worked as expected and the drawing was not rotated in print preview.

Thanks for all the help, folks. Usually, printing an imported DWG works fine.
Using DCAD V17 and V22 in 2D mode on a Windows domain.

Dempsey

I don't know the units, but looking at your last Print Command dialogue I see a paper size of 0.30 x 0.21 while twice a margin (0.1472 and 0.2742 respectively)  is already larger then the paper size. That does not make sense to me.
Dempsey