News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Closing File Closes Entire TC App

Started by dmrundle, December 09, 2023, 08:10:53 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

dmrundle

Is there an explanation for this irritating problem? One file in particular, which is the largest of all my TC files at 41.7KB with many layers, when being closed by the red X pauses for a moment then the entire TC app closes with the laptop reverting to its desktop. There may be another one of more minimised files but that doesn't seem to matter, it still will close. I was hoping that a reinstall - see previous posting - would cure the problem but no. 

Alvin Gregorio

#1
Quote from: dmrundle on December 09, 2023, 08:10:53 AMIs there an explanation for this irritating problem? One file in particular, which is the largest of all my TC files at 41.7KB with many layers, when being closed by the red X pauses for a moment then the entire TC app closes with the laptop reverting to its desktop. There may be another one of more minimised files but that doesn't seem to matter, it still will close. I was hoping that a reinstall - see previous posting - would cure the problem but no. 
The "cause" would be a hunch, without the .tcw file and/or Windows log as the Closing event occurs.

But you might want to try:
>Start a New Drawing.  From Scratch, Page Setup Wizard, or a reliable Template.
>Use File/Extract From... to extract the contents from the file into this new drawing.
  Make your own decision of how much you want to include in the Extract From...-- you can include Layers, Graphic Styles, Paperspaces, ... more.
  I would suggest limiting that which is extracted to as little as possible; or
  Extract as much as possible; and if the issue persists, repeat, but extracting less stuff, until you successfully suss out the problem aspect.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

John R

Quote from: dmrundle on December 09, 2023, 08:10:53 AM...when being closed by the red X ...

Which "red X" and where?

If running multiple 'Tiled' files, the red X for the active window.
or
The red X in the upper-right of the Program.

Try "Ctrl+F4" to Close the active file.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

John Kohlmeyer

#3
You can also use the File menu if you're not into memorizing arcane key combinations.  Just select "Close"
TurboCAD 2021 Platinum, v28.0 build 81.1
Windows 10 Home
Intel Core i7-9700 3.00 GHz
32 GB RAM
NVIDIA GeForce RTX 2070 SUPER

dmrundle

Here is the offending file. My description of the closing method was not accurate. I generally have one window open at a time. If using multiple files then the others are minimised. When closing a file I click the "Close Window" button. When there are no files to work on at the end of a session only then do I click the "Close" button in the top right corner. With the attached file clicking the "Close window" button abruptly closes everything after a few seconds and returns to the desktop.

PCSteel

Yeah, I can confirm that the file does the same on my system, there's something strange about it. Was it originally a .DWG or some other format other than .TCW?
John@PC Steel

Core i7-6700 CPU
16GB Ram
64 Bit
Windows 10 Home
TurboCAD 2015 Pro Platinum 64 bit Build 90.0
TurboCAD 2023 Platinum 64 bit Build 63.3

John R

I get the same problem with this file. If I use the "Close Window" icon or the "File / Close" menu. The file closes, then the program shuts down about 5+ seconds later.

It does render nicely and quickly though.

TC2020 Platinum (64-bit)
V27.0.44.4
Win 11 Pro (22H2)
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

dmrundle

Now that you mention it the project was started before TC using Autosketch. I became a convert starting at TC V16 and that means about a third of the layers were converted from the AS format. I can identify which ones because I have an archive folder entitled "Autosketch drawings" containing 16 files now each suffixed TCW. These would have been the basis for the current file.   

Vlad Veselov

Quote from: dmrundle on December 11, 2023, 09:34:38 AMHere is the offending file.

I found at least one bad object on layer 'VALVE GEAR  Inside' (see picture). A crash occurs within ACIS when this object is deleted or attempted to be modified.
It is advisable to get rid of this object or try to cure it (command 'SAT Healing')

To get rid you can try to do this:
- Create an invisible layer for ex. 'Error'
- Move the bad object to a 'Error' layer
- 'Save As' drawing to new file
- Open new file
- Delete 'Error' layer

Vlad

dmrundle

Thanks for all your help. I will check out the above. A possible fix? It was suggested to me by an IT specialist that if I saved the file as a random CAD format then re-opened in that format then saved as a TCW with a different name the file would be "flattened" as he put it. So, saved it as a DXF then back again and so far the problem seems to have gone away.   

Alvin Gregorio

Quote from: dmrundle on December 19, 2023, 01:22:52 AMThanks for all your help. I will check out the above. A possible fix? It was suggested to me by an IT specialist that if I saved the file as a random CAD format then re-opened in that format then saved as a TCW with a different name the file would be "flattened" as he put it. So, saved it as a DXF then back again and so far the problem seems to have gone away. 
Does "random CAD format" mean .dxf?

Because that's a useful tip.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

John Kohlmeyer

When saying 'random' CAD format, are you meaning 'generic' CAD format?
TurboCAD 2021 Platinum, v28.0 build 81.1
Windows 10 Home
Intel Core i7-9700 3.00 GHz
32 GB RAM
NVIDIA GeForce RTX 2070 SUPER

dmrundle

 I wrote "random" meaning I could have chosen one of many in the list as it was suggested that any CAD format could be used as long as it could be opened again in TC. When "saving as" the rogue file I chose DXF from the list of those available as it is one I am familiar with.