News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

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.

Looking for more line patterns in turbocad 2022 designer 2d

Started by Jonny Jon, March 23, 2023, 07:36:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jonny Jon

I'm looking for a couple very simple line styles.  One that is for showing a power line which would basically be P---P---P---P---P---P---P and also one that is basically the same for a barbed wire fence with X---X---X---X---X---X---X---X  Even if it had a solid line going through would be great. Is there a way to download or purchase extra line styles somewhere? If someone could help me out would be great.

Alvin Gregorio

What version and edition of TurboCAD are you using?    e.g.:  version 2021 Deluxe
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)


Alvin Gregorio

Try opening the attached.

I don't know what happens when you open this in Designer.

If you like these Line Styles (Pen Patterns), just Copy then Paste them into your project's Drawing file.
Line Styles (Pen Patterns) contents' values are based on current Drawing's Space Units.
This New From Scratch Drawing I just created happens to be in Inches.
I set the Scale of each the Dash and the Text in the Line Style to 1.  Which means, in Inches Drawings, 1 inch.
So at or after insertion of the Line, I set its Pen Properties Dash Scale to 12*, to equate 1 Foot; presuming you are working on a site or plot drawing and might be working in Feet Space Units (and are in USA).

Note in Pen Properties that I also have their Width Scaling set to Device Width*.  That is so that we can change the "thickness" of the pen/line, without altering the dash scale (the display and print size of the components within the Pen Pattern).
If you have in Designer the options for Pen Width Scaling World, Device, and Device Width, perhaps experiment with them.

If you can access and use these in Designer, and you like them, you can keep using the Copy then Paste method, from this file or files you create.
Or-- if you have the Library (Symbols) feature in Designer, you can save these into your Symbols Library, for easy/quick reference for Copy/Paste.
___
*I don't know if Designer has these options
_______________
EDIT:  I added a Feet Space Units file.  In this one, in Space Units, I changed Line Width Units to PT (Point), my personal preference.  And changed the two inserted Lines' Pen Widths to 1.5pt, (the smallest thickness that appears thicker on my display), while keeping the Pen Width Scaling at Device Width and changing the Pen Properties Dash Scale value to 1, since we are now working in Feet.
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)

nikkipollard

Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Jonny Jon

That worked exactly like I wanted! Thanks Alvin!! Are those preset line patterns in other forms? Or are they something that you can design in a more advanced version of Cad?

Alvin Gregorio

#6
I use the Platinum edition.
Which has a Line Styles editor feature.
I created those Line Styles (Pen Patterns) from scratch, using that.  Fairly simple and quick.

I don't know if Professional or Deluxe editions have the Line Styles editor; perhaps John R or someone else can tell us, or you can check the Comparison Chart on the IMSI-Design/TurboCAD website.
__
Are you Okay with what I created and provided?
Would you like slight modifications?  If so, describe them to me, and I'll make the adjustments.
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

My two cents.

Give this "Lines Styles.SLW" file a try.
UnZip and drop it into your "My Symbols" folder.
Fire up Designer 2022 and go to the "Library" palette and look for "Line Styles".
Once you insert a Symbol, that Line Style becomes part of the drawing and shows in the Line Pattern list.
Delete the extraneous inserted symbol.

One problem I noticed in Designer, it lists duplicates in the Library palette. This doesn't occur in Platinum. This has the whole alphabet (A-Z) and many other line styles.

John R.

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

Alvin Gregorio

Thanks John.
You've shared that before.
I had it on my recently stolen laptop.

I'll be sure to Save it to my cloud OneDrive this time.
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)

Alvin Gregorio

Quote from: nikkipollard on March 24, 2023, 08:15:07 AMAlvin is there a way to read autocad .lin files?
I don't know.

We can open AutoCAD-created files and their Line Styles come through.
Then we can use the Line Styles editor or TC_Explorer_Palette to add one of those AutoCAD-created Line Styles to our Default Line Styles.
___
But I'm sure you know all this.  So I'm thinking I don't know enough about .lin files to understand the question.
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)

nikkipollard

#10
Quote from: Alvin Gregorio on March 24, 2023, 07:53:02 PM
Quote from: nikkipollard on March 24, 2023, 08:15:07 AMAlvin is there a way to read autocad .lin files?
I don't know.

