News:

Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

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.

Xref color

Started by dunkers, February 13, 2015, 06:56:43 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

dunkers

This is superficially about xref colors, but maybe I am driving TC incorrectly and should be thinking of a different process. If that's the case, I am happy to learn... :)

I am creating a simple box with interlocking front/sides/base. I will be making each part via a CNC mill, so need a 2-D representation of each part. But I also need a 3D drawing to make sure the parts fit before I make them. So, I elected to create each part in its own drawing (ensuring it is simple to save as a suitable file for the CNC software), and the import them into a drawing as xrefs. This final drawing serves no purpose other than to assemble all the parts into a 3D model.

I have done all that. I've placed each part on its own layer (there are typicall two parts to a layer: front and ..er.. back front, sides, etc). I can now turn on and off the parts to make inspection of the 3D assembly simpler.

My problem is that I can't set the color of the parts. I set the layer color and the part stays black (except for the first such change - see the screeny). I change the part color via properties, but it stays black. If I set render mode to minimal rendering, I can change a part's color temporarily to the previous parts desired color, but I think this is a rendering bug and, in any case, it is not predictable.

Have I missed something? This is TC21 Platinum and the last time I tried this was a few versions ago where I had to set the color in the xref's originating drawing. There have been bugs in xrefs fixed since then, and it strikes me as really daft to have this as the only means of changing xref colors (can't use the xref in many different drawings, for instance, which negates half the reason to have them). Surely something sensible has been arranged by now, but I can't figure it out.

I've attached the appropriate drawings in a zip in case anyone wants a play.

nikkipollard

have you set the colour of the items to "by layer" in the xref drawing?
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Tim Stewart

Hi,

it is good practice, in my experience, to have all your objects, in the xref drawing, assigned to layers other than layer 0.
In other words, have nothing saved on layer 0 of the xref drawing.

This might help.

Regards Tim
Regards Tim

You can design without engineering, but you cannot engineer without design.
Windows 10 Pro (19043.1165) 64-bit, TurboCAD Designer 2017-2020 and Pro. Plat. 2018-2020 + LW (64-bit) + AnimationLab 6
Intel i5 2500@3.3GHz 8GB Ram NVIDIA Quadro K2200

dunkers

The problem was, as y'all correctly guessed, the originals were set to black (except for the front, which was by layer). Changing them to by layer and then reloading resolved it.

Thanks very much nikkipollard and Tim  :)

Tim Stewart

Glad to hear you got it sorted.

It might also help, in the future, to stick with working strictly, using ACIS solids only.

Regards Tim
Regards Tim

You can design without engineering, but you cannot engineer without design.
Windows 10 Pro (19043.1165) 64-bit, TurboCAD Designer 2017-2020 and Pro. Plat. 2018-2020 + LW (64-bit) + AnimationLab 6
Intel i5 2500@3.3GHz 8GB Ram NVIDIA Quadro K2200

dunkers

Ah, that's a good point. I found it easier to create a 2D representation (since this is basically a milled sheet) and then extrude that to get the correct thickness. Of course, then I forgot to tick the 'make this a solid' box.. Done now though, thanks for reminding me.

Alvin Gregorio

Quote from: dunkers on February 13, 2015, 10:32:46 AM
Ah, that's a good point. I found it easier to create a 2D representation (since this is basically a milled sheet) and then extrude that to get the correct thickness. Of course, then I forgot to tick the 'make this a solid' box.. Done now though, thanks for reminding me.

The experts say that it isn't nearly as good practice (resultant objects) of first making it a TcSurface then ticking "Solid", as it is to create the object originally as an ACIS Solid.

So... it's best to make sure that "Solid" is ticked before inserting/creating the object.

I'm pretty sure that's what the experts say...  I forget the reason-- I couldn't describe it specifically-- but it's a good one.

_____
I have found that changing this option setting in Program Defaults, via TcExplorer Palette, doesn't work as it should.  It just doesn't stick.
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)

dunkers

QuoteI have found that changing this option setting in Program Defaults, via TcExplorer Palette, doesn't work as it should.  It just doesn't stick.

I just created another set, and that's the (presumed) bug that caught me out. It was set to 'solid', I make the thickness 1mm, hit OK. If I then open properties again it is set to TCSurface! Changing back to solid appears to stick that time, so it looks like the setting a) defaults to TCSurface under the bonnet, and b) isn't applicable - i.e. is ignored - until after the object becomes 3D, which won't be until you click OK.

Alvin Gregorio

Quote from: dunkers on February 13, 2015, 11:01:43 AM
QuoteI have found that changing this option setting in Program Defaults, via TcExplorer Palette, doesn't work as it should.  It just doesn't stick.

