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.

Viewport border color

Started by RetEng, January 22, 2024, 08:52:46 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

RetEng

My viewport borders in paperspace have always been black, but I have one which is red.  The odd thing is that the color changes from red to black as I zoom in or out!  If I zoomed out, the border becomes red, if I zoom in it changes to red.

Any idea what's happening?

It's the border for the viewport on the "Iso view" paperspace page.

(any other comments welcome, I've got lots to learn!)
Thanks,
Robert H.
TC-2024 Platinum
Dell XPS9320
Bambu H2C 3d printer

Alvin Gregorio

Quote from: RetEng on January 22, 2024, 08:52:46 AM(any other comments welcome, I've got lots to learn!)
Thanks, Robert H.
Not addressing your specific question, because I didn't find the answer quickly.  But...

In that Iso view Paperspace, you might want to
>Set all Layers to Visible
>Zoom Extents
I think you might be surprised by what you see.

Also:  Your Paper Origin is very far from X=0,Y=0. 
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: RetEng on January 22, 2024, 08:52:46 AMMy viewport borders in paperspace have always been black, but I have one which is red.
Thanks, Robert H.
See if the Iso view Paperspace in the attached suits you better.
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)

RetEng

Quote from: Alvin Gregorio on January 22, 2024, 11:06:09 AM
Quote from: RetEng on January 22, 2024, 08:52:46 AM(any other comments welcome, I've got lots to learn!)
Thanks, Robert H.
Not addressing your specific question, because I didn't find the answer quickly.  But...

In that Iso view Paperspace, you might want to
>Set all Layers to Visible
>Zoom Extents
I think you might be surprised by what you see.

Also:  Your Paper Origin is very far from X=0,Y=0. 


Very odd!  I have no idea how I did that.  It looks like a copy of my original "Lot", a file I inserted from another older TC drawing.  Location is a mystery.

This model has been challenging, and has caused several crashes.  As a friend once commented, I seem to have "frightened" the software!
TC-2024 Platinum
Dell XPS9320
Bambu H2C 3d printer

RetEng

Thanks Alvin, 
What did you do?  Is it actually changed, or is it just a wider black line hiding the red?  I've looked for a way to change the characteristics of the paperspace border but haven't found any way yet!  As I said, I have lots to learn!
TC-2024 Platinum
Dell XPS9320
Bambu H2C 3d printer

Alvin Gregorio

#5
Quote from: RetEng on January 22, 2024, 11:56:46 AMThanks Alvin, 
What did you do?  Is it actually changed, or is it just a wider black line hiding the red?  I've looked for a way to change the characteristics of the paperspace border but haven't found any way yet!  As I said, I have lots to learn!
I never found the red line.  Nor when I zoomed in and out did the anomaly appear.
Nor when I set all Layers to Visible, and did a Select by Color, did Red populate as an available option (hence, why I used the term anomaly.

The appearance of the Red might have something to do with some of the stuff I brought up in the previous posts; might not.
At any rate-- Does the Red thing still happen for you on your end, with my revised Drawing, in that ISO view Paperspace?

In what way do you want to "change the characteristics of the paperspace border"?
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)

Andy H

Quote from: Alvin Gregorio on January 22, 2024, 12:20:10 PMI never found the red line.  Nor when I zoomed in and out did the anomaly appear.

Try this Alvin..  Go to the iso paper space. then go to print preview and click view all button.  For me a red viewport border appears. in both yours and Roberts drawing  though in yours its partly obscured by the black border.


Andy H

#7
Note.  In my v2019. the border in paper space itself is black.  it only turns red in print preview.  and also it only affects render views, it is black if I set the viewport to wireframe.

### EDIT ###.  I should have added.  Maybe this is normal behaviour in hidden line with border.  I don't usually have a box (border) on the hidden line drawing I create.  ### End Edit ###

Alvin Gregorio

Interesting.  It has something to do with the Paper Margins.
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

The Drawing definitely has a bug.
Best to start a New Drawing-- From Scratch, Page Setup Wizard, or a reliable Template.  Then start Copying/Pasting from the original.

Extract From brought the gremlins with it, for me.
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)

Andy H

Odd thing.  If I turn 'Off' non-renderable objects in viewport properties - hidden line.  The red line changes to black in print preview.

But I'm a little out of my depth, with this one.

Alvin Gregorio

#11
Go to any Paperspace.  Print Preview.  See the red dashed lines near the margins.
And when we Zoom All in Print Preview, it doesn't zoom as it should.

And the page layout is not as assigned, when viewed in Print Preview.

I'd say a gremlin is in this Drawing.
I'd be curious what Dean thinks; he always finds the underlying issue.
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

Let's get all the Paperspaces more proper*, Save.  Then see what we have.

*Delete the super-large full-Modelspace pasted insertion.  Get Paper origins to 0,0.  Viewports fit within the 22x17 sheets.  For all Paperspaces.
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

I cleaned up all the Paperspaces as much as I could.  Attached.
The anomaly still exists.
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: RetEng on January 22, 2024, 08:52:46 AMMy viewport borders in paperspace have always been black, but I have one which is red.  The odd thing is that the color changes from red to black as I zoom in or out!  If I zoomed out, the border becomes red, if I zoom in it changes to red.

Any idea what's happening?

It's the border for the viewport on the "Iso view" paperspace page.

(any other comments welcome, I've got lots to learn!)
Thanks,
Robert H.

Your hiddenline viewport border is rendering the color of the points in the drawing.
This happens while in GDI native draw.
"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

Alvin Gregorio

I was pretty confident Dean would figure this out.
I have no idea how he knows all this stuff.

Attached is the repaired Drawing File.  I deleted the Points in Modelspace.  They didn't seem necessary.
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)

Andy H

More oddity.

In the original file, turning off Non-renderable in viewport properties,  allows it to show fine in print preview.

I then turned Non-renderable back on.  and went to model space.  Selected layer '0' and clicked Select By.  (it shows two point objects), I hit delete to get rid or them.   Back to iso paper space.  went to print preview,  the view is still off, but the red line is now black.

I haven't a clue what is going on between Non-renderable and Layer 0.  messing up the print preview.

Alvin Gregorio

Quote from: Dean on January 22, 2024, 02:17:34 PMYour hiddenline viewport border is rendering the color of the points in the drawing.
This happens while in GDI native draw.
Quote from: Alvin Gregorio on January 22, 2024, 02:27:44 PMI was pretty confident Dean would figure this out.
I have no idea how he knows all this stuff.

What's really crazy:
>Set Native Draw to GDI (or RedSDK?)
>A New, From Scratch Drawing
>Insert a few Point objects into Modelspace, different Colors other than Black
>Insert a Viewport into Paperspace
>Set that Viewport boundary Pen Width to a ridiculously thick Pen Width
>Set that Pen Color to Black
>Zoom In and Out
>You will see a 0 width line within the super-thick Viewport boundary line, display and not display, it's color varying in accordance to the different Modelspace Point object Colors, as you Zoom In and Out.

That's just some crazy programming...

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

It doesn't seem to mind the Modelspace Points' Colors being "By Layer"; even if that(those) Layer(s) have Colors assigned that are different than that of the inserted Viewports'.
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)