We can open AutoCAD-created files and their Line Styles come through.
Then we can use the Line Styles editor or TC_Explorer_Palette to add one of those AutoCAD-created Line Styles to our Default Line Styles.
___
But I'm sure you know all this.  So I'm thinking I don't know enough about .lin files to understand the question.

The .lin file looks something like this

*CENTER,____ _ ____ _ ____ _ ____ _ ____ _ ____ _ ____ _ ____ _ ____ _
1.250,-0.25,0.25,-0.25
*DASHDOT,__ . __ . __ . __ . __ . __ . __ . __ . __ . __ . __ . __ . _
0.5,-0.25,0,-0.25
*DIVIDE,____ . . ____ . . ____ . . ____ . . ____ . . ____ . . ____ . .
0.50,-0.25,0,-0.25,0,-0.25

If you have one you can work out the dashes for any of the linetypes autocad (and other programs use.)
There is an A, at the beginning of the dashes I ignore that
First line is just the name and the description
Second line defines the dashes and dots
0 is a dot
a positive length is a dash and a negative length is a space.

The nice thing about the line style file is that you can download custom linestyles - most are free - add them to the file load the linestyle only when you need it. So your files don't get bloated with unused linestyles.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

Quote from: nikkipollard on March 24, 2023, 10:11:27 PM...
The nice thing about the line style file is that you can download custom linestyles - most are free - add them to the file load the linestyle only when you need it. So your files don't get bloated with unused linestyles.
This is advanced stuff, Jonny Jon; you can pretty much ignore it.
____
Nikki (and any others)-- If someone can write a script or something-- maybe in word or Excel-- that translates the AutoCAD .lin file to TurboCAD's .ini format, that would probably make quick work of it.

I'm trying to find an example of TurboCAD's LineStyle.ini file on my system; can't yet.
Like when we go to TC_Explorer_Palette, LineStyle_Table, and right-click for Add_From..., and it prompts us for the option "From the INI file" (Browse)-- I wish it would once firstly navigate to the Default Line Styles .ini file, so that I could explore that format.  So that someone could write something that would translate AutoCAD.lin to TurboCAD.ini
Or I'd like it to at least once, when I hit Browse, firstly navigate to the active Drawing's Line_Styles.ini; so that I can explore that.

Does anyone know where on our system we can find the Default or a Drawing-specific LineStyles.ini?
___
We can pretty much see most of the required formatting via that TC_Explorer/LineStyle_Table/Edit...; and I used to know this, and this is how I created custom Line Styles in Deluxe-- I think the TC Wiki had in-depth information-- but I'd have to play with it some to get refamiliar.
AutoCAD's format and TurboCAD's format are very similar.
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)

nikkipollard

Quote from: Alvin Gregorio on March 25, 2023, 04:12:53 AM
Quote from: nikkipollard on March 24, 2023, 10:11:27 PM...
The nice thing about the line style file is that you can download custom linestyles - most are free - add them to the file load the linestyle only when you need it. So your files don't get bloated with unused linestyles.
This is advanced stuff, Jonny Jon; you can pretty much ignore it.
____
Nikki (and any others)-- If someone can write a script or something-- maybe in word or Excel-- that translates the AutoCAD .lin file to TurboCAD's .ini format, that would probably make quick work of it.

I'm trying to find an example of TurboCAD's LineStyle.ini file on my system; can't yet.
Like when we go to TC_Explorer_Palette, LineStyle_Table, and right-click for Add_From..., and it prompts us for the option "From the INI file" (Browse)-- I wish it would once firstly navigate to the Default Line Styles .ini file, so that I could explore that format.  So that someone could write something that would translate AutoCAD.lin to TurboCAD.ini
Or I'd like it to at least once, when I hit Browse, firstly navigate to the active Drawing's Line_Styles.ini; so that I can explore that.

Does anyone know where on our system we can find the Default or a Drawing-specific LineStyles.ini?
___
We can pretty much see most of the required formatting via that TC_Explorer/LineStyle_Table/Edit...; and I used to know this, and this is how I created custom Line Styles in Deluxe-- I think the TC Wiki had in-depth information-- but I'd have to play with it some to get refamiliar.
AutoCAD's format and TurboCAD's format are very similar.

