News:

When replying to a specific statement be sure to quote the previous post.

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.

Saving a SHX (shape) file message

Started by SteveS, July 20, 2015, 06:14:14 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

SteveS

I just tried to save a drawing as a SHX (shape) file format but doesn't seem to work. Got the attached message. I'm trying to make a new line style by drawing my line first and saving as a shape file in My Documents/TC 2015 Pro/Shapes. What is 'Save Selection Mode"?
TCPro2015 / TCPro18  / Windows 10 / Intel Core i7 5500 NVIDEA GeForce 930M

Henry Hubich

Quote from: SteveS on July 20, 2015, 06:14:14 PM
I just tried to save a drawing as a SHX (shape) file format but doesn't seem to work. Got the attached message. I'm trying to make a new line style by drawing my line first and saving as a shape file in My Documents/TC 2015 Pro/Shapes. What is 'Save Selection Mode"?

Don't know. But to save a Shape, select just that shape in your drawing. Then in File>Save As, click the "Selection" radio button. Don't try to save the whole drawing.

Usually a "Shape" is a simple 2D element, and you create a new Line Style in the Line Style Editor by specifying one or more Shapes or other elements. The new Line will consist of a string of the set of elements you assembled in the Editor.

Henry H

murray dickinson

#2
"Save selection" is the check box bottom right of the "save as" dialogue box, while the shape's selected, natch.

SteveS

#3
I actually worked out how to create the line using 'Drawing Setup'/'New Line Style' but having a few issues. When I use the new line style it is too small and I have to change Properties/'Scaling to World' and 'Dash Scale' = 5 every time to make it big enough. Do I need to modify and increase size in Line Styles or is there some other way of making the properties permanent? The lines' properties seem to reset every time I use the line style. Also having trouble saving it to use in other drawings. When I added to defaults in Line Styles it crashed TC. When I restart the line is gone.
TCPro2015 / TCPro18  / Windows 10 / Intel Core i7 5500 NVIDEA GeForce 930M

SteveS

Just tried attempted to save a new line style as a default line style again, but it keeps crashing my TC 2015!!! Lots of crash reports being sent. Not sure if I have a program issue or I'm doing something wrong. Might have to start a new topic on default line style >:(
TCPro2015 / TCPro18  / Windows 10 / Intel Core i7 5500 NVIDEA GeForce 930M

Dean

#5
That's a Nasty! bug, Steve I'll report it ;D
draw a line
Format > line style >create a new line style with a dash and shape > add it to the defaults
close line style editor
go to format > line styles = crash
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

DTTurbocad

Confirm.   Thanks for the details and for reporting it.  We'll get it fixed ASAP.


SteveS

I ended up (by that I mean late last night) using TC Explorer and double clicking on my new line style icon and and then created some lines using the new line style and it seems to of worked ok. The new line style is available in the drawing I used it in. Took me ages to work out the scale/size of the new line. Going between the line style editor and properties was doing my head in! At least I had a little win.

Haven't tried making default line style (yet). Might be better off sticking with the TC Explorer method at the stage.
TCPro2015 / TCPro18  / Windows 10 / Intel Core i7 5500 NVIDEA GeForce 930M

SteveS

Just wondering if I can use TC Explore to set Line Style default values or something....getting out of my league now. See attachment for what I mean. Just wondering but not game to go stuffing with these setting without knowing what I'm doing. The only experience I've had with TC explorer setting is with my default page size setting (A4 rather than letter) thanks to the good folk on this forum. Thought it might be a solution to making my new line a default line style.

I just opened the drawing I used my new line style in last night, and when I go to use the line style (ELECTRICAL) it is a different size/scale to when I was using last night (see attachment). The large (top) ELECTRICAL line is this morning's and the small (lower) ELECTRICAL lines are last nights. I can change the properties to make the same but seems I pain every time I use, just wondering if the line can be made the same size (model space) every time?
TCPro2015 / TCPro18  / Windows 10 / Intel Core i7 5500 NVIDEA GeForce 930M

Henry Hubich

If you have an earlier version of TCad on your machine, try creating the Line Style in that version. Then save a drawing that contains that line and open the drawing in v2015. If that works, you can make the new style available for future drawings -- assuming that the program continues to behave -- by deleting the line and then saving the empty drawing as a Template. A new drawing started with that Template should contain the new line style. We hope.

Henry H

John R

re: …editing in the TurboCAD Explorer palette…

See the Line Styles page in the Wiki, then scroll down to the "Editing the LineStyle_Table in Deluxe". This will show you how to insert a permanent Line Style into the program via TCExplorer. Though written for Deluxe, it should work for the Pro editions.
John R.

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

SteveS

Quote from: John R on July 22, 2015, 10:17:39 PM
re: …editing in the TurboCAD Explorer palette…