RetEng

Thanks to all who looked into this! 

Rather than struggle with a file that seems to have significant fundamental issues, I created a new file using a template I've used before many times with no issues, then copied what I think is just the actual model data into the new file. 

So far no issues.  I lost the paperspace pages, but that didn't represent much work, and recreating them has gone very smoothly.  No more program crashes!

Thanks again,
Robert H. 
TC-2024 Platinum
Dell XPS9320
Bambu H2C 3d printer

Alvin Gregorio

Quote from: Dean on January 22, 2024, 02:17:34 PMYour hiddenline viewport border is rendering the color of the points in the drawing.
This happens while in GDI native draw.
Seriously, Dean-- Tell us how the heck you knew this. (totally obscure and random thing)
   Are you actually Russian, employed at SoftDev?
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: RetEng on January 23, 2024, 04:33:29 PM... I created a new file using a template I've used before many times with no issues, ...
If you want to share the .tcw file with us as you progress, to help keep you error free and us offer input, you might benefit from that.

One thing-- Perhaps make the roof trusses inserted copies of one truss, formatted as a Block.
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: Alvin Gregorio on January 23, 2024, 05:18:31 PM
Quote from: Dean on January 22, 2024, 02:17:34 PMYour hiddenline viewport border is rendering the color of the points in the drawing.
This happens while in GDI native draw.
Seriously, Dean-- Tell us how the heck you knew this. (totally obscure and random thing)
  Are you actually Russian, employed at SoftDev?

Crazy.  Again.

If I move the red Point objects such that they are not within the Viewport, the Viewport red boundary line thing doesn't happen.
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)

RetEng

Alvin, thanks for the offer, I'll take you up on it!  My latest file is attached.

You commented that the zero point is very far away, I have no idea how that happens, or how to change it.  Is that why when I insert a file, such as when I tried to insert an .sat file for an anchor bolt it came into the model at a point far away from everything?  It was so far away I had trouble finding it.

I will make many changes to the roof structure when I get final truss drawings from my contractor.  The ones shown are really just place holders for now.  Same thing with several other repeated features.  I plan to replace them with blocks as the design becomes more settled.

I note that the file size just went from about 6 mb, to now over 11.  I didn't think I've done anything that would cause this!  Besides replacing copied objects with blocks, what other changes can I make to reduce file size?

Thanks again for your comments and observations, they really help with the learning process! 

Robert H. 
TC-2024 Platinum
Dell XPS9320
Bambu H2C 3d printer

Alvin Gregorio

Quote from: RetEng on January 24, 2024, 05:18:18 AMAlvin, thanks for the offer, I'll take you up on it!  My latest file is attached.
It looks pretty good.  I don't have anything of necessity to add.

You previously wrote that you wanted to "change the characteristics of the paperspace border".
  >Please describe the characteristics that you are wanting.  If you still need/want help with that.
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)

RetEng

Alvin,

I was wanting to know how to modify the border mostly to try to figure out how it turned red.  I'm perfectly happy with the normal black border but thought if I knew how to change it, it might help explain the change to red color.

