News:

Please remember to do a search before you ask a question!

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.

Cannot Use Named Print Styles with Dashed Lines

Started by SeanK, February 21, 2024, 02:46:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SeanK

I am using various types of dashed lines for gridlines, axes of object etc. But if I used Named Print Styles to set the pen-width for printing, the dashed lines become straight lines. For example: I have a green dash-dot pen pattern on the drawing, displaying at

If all the style settings are "By Object", the dashed lines print properly.

If I set the color, but leave Pen Pattern "By Object", the dashed lines print OK (with the specified color).

But, if I specify a pen width in the Style (i.e. NOT by Object), the lines turn solid.

How do I get the Print Style settings to respect the object pen pattern when I want to change the pen width?

TC2021\Plat\Win 10

Alvin Gregorio

#1
Quote from: SeanK on February 21, 2024, 02:46:11 PMHow do I get the Print Style settings to respect the object pen pattern when I want to change the pen width?

TC2021\Plat\Win 10
Hmmm... works for me.
Try the attached.

The Print Style Table is in the .zip-folder.  Download and Extract it.  And place the .bst Named Print Style Table file in your ...\Documents\TurboCAD 2021 x64\Named Print Styles folder.   (ignore "Continuous" in the Name; I thought we were going a different route, when I created the name)

In my drawing, the Line's Pen Width Scaling is currently set to World, I believe; but I tested, and it works also when set to Device and/or Device Width.


Is there any chance your Pen Pattern Dash Scale in conjunction with your Pen Width Scaling setting (World, or Device, or Device Width) is causing the dashes and dots to smoosh together when printed to the scale you have your Viewport and/or printing set at so that the Line appears to be continuous. (?)
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)

SeanK

Thanks Alvin. The sample showed me it can work. Looks like the solid lines were indeed dashed lines at inadequate scale. Now I have set a layer of dashed lines to a World scale that is visible on the working display and I am able to use the Print Styles OK. Hopefully it will require no more than that on the other layers that have dashed lines - Quite a lot of fixing to do.

SeanK

I've been going nuts here. It looked like this should work, so I started applying the technique to one of my plans. But some lines cooperated and some didn't. Eventually I noticed that one of the recalcitrant objects was a polyline with an arc segment in it. I am able to reproduce the bad behaviour with a new polyline - In that drawing. The new polyline, containing an arc segment, does not behave. Furthermore, if I remove the arc from the polyline-with-arc that was giving me trouble, the polyline now behaves normally. I would appear to be onto something here, but I am unable to reproduce the behaviour in the example plan and style table which you sent. I applied the Print Style from the table you sent, to my problem drawing, and the objects behave as they did with my own Style Table - Polyline with an arc in it does not obey. That seems to indicate some sort of corruption in my drawing. I have deleted and re-drawn the first identified problem polyline and it's OK as long as it does not contain an arc. Not sure where to go next. I don't want to start the drawing from scratch.

Alvin Gregorio

Quote from: SeanK on February 22, 2024, 09:09:26 AMI've been going nuts here.... That seems to indicate some sort of corruption in my drawing. ...
Don't assume corruption of your drawing.  People (the lesser TurboCAD experienced, with issues) are often assuming "something is wrong with the program", "something is wrong with my installation", or "something is corrupt with my file"; when the problem is usually User-caused due their lack of knowledge and/or experience with TurboCAD.

The first thing I suspect is that you have Alignment ticked in the Polyline's Properties, Pen section, below Dash Scale.
Which can be beneficial and as desired; but for this arc segment of a Polyline, seems not to be.
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)

SeanK

QuoteThe first thing I suspect is that you have Alignment ticked in the Polyline's Properties, Pen section, below Dash Scale.

That does not seem to make a difference. I am unable to get consistent results, whatever I do. If I copy the object to your sample drawing, using your sample styles, it does not work either. I have taken your drawing and added some objects. Do they behave when you open the file?

PS - Sorry to be a bit slow. I have specified notification for this and other topics, but I do not receive any notifications.

Alvin Gregorio

Quote from: SeanK on February 24, 2024, 01:39:17 PMThat does not seem to make a difference. I am unable to get consistent results, whatever I do. If I copy the object to your sample drawing, using your sample styles, it does not work either. I have taken your drawing and added some objects. Do they behave when you open the file?

PS - Sorry to be a bit slow. I have specified notification for this and other topics, but I do not receive any notifications.
Please upload your SeanK Test 1 Print Style Table.  You will have to .zip it first, for the Forum to allow it to be attached.
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

I seem to remember someone saying recently that the notification function no longer works.  I think you'll just have to check in from time to time and see if anyone has replied to your query.
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

Alvin Gregorio