I am a little stumped on this Alvin. I think Line styles are drawing specific isn't the .ini file a program thing?
I can easily create an external application (windows form) in vb.net that will add a linestyle from the autocad file  to the existing drawing but I can't get the same functions to work in vbscript in the macro recorder.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

Quote from: nikkipollard on March 25, 2023, 05:46:15 AMI am a little stumped on this Alvin. I think Line styles are drawing specific isn't the .ini file a program thing?
I can easily create an external application (windows form) in vb.net that will add a linestyle from the autocad file  to the existing drawing but I can't get the same functions to work in vbscript in the macro recorder.

In TurboCAD, Line Styles can be "drawing specific"; and we can add them to our Defaults, so they come available in every drawing session, whether or not that Line Style exists in the current active Drawing.
___
So... Yeah... if we are looking for a quick and easy way to add only particular AutoCAD .lin Line Styles into a particular TurboCAD Drawing, that's going to be more of a challenge.
    If we knew where TurboCAD stores the Default LineStyles.ini file (it might not be named exactly that), we could
>Translate .lin to .ini
>Use TC_Explorer_Palette to load the .lin
>Insert many Lines into the current, otherwise empty, Drawing; each with one of the .lin Line Styles as the Pen Pattern
>Save that drawing (perhaps as a Symbol, in the Library)
>Back in TC_Explorer_Palette, load the previous TurboCAD Default .ini file, which would include not only the installation-provided default Line Styles, but also any custom ones we have added to our Defaults since the installation.
__
Then with experience, it would all become quicker and easier.
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)

Alvin Gregorio

#14
Working on this in TC 2022, it's all starting to come back to me.
AutoCAD's Line Styles .lin format is very similar to TurboCAD's.

All I need to continue on in my exploration of this is-- Where is TurboCAD's Default Line Styles .ini file?  so that I can open it in Notepad

"Import .lin file" in the Drawing specific Line Styles Editor, such as exists for .pat Hatch Patterns in the Brush Styles Editor, would be a good Wish List item.
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)

nikkipollard

That is what I was thinking. Especially when working with metric files, Autocad has a different set of Iso linestyles with the same name as our default linestyles. Using the same linestyle definitions makes switching between the 2 programs easier.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

John R

Quote from: Alvin Gregorio on March 25, 2023, 06:06:16 AM
Quote from: nikkipollard on March 25, 2023, 05:46:15 AMI am a little stumped on this Alvin. I think Line styles are drawing specific isn't the .ini file a program thing?
I can easily create an external application (windows form) in vb.net that will add a linestyle from the autocad file  to the existing drawing but I can't get the same functions to work in vbscript in the macro recorder.

In TurboCAD, Line Styles can be "drawing specific"; and we can add them to our Defaults, so they come available in every drawing session, whether or not that Line Style exists in the current active Drawing.
___
So... Yeah... if we are looking for a quick and easy way to add only particular AutoCAD .lin Line Styles into a particular TurboCAD Drawing, that's going to be more of a challenge.
    If we knew where TurboCAD stores the Default LineStyles.ini file (it might not be named exactly that), we could
>Translate .lin to .ini
>Use TC_Explorer_Palette to load the .lin
>Insert many Lines into the current, otherwise empty, Drawing; each with one of the .lin Line Styles as the Pen Pattern
>Save that drawing (perhaps as a Symbol, in the Library)
>Back in TC_Explorer_Palette, load the previous TurboCAD Default .ini file, which would include not only the installation-provided default Line Styles, but also any custom ones we have added to our Defaults since the installation.
__
Then with experience, it would all become quicker and easier.

The "Designer" edition doesn't have the "TurboCAD Explorer" palette.
John R.

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

Alvin Gregorio

Quote from: John R on March 25, 2023, 09:23:02 AM...
The "Designer" edition doesn't have the "TurboCAD Explorer" palette.
Yeah... Nikki and I got off on a tangent.
Hope we didn't confuse you any Jonny Jon
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)

Jonny Jon

Haha. Lots of what you guys were talking about went over my head. I also couldn't figure out how to get the line styles pallet to open in my symbols folder. It shouldn't really matter to me tho as the first two lines were mostly what I wanted. Thanks again for all the help guys.