I just created another set, and that's the (presumed) bug that caught me out. It was set to 'solid', I make the thickness 1mm, hit OK. If I then open properties again it is set to TCSurface! Changing back to solid appears to stick that time, so it looks like the setting a) defaults to TCSurface under the bonnet, and b) isn't applicable - i.e. is ignored - until after the object becomes 3D, which won't be until you click OK.

No, it shouldn't work that way at all dunker.
It never did in my trialing of any of the Pro versions.  Neither in my version-11-Pro.

Other-- version-21-Pro Users-- care to weigh in here?

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

#9
Quote from: dunkers on February 13, 2015, 11:01:43 AM
QuoteI have found that changing this option setting in Program Defaults, via TcExplorer Palette, doesn't work as it should.  It just doesn't stick.

I just created another set, and that's the (presumed) bug that caught me out. It was set to 'solid', I make the thickness 1mm, hit OK. If I then open properties again it is set to TCSurface! Changing back to solid appears to stick that time, so it looks like the setting a) defaults to TCSurface under the bonnet, and b) isn't applicable - i.e. is ignored - until after the object becomes 3D, which won't be until you click OK.

You're saying that if you activate the 3D "Box" (Cube) Tool-- or a 2D object with Thickness assigned-- and before you insert it, you go to Properties/3D and click "Solid"; insert it; and when you select it again, it reports as "TC Surface".

It shouldn't-- and doesn't in my trialing-- work that way-- (if your installation is functioning 100%; what is your "build"-number?).
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

#10
Quote from: dunkers on February 13, 2015, 11:01:43 AM
QuoteI have found that changing this option setting in Program Defaults, via TcExplorer Palette, doesn't work as it should.  It just doesn't stick.

I just created another set, and that's the (presumed) bug that caught me out. It was set to 'solid', I make the thickness 1mm, hit OK. If I then open properties again it is set to TCSurface! Changing back to solid appears to stick that time, so it looks like the setting a) defaults to TCSurface under the bonnet, and b) isn't applicable - i.e. is ignored - until after the object becomes 3D, which won't be until you click OK.

Just for the heck of it dunkers, try changing your System Default for this setting.  You might have better luck with it sticking than I've had.
It's covered here on the TurboCAD Wiki.  User your browser's Edit/Find feature to type in "3D Object" to quickly find the relevant section (shown below).

Here's the steps:
>Bring up your TcExplorer Palette via the "View" menu, or Customize/Palettes
>In TcExplorer Palette, top-pane, click on "Program Defaults" (about the second from the top)
>In the lower-pane, click on the "Property" column heading, so as to sort the listing alphabetically
>Scroll down to "Type of 3D Object"
>In the "Value" column for that property, enter 1
>I'm not sure if you have to close and re-start TurboCAD to have this take effect.  Might as well do so.

_________
Note:  Further experimentations in my 11-Pro indicate:

Whatever we "pre-set" in Properties/3D for this field (Solid; or TC Surface) in a drawing, will change this setting in "Program Defaults".

What I did for trialing was:

>With TCExplorer Palette opened, and the "Program Defaults" Properties listing in the lower-pane scrolled down to "Type of 3D Object".
>Activated the "Box" Tool.
>Before starting the insertion of the Box, went to its Properties/3D page and clicked on "Solid"; and clicked "OK".  The value in that TcExplorer Palette "Type of 3D Object" field changed to 1.
>Immediately, I went back to that Box's Properties/3D page clicked on "TC Surface"; then "OK".  And, immediately, that "Type of 3D Object" field changes to 0.

That would answer why I never have been able to get this setting to stick.
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)

dunkers

QuoteYou're saying that if you activate the 3D "Box" (Cube) Tool-- or a 2D object with Thickness assigned-- and before you insert it, you go to Properties/3D and click "Solid";

Ummm... not quite. What I am saying is that I start with a 2D object (for this example a rectangle). I then pop up properties, 3D, and can see that TC Surface is pre-selected but not changeable (because there is no thickness).



Next, I add thickness and select 'solid' since that is now enabled:



Then I click OK. On re-opening, it is reverted to TC Surface:



This time, if I change it to 'solid' that will stick. Hope that's clearer :)

dunkers

QuoteJust for the heck of it dunkers, try...

Thanks for the step-through. I restarted TC afterwards, but it didn't change anything (the situation described in my previous post is exactly the same).

Alvin Gregorio

I would ask that someone with the exact same version/edition/__-bit/build as dunker to step in here.
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)

Henry Hubich

"Next, I add thickness and select 'solid' since that is now enabled:"

That is not at all the same thing as Extruding the rectangle, and most users advise using the Simple Extrude tool instead of adding Thickness.

Henry H

John R

I have no idea why the Glasses drawing is stuck on "Surface" for 3D of a 2D object. My 'New from Scratch' drawings come up as "Solid" for me when the Line tool is active. I wouldn't be using "Thickness" to Extrude, but rather the "Simple Extrude" tool; which does show up as Solid.
John R.

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

