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.

'Out of range' on ruler

Started by Markdym, April 29, 2019, 08:29:40 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Markdym

Hello!

Today, one of our staff using DesignCad V. 22 has an odd thing happening with the ruler. It displays 'Out of range.'.

Anyone know why this might be happening, please?



New and other drawings seem to be OK. The affected drawing has essentially loaded an image (a jpg scan of a scaled drawing), scaled it (meters), and then traced over the drawing to digitise it. We do this a lot but I've never seen this in 10 years using DCAD.

Thanks!

Dr PR

I have been using the program since 1988 and this is a new one for me too!

What version of DesignCAD are you using? It a 32 bit or 64 bit version? What operating system?

I succeeded in getting the "Out of range" message on the tool bars by doing this:

1. I zoomed way out until the entire drawing was just a speck.

2. I panned far to one side and set the Origin (Point/Origin) as far away from the drawing as I could.

3. I then used the "Units" function (Dimension/Units) to make the long dimension of the drawing a very large number - 1 billion.

Then the rulers showed "Out of range." I don't know what the maximum range of the rulers is, but I think it is something like 1x10^10. That is the longest dimension I can set with the "Units" function.

My guess is that the drawing's Origin is somewhere out around Jupiter. This often happens with imported CAD files, and could result from moving and scaling an imported image.

Set a new Origin at the appropriate place in your drawing and see if that solves the problem.

If it doesn't then the dimensions of the drawing are too large. Check to be sure that it is scaled properly.

Let us know the results.

Phil

DesignCAD user since 1987

Markdym

Hi, Phil

Thanks for responding.

It's DCAD V22 (32bit) on a 64bit Win7 Pro desktop.

The units reflect the scale of the underlying image. So, the width of the screenshot in my original post is just over 3 drawing units (set to meters). I set the origin to the lower left-hand corner of the imported image but the out of range text is still present.

I just tried exporting it as a .dxf and then importing it into a new drawing. When I did so a range of layers appeared which are not present in the original drawing (using the Layers command these extra layers are not shown in the original - no asterisk to denote entities). However, the drawing imports as shown below:


The ruler is back as well.

When I zoom into the centre the original drawing is there. All the lines that extend beyond the drawing are from the same layer which is one of several that appeared with the import:


I'm afraid that I am not familiar with the history of this file so cannot determine how or why this might have happened. However, for me the problem is solved.

Markdym

More info:
The 'extra layers' were not extra layers not visible in the original. The entities have moved from layers 1 to 8 into layers 45 to 52.

When I delete layer 52 (which is what comprises the 'explosion' lines), parts of the original lines from the original drawing are lost:


Surreal. Some corruption appears to have occurred.

Dr PR

Have you looked at the drawing in 3D mode? Sometimes if you open a 3D drawing in 2D mode it can look really strange.

I have seen the "starburst" of lines with imported files before. Some programs have hidden garbage in the files (such as unused blocks or symbols, construction lines, etc.).

If you delete unused blocks that sometimes clears up some of the mess.

Phil
DesignCAD user since 1987

Markdym

Hi, Phil

No, our use is almost exclusively 2D. We have used DCAD's 3D abilities about 3 times since it has been in use in our company (since the early/mid-'90s).

Having delved into this a little deeper, I realised the extra layers were named after layers that are created by our GPS survey processing software when exporting the processed survey data - although the data is exported as lines and points - no shapes etc., are created during the export process. What should have happened is that this DCAD file should have been created from a new blank document. I suspect someone has created a 'template' from a file that was used to import the processed survey data (.dxf), deleted the survey data and then amended it. Perhaps something was left in place that caused the problem. I have asked them to create a new drawing, name and configure their layers and use that as a template and the issue has not resurfaced.

Thanks for taking the time to help. It's appreciated.

Cheers!

Mark

Adrian 2.0

A few years back I reported a bug - may well have been V22 - where my 3D files were corrupted to look exactly like the image you posted (your image now not available to view I see, not sure why that is).
If you are working with DWG /DXF files from surveyors they are almost always generated in 3D. (elevation of points can be seen if you switch to 3D) if you ever have problems snapping to the intersect of 2 lines on a drawing it is almost always because they lie on different planes on the Z axis.

If your file was modified from a surveyors file - or if you imported any data from a survey into another file it is pretty sure to have depth in 3D.

The issue is not limited to the lines you imported only. If you gravity snap onto a line in a different Z plane then all new points you draw after that snap will also be in that new plane.

All this shouldn't be a problem except as I said - there was an issue that corrupted 3D files a while back. There was a fix issued for it so make sure you have all the updates for V22 installed.

If you know you are never going to need the3D function on a file it's not a bad idea to run the 'flatten' macro that some helpful person posted here before.

Markdym

That is very valuable information. However, the software we use - n4ce - includes an option to output 3D when creating a dxf from the processed survey data and we never use it. But, who knows what jiggery-pokery might have occurred!

Thanks very much, though!

Dr PR

I recall someone else having the same problem with a "template" file having strange problems. They had used an imported file from a customer as the base for a blank file after deleting all the drawing objects. But the customer's program created a lot of hidden layers and unused blocks. These had unwanted effects in DesignCAD.

One way to eliminate some/all of these problems is to:

1. Set up the file (modify the customer's file) in DesignCAD to show all of the visible details you want to keep,
2. Enable/unlock the layers with the things you want to keep and lock all other layers,
3. Copy the visible parts, and
4. Paste into a new blank file.

Only the parts on the unlocked layers will be copied.

It is also a good idea to disable nested groups in the new file before pasting, just in case the file has nested groups linked to invisible parts. This shouldn't be a problem if you lock all non-visible layers ijn the original file before copying, but it doesn't hurt to be cautious.

Phil
DesignCAD user since 1987