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.

Can't select items after a copy & paste of a logo (orig TIF image)

Started by drgroen, June 08, 2009, 04:06:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

drgroen

All,

Having a problem in 19.1, but have seen it in 18 also.

General sequence of events:
1.  We have 2 old drawings that need to be updared (created in version???).  (2D system block diagrams.  Not too complex.)  We have a new logo that we need to add, along with other changes.
2.  Open File 1.
3.  Do a File / Image / Load Image File.  Select the logo (TIF file, 192K).
4.  Add a box around the logo, Change some text, possibly other changes.
5.  Save File 1.
6.  Open File 2.
7.  Copy & paste the logo and its surrounding box from Drawing 1 to Drawing 2.  Maybe some other changes.
8.  Save Drawing 2.

At some point, we are not able to select some individual items in Drawing 2.  Some we can select; others we can't.  We can select all with a CTRL-A.

From that point forward the drawing becomes useless to us.

However, if we were to have opened Drawing 2 and done a File / Image / Load Image File (instead of a Copy & Paste) Drawing 2 is okay.

Unfortunately, I can't put together a sample file to reproduce the problem. 

Any ideas?

Thanks,

Dave

Rob S


Does the same thing happen if you save drawing 1, close, and re-open it, and then do the copy/paste to drawing 2?

It could have to do with undo information for drawing 1 being held in memory.
User since forever

msholden

Try enabling all Layers.  Some times when I copy from one document to the other the layers can be in different states.  I know it is simple but it has happened to me before.

drgroen

Rob,

Thanks for the idea.   Some of the files do get pretty big (with the logo), and when I first load the logo I have to re-size it a number of times to get it to fit, so the undo buffer could be the culprit.

Usually it happens when I'm under the gun to get something out....  For now, I'm going to just load the graphics separately for each file.

I tried yesterday to simulate it but couldn't.  When I get a chance, I'll try saving, closing, and re-opening.

Thanks!

Dave

drgroen

Quote from: msholden on June 09, 2009, 05:28:54 AM
Try enabling all Layers.  Some times when I copy from one document to the other the layers can be in different states.  I know it is simple but it has happened to me before.

Thanks.  For these types of drawings I normally have items only on a few layers, and they are normally all on.  They were in this case.

I also use Grouped entities.  I thought that the Nested Group option might be causing the problem (see another discussion by others).  I found that Nested Groups was on.  I've turned it off.  Something more to check...

Dave

drgroen

Quote from: msholden on June 09, 2009, 05:28:54 AM
Try enabling all Layers.  Some times when I copy from one document to the other the layers can be in different states.  I know it is simple but it has happened to me before.

It may be related to this.  It happened again to me, but I hadn't copied the logo to the drawing.  Doing a lot of Stretching, though.  All layers are on.

I was able to fix things (at least in my drawings) by selecting all (Ctrl-A) and moving everything to Layer 1.  Then I could select the entities.  I was also able to use this fix for the files that were formerly unusable.  Fortunately, for these particular diagrams I can have everything on a single layer.  It would be much more of a problem if I needed to preserve the layers...

May have to do some scripting on the trashed file to see what's going on...

Dave

drgroen

Another fix is to Save As a DC2 ASCII file & Re-Load.

If the file has an image, it is gone, but layers are preserved.

Don't have any dimensions on this diagram, so they don't get messed up.

Dave

drgroen

Quote from: Rob S on June 08, 2009, 09:00:31 PM

Does the same thing happen if you save drawing 1, close, and re-open it, and then do the copy/paste to drawing 2?

It could have to do with undo information for drawing 1 being held in memory.

Rob,

File sizes are all over the place.

Sometimes they are 230K, other times they are 6.9M.  Other times they are 13M+.

I thought it might be the difference between a 14K PCX file image vs a 163K TIF file, but now I'm not so sure.

Any thoughts about which (if any) image file DCAD prefers?  Or which one(s) it has problems with?

It's also interesting to watch the file size in Windows Explorer.  When you save a file it will be one size.  When DCAD closes the file it will oftentimes change (typically it gets smaller).

Dave

Dave

Rob S


File size relates to some kind of micrsoft compound file format.

You can reduce the size by half by doing a save-as, or by opening the drawing, and closing without saving!!!

As to file format, designcad seems to like jpg's the best.
User since forever

Dr PR

Dave,

1. DesignCAD uses essentially 2X file size memory space. There is the undo information, previous views, shading information, etc. that are saved in the .BAK file while the program is running, so Explorer shows a roughly 2X file size. When the drawing is closed from DesignCAD all the excess information is flushed and the file size gets smaller.

2. Occasionally DesignCAD moves things to layer 1 for no easily explained reason. If it does this to part of a group and layer 1 is disabled or locked you will not be able to select the group. This could explain why it worked after you moved everything to layer 1.

3. If nested groups are enabled, when you group objects an invisible entity is created ON THE CURRENTLY ACTIVE LAYER. All the other parts of the group may be on different layers. This applies to simple groups as well as nested groups of groups.

Consequently, if you disable or lock the layer with the hidden object you cannot select the group, even if all the real elements of the group are visible and on unlocked layers!

Yes, this is bonehead stupid, but it is the way nested groups have been implemented.

I have been bitten by this so many times I always disable nested groups in "Options/Options/General" and always tell DesignCAD to eliminate nested groups when I open a file. Further, before creating a new group I select the objects and execute "Tools/ Recursive Group Explode" just to be sure. Then I use "CTRL P" to reselect the objects and use "Tools/Group Define" to create the group.

4. I found that on my XP Pro machine with 1 Gbyte RAM the largest DesignCAD file I could edit was about 35 Mbytes. That was with no other programs running on a machine with no network connections (network software not wasting RAM in the background). If your machine has less than a Gbyte RAM or if a lot of processes are gobbling RAM in the background you may be running into a memory limit on the larger drawings. When this happens DesignCAD becomes very squirrelly - commands stop working and other strange things happen.

5. It would be best to reduce the logo image in a bitmap editing program to get it to the minimum suitable size before importing it into DesignCAD. Carrying around a huge bitmap image is asking for trouble.
DesignCAD user since 1987

drgroen

Dr PR,

Thanks for the info.  I'll keep itmin mind next time sonething bites me.

I checked my PC the other day for another reason and it turns out that I only have (Gasp!) 512 MB of RAM.  Another reason to get some more memory modules. 

Pretty busy now.  Will have to get one of our other guys to change the logo to outlines when he has time.  That should help a lot.

Thanks!

Dave

Rob S


That'll be the fix for it, then. 

Ram is cheap, get at least 2 gigs for XP, and 4 gig if the machine will handle it, and you have any expectation to downgrade to vista!!!
User since forever