Quote from: John Kohlmeyer on February 24, 2024, 02:28:43 PMI seem to remember someone saying recently that the notification function no longer works.  I think you'll just have to check in from time to time and see if anyone has replied to your query.
My Forum Notifications work hyperactively.  I so often have to click the Windows' Notification to tell it to shut the heck up.
I don't know if that stems from my universal setting, in my Profile/Notifications, or from each individual thread's Notification setting I have set.
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)

SeanK

QuotePlease upload your SeanK Test 1 Print Style Table.  You will have to .zip it first, for the Forum to allow it to be attached.

Funny you should suggest that - I was just about to do so.

For these new plans, I am using a print-style file: Sean 2024.bst. I was in the midst of setting up a series of test objects, to help track down the dashed-lines problem and also plan best thicknesses for printing using Named Print Styles. In that process TCW started crashing whenever I clicked on Drawing Setup or any action that would involve the Print Styles file (Sean 2024.bst). I found that true of any TCW files I opened. If I remove Sean 2024.bst, I am able to open any TCW files and the app does not crash. If I put the Sean 2024.bst file back, the app becomes unusable again. I have other bst's in there: one from earlier projects, and the test-file you sent - They seem to be harmless. So I am sending Sean 2024.bst to you to try at your end. Also the Test bst.

PS - I have notifications set on, globally and in each thread - I suppose I should be relieved it's not just me.
 

Alvin Gregorio

Quote from: SeanK on February 24, 2024, 04:00:01 PMPS - I have notifications set on, globally and in each thread - I suppose I should be relieved it's not just me.
It could be your Windows/Notifications settings.  And/or your Browser's Notification settings.
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: SeanK on February 24, 2024, 04:00:01 PMAlso the Test bst.
The SeanK Test 1 Print Style Table works in the SeanK Print Style Test 2.tcw file, seemingly as desired.  See attached .pdf

What I am now suspecting-- That you are Zooming out on your screen and printing to a scale that causes the dashes to display smooshed together.
If, like most of us, you have an ~100ppi screen, you will experience the above at a lesser zoom-out level than that of a 300dpi .pdf actually printed on paper at your local professional Printing shop on a ≥dpi printer.

For testing's sake, and to show you that it works as seemingly desired, I printed this at 1:1(Full Size) scale.  Hence, I had to make the paper larger.

If you want to print on smaller paper and therefore a smaller scale, make the Pen Dash Scale larger.
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: SeanK on February 24, 2024, 04:00:01 PMFor these new plans, I am using a print-style file: Sean 2024.bst. I was in the midst of setting up a series of test objects, to help track down the dashed-lines problem and also plan best thicknesses for printing using Named Print Styles. In that process TCW started crashing whenever I clicked on Drawing Setup or any action that would involve the Print Styles file (Sean 2024.bst). I found that true of any TCW files I opened. If I remove Sean 2024.bst, I am able to open any TCW files and the app does not crash. If I put the Sean 2024.bst file back, the app becomes unusable again. I have other bst's in there: one from earlier projects, and the test-file you sent - They seem to be harmless. So I am sending Sean 2024.bst to you to try at your end. Also the Test bst.
The SK 2024 Print Style Table caused a freeze-up for me.  When I got to this point, shown in the attached.
  Maybe it doesn't like the parenthesis in the Print Style Names.  Who knows.  It's one of those things that takes testing and fiddling with to figure out.

TurboCAD can be a bit flakey in some of its tools and features.
Print Style Tables don't even display correctly in my Print Style Manager in my v2022_Platinum_x64 (shown below).
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)

SeanK

Thank you for confirming that there is something odd about the bst file. I had been using it for a while with parentheses in some styles. Even selecting the styles was not behaving as expected and it got worse and worse until it stopped working at all. I will build a new .bst file, taking care not to use parentheses - to be sure.

Thanks to your initial suggestion, I have now come to grips with setting the scale of dashed lines to suit the display and drawing - including when zooming out.

I have not been able to use any TCW beyond 2021 - 2023 will not work at all with my 2021 and prior drawings.

Alvin Gregorio

Quote from: SeanK on February 24, 2024, 06:49:20 PMThank you for confirming...
When I was doing architectural drawings a little more often, I stopped trying to use Print Styles.  Just too much to try to get right and keep track of.  I'm "self-taught", so I know this goes against officially-drafting-educated standards.

I assign a lot-- mostly-- "By Layer" to objects' Pen properties.
Then, in Paperspace Viewports, make the assignments in those Viewport Layers Viewport column/cells.