See the Line Styles page in the Wiki, then scroll down to the "Editing the LineStyle_Table in Deluxe". This will show you how to insert a permanent Line Style into the program via TCExplorer. Though written for Deluxe, it should work for the Pro editions.

Thanks John. Will have a play with TC Explorer line styles.

I decided to attach a drawing that I used two new line styles in (Electrical and Electrical 2, created when trying to work out best size of line). The drawing is 2D plan view of a property that is planning on extending mains power to some sheds. I used a custom template.

Couple of issues going on with this drawing, or my program, hopefully posting this will help find out:

1) Drawing Setup/Line Styles - when I try and make either new line style a default line style using "Add To Defaults" and window prompt comes up, "Are you sure you want to add line style "Electrical" to defaults?", I click OK and close Drawing Setup/Line Style window.
I close the drawing and, "Save changes to Electrical line style?" prompt comes up, I click Yes, drawing closes.
Open "New" drawing and get the dreaded "Unhandled Exception....." message followed by "generate crash report etc etc".
I just doesn't like using Drawing Setup/Line Style to "Add to defaults" at all! Using TC Explorer method seems to work ok so will stick with that for now I think.

2) If I try and add a parallel or orthogonal dimension to this drawing (on dimension layer) it changes the properties of the dimension something weird. I checked the properties of the existing dimensions on the drawing but when I try and add any new dims (in model space) the properties of the new dimension are completely different and seem to be very big compared to existing ones. I noticed if I right click and select Properties/Advanced Format, the Extension Lines size is a huge number as is the Offset value too. If I try and change these to zero and draw another dimension, it won't change. It always resets to some huge number! And if I finish the dimension, the extensions are so big the zoom jams up and won't work properly until I delete the dimension.

Maybe something up in Drawing Setup is causing it? Or my template? Or the scale of the drawing? Anyway, if anyone notices anything untoward or odd only too happy to correct. I think I used the "Aussie Template" to create my template as I am Aussie, but don't hold that against me ;), but might explain why it's in metric. Attached drawing was created in TC 2015 Pro. Please don't be too hard on me though, still on my L plates as we say here.
TCPro2015 / TCPro18  / Windows 10 / Intel Core i7 5500 NVIDEA GeForce 930M

SteveS

Just opened new drawing using "New Metric" template and created a new line style and tried to make default line style in Drawing Setup/Line Styles and when I tried to open a new drawing using the same template it crashed TC again. So maybe not my template or anything to do with my drawing etc. Might just be a bug in my system/program? Have to get back on topic and test if I can save a shape file next, see if that can crash it as well!
TCPro2015 / TCPro18  / Windows 10 / Intel Core i7 5500 NVIDEA GeForce 930M

SteveS

#13
Quote from: John R on July 22, 2015, 10:17:39 PM
re: …editing in the TurboCAD Explorer palette…

See the Line Styles page in the Wiki, then scroll down to the "Editing the LineStyle_Table in Deluxe". This will show you how to insert a permanent Line Style into the program via TCExplorer. Though written for Deluxe, it should work for the Pro editions.

Thanks again John. I copied the Line Style Table out of Wiki, saved as plain text file, followed the directions for Deluxe using TC Explorer and the LPG, Exist Elec Underg Prim, Exist Elec Underg Sec line styles seem to be default in all my drawings (so far). My 2 ELECTRICAL line styles (bottom 2 in attachment) still aren't default but I'm getting there.

I definitely learnt a lot about line styles today.
TCPro2015 / TCPro18  / Windows 10 / Intel Core i7 5500 NVIDEA GeForce 930M

John R

Good to see that you're making progress.

About "Default" Line Styles. They will show up in a "New from Scratch" drawing, but not in a Template that you use, as the settings are locked in to that Template. You could open the Template (TCT) file, then copy the ELECTRICAL style from a New  drawing into the template, then save the Template. Now when you start a drawing with that Template, those styles will be there.
John R.

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

SteveS

Quote from: John R on July 23, 2015, 09:51:56 AM
Good to see that you're making progress.

About "Default" Line Styles. They will show up in a "New from Scratch" drawing, but not in a Template that you use, as the settings are locked in to that Template. You could open the Template (TCT) file, then copy the ELECTRICAL style from a New  drawing into the template, then save the Template. Now when you start a drawing with that Template, those styles will be there.

Thanks John. Hope you don't mind but I found an old file downloaded from forum in my TC18 folder, called "Line Styles 46". Should ring a bell, it's yours. I did your copy & past into template trick, so now available with template. Must be my shout as we say here (translated: my turn for buying drinks next).

Cheers
TCPro2015 / TCPro18  / Windows 10 / Intel Core i7 5500 NVIDEA GeForce 930M

John R

John R.

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