dunkers

QuoteThat is not at all the same thing as Extruding the rectangle

Yes, I apologise for my incorrect use of terms. The meaning as applied to TC can be different to that used elsewhere, and since I am not a daily user of TC I am sometimes no au fait, or just forget, the appropriate usage.

dunkers

Quotecome up as "Solid" for me when the Line tool is active

Try the rectangle tool. I start with that then proceed to cut out and add other bits, rather than do a polyline outline.

Quotewouldn't be using "Thickness" to Extrude, but rather the "Simple Extrude" tool

Previously I have used the simple extrude, but I found that it would leave the 2D part overlayed on the new extrusion (kind of!) necessitating a bit of tidying up. The adding thickness doesn't do that: just adds thickness, which is, after all, the desired end :)

Alvin Gregorio

#18
Quote from: dunkers on February 14, 2015, 05:33:45 AM
QuoteYou're saying that if you activate the 3D "Box" (Cube) Tool-- or a 2D object with Thickness assigned-- and before you insert it, you go to Properties/3D and click "Solid";

Ummm... not quite. What I am saying is that I start with a 2D object (for this example a rectangle). I then pop up properties, 3D, and can see that TC Surface is pre-selected but not changeable (because there is no thickness).

[image omitted]

Next, I add thickness and select 'solid' since that is now enabled:

[image omitted]

Then I click OK. On re-opening, it is reverted to TC Surface:


This time, if I change it to 'solid' that will stick. Hope that's clearer :)

Heeeyyyy....  I see from your images that you have already inserted the Rectangle.  I said to access Properties/3D before inserting the 3D or 2D-with-Thickness-assigned Object.
    First activate the Rectangle Tool (or just right-click on the icon), then, before you make any click for inserting, right-click to access the Properties/3D page (this can also be done via the Selection Info Palette, before it's inserted).  Click on "Solid" and "OK".  Or, if doing so via the Selection Info Palette, go to that field and in the drop-down box, select "Solid", and hit "Enter".
   You already know this, but a reminder:  For 2D-entities-with-Thickness-assigned, we first have to enter a Thickness-- in Properties/3D, or the Selection Info Palette-- for the options of "Solid" or "TC Surface" to become available.



However, you are correct dunkers, in your Reply #12.  2D Objects do behave exactly as you described.  I don't know why this is.  Maybe the beta-Testers and other experts do.  [Edit:  See my Reply #20]
   


But I see what you are doing.  You are inserting a 2D entity, then assigning it Thickness-- making it 3D-- later.  So, yeah, "Solid" and "TC Surface" will be grayed-out, until you assign a Thickness.

So, my question to Henry and the other experts:  Will doing it this way result in a less-than-optimal ACIS Solid, once "Solid" is selected.
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

#19
Quote from: dunkers on February 14, 2015, 05:33:45 AM
Reply #12

After some experimenting, this is what I came up with:

It really does come down to what you have in that value in TcExplorer Palette/Program Defaults/Type of 3D Object.

If you change that value to 1 (for the "Solid" option), then activate a 2D Tool; go to its Properties/3D page; the ticked option will be "Solid".

Changing that TcExplorer Palette/Program Defaults/Type of 3D Object value to 1 can also be achieved by pre-setting a 3D Object (Box, Cone, Torus, Extrude, etc.) before inserting it to "Solid", then clicking "OK".  (you might have to click in that value cell to get it to refresh)

Just one of the nuances we have to get used to and adapt to...

_____________
Just keep that TcExplorer Property Value visible so that you can see it, and experiment with all this.

I fully grasp it now.  Lot of good it will do me.???

_____________
So, what I would advocate is (if one is wanting to have 3D and 2D-with-Thickness-assigned Objects default to "Solid"):  In your personal/custom Template file, go through and change all "pre-set" Properties/3D for all the 3D Objects (Primitives as well as Extrude, Sweep, Loft, etc.) to "Solid", then "Save" (and close).
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)

dunkers

QuoteI said to access Properties/3D before inserting the 3D or 2D-with-Thickness-assigned Object.

I was doing that, but when I actually drew the rectangle the type of object reverted to 0 and I got the original result. I tried it again moments ago to be sure: select rectangle, change ToO to 1, select circle then back to rectangle and ToO is again 0.

Quotego through and change all "pre-set" Properties

I might do that for one or two, but life's too short for the whole lot. I would do them as I use them, but even that seems pointless given the above. Just have to remember to do 'em twice.

exdraftee

Quote from: nikkipollard on February 13, 2015, 07:06:08 AM
have you set the colour of the items to "by layer" in the xref drawing?

Another option is 'by block'
FerrariDrafting (Find me on Facebook)
Australia
V16 Deluxe
V17 Plat
V20 Plat
V21 Plat
TC2016 Plat
TC2020 Plat
TC2025 Plat