If there is a way to make changes, I'd be interested in learning how to do that.

Robert H.
TC-2024 Platinum
Dell XPS9320
Bambu H2C 3d printer

Alvin Gregorio

Quote from: RetEng on January 24, 2024, 05:54:53 AMIf there is a way to make changes, I'd be interested in learning how to do that.
What I typically do, and I think what most of us do:
>Set the Pen of the Viewport to Invisible.  You can do that the normal way, via Pen Properties; or via Viewport Properties, unchecking Visible Box.  It's best to do this after you have settled the Scale of the Viewport, it's boundary size, and its location (otherwise, you can't see the boundary lines, to do all that).
>Create your standard border and title block for your ANSI_C (22x17) size sheet.  Format that as a Block.  Most handy to have its Block Reference Point set to X=0, Y=0.  Ensure you create it on the World Workplane, just for extra tidiness.
>Insert that Block into each Paperspace.  Since it's Block (insertion) Reference Point is at 0,0, once you drag it into Paperspace, you just Tab into Pos_X and Pos_Y in the Inspector Bar and enter 0 for each of those.

Once you get that down, we can introduce you to Block Attributes, for instantly editing text within the title_block of each Block insertion in each Paperspace, the text being particular to that sheet (i.e.: Sheet Number, Sheet Name, Revision # and Date, Scale, etc.)
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

Also-- That way, we can have more than one Viewport in a Paperspace.  And/or Drafting object.
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)

RetEng

EXCELLENT!  That answers a question I've been meaning to ask.  It seemed that there should be an easy way to make a title block that can be edited and changed on all paperspaces.  Looks like this makes that work.

Now I'm ready to learn about block attributes.
TC-2024 Platinum
Dell XPS9320
Bambu H2C 3d printer

Alvin Gregorio

Quote from: RetEng on January 24, 2024, 07:05:35 AMNow I'm ready to learn about block attributes.
I think the User Guide covers it better and more thoroughly than I could.
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: RetEng on January 24, 2024, 07:05:35 AMNow I'm ready to learn about block attributes.
I'm no expert on Block Attributes (Nikki pretty much is), and I don't use them much.  I should use them more.  But attached is an example, started from a New Drawing from the provided ANSI_C Template file.

To experiment, in Paperspace:

  • Observe what is written in the text fields in the title block.  Screen-snip it if that helps you remember it.
  • Select the Title Block.  It's a Block.
  • Right-click to bring up its Properties*
  • In the left pane, click on Block Attribute
  • Enter a new value in the Enter new value field
  • Click on Next
  • Repeat the previous two steps until you make it through all the Block Attributes
  • Go back to the title block and observe the text changes
___
*we can do all this via the Selection Info Palette also, by expanding the entries in the top pane and making editions in the lower pane)
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

#31
Quote from: Alvin Gregorio on January 24, 2024, 06:09:03 AM
Quote from: RetEng on January 24, 2024, 05:54:53 AMIf there is a way to make changes, I'd be interested in learning how to do that.
What I typically do, and I think what most of us do:
>Set the Pen of the Viewport to Invisible.  You can do that the normal way, via Pen Properties; or via Viewport Properties, unchecking Visible Box.  It's best to do this after you have settled the Scale of the Viewport, it's boundary size, and its location (otherwise, you can't see the boundary lines, to do all that).
>Create your standard border and title block for your ANSI_C (22x17) size sheet.  Format that as a Block.  Most handy to have its Block Reference Point set to X=0, Y=0.  Ensure you create it on the World Workplane, just for extra tidiness.
>Insert that Block into each Paperspace.  Since it's Block (insertion) Reference Point is at 0,0, once you drag it into Paperspace, you just Tab into Pos_X and Pos_Y in the Inspector Bar and enter 0 for each of those.

Once you get that down, we can introduce you to Block Attributes, for instantly editing text within the title_block of each Block insertion in each Paperspace, the text being particular to that sheet (i.e.: Sheet Number, Sheet Name, Revision # and Date, Scale, etc.)

Be aware that if you save a drawing to dwg.  Autocad has no Invisible linestyle, resulting in difficulties with working with the dwg in Autocad. If the file is to be shared, it is better to place the viewports on a viewport layer. and keep them visible. The layer can be set to NoPlot, or frozen  in Autocad  .
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Torfinn

I don't see the need of using block in titlefield unless we want to drag out the attribute values in a drawing list, to much hassle with it in my opinion
I use a viewport, where i fill in all the static info needed in M space and then change visible layers in each P space for what i want to see there

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

nikkipollard

#33
I think Turbocad does what you suggest -when it saves to dwg, but you can't edit that easily in other cad packages
It is however easy to set a layer to NoPlot in other cad packages. (The NoPlot Layer is the standard way to do this in AC)

For Turbocad, I place the viewports on a dedicated viewport layer which has an invisible line style assigned to it .
Set the Viewport's linestyle to BYLAYER. When I open the drawing with the other program you can see the viewport frame and everything works as expected.

Its an Autocad issue I am just trying to avoid this aggravation
https://www.cadtutor.net/forum/topic/49888-viewport-not-visible-or-selectable/
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h