If I recall correctly, Nikki-- who is way more experienced on this stuff than me-- suggested to me the option of using the Layer Template feature.
In this method, we Save the current Layer Palette as Layer Template or just Save to .lrs.  Then just before printing a Paperspace with Viewport(s), change all the Layers (base, non-Viewport-specific) values-- such as Pen Pattern, Pen Width, Pen Color-- to what we want objects on the Layer to print at, save this as a Layer Template (for quickly bringing back, when we want to use again), Print.  Then, if continuing drawing, bring back that original Layer setup via the Layers palette Load From File...
_____
What is it exactly that you are wanting to accomplish Sean?
Will you actually be using Print Styles to alter Brush patterns, colors?
Are you ultimately just going to be wanting to have your prints all print to Black, with Pen Patterns and Pen Widths different from the object in drawing space?
Can you describe exactly what your end goal is.
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)

Dean

Quote from: Alvin Gregorio on February 25, 2024, 05:21:54 AM
Quote from: SeanK on February 24, 2024, 06:49:20 PMThank you for confirming...
When I was doing architectural drawings a little more often, I stopped trying to use Print Styles.  Just too much to try to get right and keep track of.  I'm "self-taught", so I know this goes against officially-drafting-educated standards.

I assign a lot-- mostly-- "By Layer" to objects' Pen properties.
Then, in Paperspace Viewports, make the assignments in those Viewport Layers Viewport column/cells.

If I recall correctly, Nikki-- who is way more experienced on this stuff than me-- suggested to me the option of using the Layer Template feature.
In this method, we Save the current Layer Palette as Layer Template or just Save to .lrs.  Then just before printing a Paperspace with Viewport(s), change all the Layers (base, non-Viewport-specific) values-- such as Pen Pattern, Pen Width, Pen Color-- to what we want objects on the Layer to print at, save this as a Layer Template (for quickly bringing back, when we want to use again), Print.  Then, if continuing drawing, bring back that original Layer setup via the Layers palette Load From File...
_____
What is it exactly that you are wanting to accomplish Sean?
Will you actually be using Print Styles to alter Brush patterns, colors?
Are you ultimately just going to be wanting to have your prints all print to Black, with Pen Patterns and Pen Widths different from the object in drawing space?
Can you describe exactly what your end goal is.

 :) I think Sean wants the print styles to work.
I assume he knows the basic principles of using print styles...
"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

SeanK

I can give an explanation as to why Print Styles are important to me - as well as Layer Sets.

My primary use for TurboCAD is designing and building multi-story buildings of concrete and block, for residential or accomodation (small hotels\guesthouses). I do practically everything in 3D, so the foundations, every floor, concrete, rebar, services etc. occupy the same area on plan. This allows renders, perspectives and walkthroughs - All very useful in the planning, design and building stages.

My work is a lot easier if I can change pen-widths and colors for drafting. Changing line width and color enables me to see lines that are under other lines - In plan view. For example when overlaying floors to plan services, drains etc.).

But then I need consistent results when I go to print from Paper Space. That would be mostly in black, but with the option of color to clarify aspects of the work (like hot and cold water lines, types of dimension etc.). I have been doing this for about 15 years now, and some of the buildings are still being modified, extended etc., so I must be able to work with my old plans as well as new.

I print from Paper Space, but I've not really found a need to assign different styles in different viewports - By Layer has always worked OK - Mostly. I have an issue with TurboCAD becoming increasingly slow at handling Layer Sets. I've been over that with tach-support and maybe in this forum - I think I may raise it again.



Alvin Gregorio

#17
Quote from: SeanK on February 25, 2024, 11:18:10 AMI have an issue with TurboCAD becoming increasingly slow at handling Layer Sets. I've been over that with tach-support and maybe in this forum - I think I may raise it again.
I've read through most of your posts since 2009 Sean.
You're functioning at much higher level than I ever have-- designing, drawing, modeling.

With "hundreds of Layers" in a drawing, I think it's time you learn to use Layers Filters.  This doesn't have to be exclusive to Layer Sets.  You can use them both.  We have to "manually" sync Layer Sets with Layers Filters and vice-versa, if we want that.  Once accustomed to using Layers Filters, you might even move onto the method Torfinn often describes for assigning the Viewport visible Layers.

With hundreds of Layers, I think you will like and find beneficial using Layers Filters.

With "hundreds of Layers" in multi-story buildings, including multiple disciplines within that building-- I also wonder if now or years ago is the time to have moved to External References (Xref) to do what you are doing.
___
Now... if we can only figure out a way to better rename, organize, and sort Layer Sets to our preference...
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

The thing I like about Turbocad is that it is up to you. You can work the way that best suits your needs.
I think I spend more time streamlining my drawing process - then drawing for profit.
My needs are similar to Seans. - Although I don't draw absolutely everything in 3d. - Especially not the engineering stuff.

Initially I drew everything on one drawing, but all those layers can do your head in.
So I switched to XREFS
The problem was that layer sets no longer work with xrefs.
But Layer filters do and a Layer filter for each Storey is Automatically made.
As I said it is whatever suits your needs.




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