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.

Unable to create material properly: xxxx There is no RedSDK data.

Started by Daniel, September 09, 2016, 09:31:51 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Daniel

Hi ya,

  TC 2016 Deluxe. I only have RedSDK - there is no Lightworks so it's not sounding like the many other posts on this issue.

  I get this with a bunch of materials in a particular case. I have a drawing assembled from multiple parts. One part is rendering with a material "Wood 2/Redwood 5". All the rest of the assembly renders dark grey. Now if I create a new drawing with just a sphere and a cube in it they can be assigned the same materials and render properly. It doesn't appear to be just one material. Is there something peculiar about trying to assign materials to a bunch of parts which are all external references ? I can add another block drawn in this drawing and it renders just fine so I am highly suspicious of the external refs.

  Any thoughts of what I might try ? Please don't assume I have a clue about rendering, I don't. I am just playing at this point to get my feet wet.

Thx
D
TurboCAD 2016 Deluxe 32 and 64 bit
Win 10 64 bit

Darrel Durose

Hi Daniel

Firstly, did you assign materials to the xRefs with Lightworks materials on an older version of TurboCAD?

If so you need to go into those xRef drawings and create RedSDK materials.
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Daniel

Hi Darrel,

  No, the drawings are all new and originally created under TC 2016 Deluxe without any use of Lightworks.

  I've subsequently thought of a few tests to try to isolate the problem further. I'll try some stuff out and post back.

Thx
D
TurboCAD 2016 Deluxe 32 and 64 bit
Win 10 64 bit

Daniel

Ok so I tried this test.

1. create a cube in a drawing - well rectangular prism but who's checking
2. a sphere in another drawing
3. Save both files
4. Create a second drawing and create external refs to the cube and sphere drawings.
5. Insert one of each onto the new drawing and assign a material to each.
6. Click render. You get this error once for each object.

Second test.

1. Create a new drawing
2. cut and paste both a sphere and a cube from the original drawings into this new drawing
3. Assign materials and render.
4. This works fine and it renders.

Third test.

1. Go back to the sphere drawing itself and assign a material
2. Reload the XRef in the first assembly drawing
3. This object now renders properly in the drawing while the cube still spits an error.

All this suggests to me that assigning materials to XRef drawings will have issues in RedSDK. It's odd because I've got varying results it seems to me. For example in one case I appear to have been mostly able to assign a material an assembly but one part failed to take. Then in another case only one part accepted the material. I think these cases related to how I had grouped parts or something like that. I need to test further.

thx
D
TurboCAD 2016 Deluxe 32 and 64 bit
Win 10 64 bit

Daniel

Ok so it seems that if you create the XRef and then Bind it to the assembly drawing then explode the block it creates, then you can alter the materials used in the assembly drawing.

All this suggests that using the general approach I am using here needs modification to make such things simpler. Obviously binding the drawing means I won't be able to update the assembly drawing with changes from the part drawing.

The alternative is to assign the material in the part drawing and reload the XRef. That may be the best for my current setup.

thx
D
TurboCAD 2016 Deluxe 32 and 64 bit
Win 10 64 bit

John R

I think the XRef feature in TurboCAD 2016 is broken. I experimented in Deluxe 2016 and Deluxe V21 and got different results.

  • I made 5 separate drawings, each with a single 3D object.
  • 2 drawings had a material assigned to each object.
  • 2 drawings had the objects' material set to "By Block".
  • In the last drawing, the material was left at "None".

  • In a new from scratch drawing, the 5 drawings were set up as XRef's (Shift+Alt+X).
  • The XRef's were brought in from the Blocks palette and rendered.
  • The two XRef's with materials already assigned, rendered those materials; the other three were black.
  • I selected each of the "By Block" XRefs (currently black) and assigned a material.

    • In Version 21, the objects changed to the newly assigned material.
    • In Version 2016, TurboCAD couldn't locate the assigned material (error message).
  • Nothing happened when assigning a material to the XRef left at "None". This was expected.
John R.

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

Daniel

Thanx for the tests John. I was going to log a bug on this with IMSI later today. I can include your test results in the note I send them if you're ok with that, unless of course you've already reported it.

thx
D
TurboCAD 2016 Deluxe 32 and 64 bit
Win 10 64 bit

John R

You can add my 2¢ to your report. Customers have more pull with management than I do.  ;)
John R.

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

Dean

Quote from: Daniel on September 09, 2016, 09:31:51 PM
Hi ya,

  TC 2016 Deluxe. I only have RedSDK - there is no Lightworks so it's not sounding like the many other posts on this issue.

  I get this with a bunch of materials in a particular case. I have a drawing assembled from multiple parts. One part is rendering with a material "Wood 2/Redwood 5". All the rest of the assembly renders dark grey. Now if I create a new drawing with just a sphere and a cube in it they can be assigned the same materials and render properly. It doesn't appear to be just one material. Is there something peculiar about trying to assign materials to a bunch of parts which are all external references ? I can add another block drawn in this drawing and it renders just fine so I am highly suspicious of the external refs.

  Any thoughts of what I might try ? Please don't assume I have a clue about rendering, I don't. I am just playing at this point to get my feet wet.

Thx
D

Hi Daniel,
I'm not seeing any problems in Deluxe 2016 64 bit without the Lightworks plug in.

simple method >
I have a drawing (my Xref) with a few objects that have assigned Redsdk materials.
I insert the Xref in another drawing and all materials are render-able, I can also edit the Xref materials from within the drawing. I usually insert the Xref as "Attach"

Can you post a simple drawing dispalying your problem.
Make sure that you also post the Xref.  ;D
"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

John R

Here's an ePack of files done in 2016 Platinum, but will open without problems in Deluxe 2016. All the objects are still "primitive", so either edition will read these. The "XRef Test 2016Plat-00" is the master. If I apply a material to XRef-03 or 04 (which is set to "By Block"), RedSDK can't find the material and won't render. If I render in LightWorks, the new material appears. RedSDK is BROKEN.
John R.

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

Daniel

Hey John,

 
Quote from: John R on September 10, 2016, 11:27:46 AM
Here's an ePack of files done in 2016 Platinum, but will open without problems in Deluxe 2016. All the objects are still "primitive", so either edition will read these. The "XRef Test 2016Plat-00" is the master. If I apply a material to XRef-03 or 04 (which is set to "By Block"), RedSDK can't find the material and won't render. If I render in LightWorks, the new material appears. RedSDK is BROKEN.

  I tried your files but even applying Glass/Green Glass to the Cylinder (05) has the same issue.
  Same with 01.

  On first opening and rendering the sphere is blue, the flattened cube is yellow, the partial torus, cone and cylinder are all black. I'm guessing that much is correct.

Hi Dean,

Quote from: Dean on September 10, 2016, 10:51:35 AM
simple method >
I have a drawing (my Xref) with a few objects that have assigned Redsdk materials.
I insert the Xref in another drawing and all materials are render-able, I can also edit the Xref materials from within the drawing. I usually insert the Xref as "Attach"

Can you post a simple drawing dispalying your problem.
Make sure that you also post the Xref.  ;D

  I have been using "Attach".

I'll try to prep a simple thing to upload which shows the issue.

Thx
D
TurboCAD 2016 Deluxe 32 and 64 bit
Win 10 64 bit

Daniel

Ok my test case is essentially that provided by John R.
But I noticed the following.

In the Properties -> Material on the block in the drawing in which the XRef is created there is a Category pull down. I cannot set the material to a Material if the Category is "Active Drawing". However if I set it to the XREF_Ball.tcw for example, then I can select a material from the more restricted list under the Material pull down. The contents of that pull down appear to have to have been set up in the original Ball.tcw. Now further if I set the original drawing Material to a material then I cannot change it in the referring drawing. But if the original drawing Material is set to "By Block" then it may be changed in the referring drawing to one in the list of materials included in the XREF_Ball.tcw Category.  So a somewhat involved process of assigning materials one after the other to the original part and then setting its material to "By Block" then using that as an XRef gets you a list of materials you can change. It does not however get you all materials.

This seems sufficiently consistent to actually be intended behaviour. I wouldn't say it was a great idea and perhaps there is a property to make this work better.

John I tried this in your test case and saw the same behaviour. If I added materials to your 03 drawing I could then set the 03 block in the 01 drawing to one of those selections.

Dean, I am wondering if you have found how to set the original drawing or the block into a mode which allows choosing from the Active Drawing list which I have yet to discover.

Thx
D
TurboCAD 2016 Deluxe 32 and 64 bit
Win 10 64 bit

Darrel Durose

Just been testing with John file. I found the same as you in that the xRef have to contain the  materials to choose from.

If the main drawing has the same materials as the xRef then these will update the xRef so it appears to me some sort of path/name issue...

John has reported this in Bugs so hopefully their will be a fix.. ;)
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Daniel

Quote from: Darrel Durose on September 10, 2016, 03:07:09 PM
Just been testing with John file. I found the same as you in that the xRef have to contain the  materials to choose from.

If the main drawing has the same materials as the xRef then these will update the xRef so it appears to me some sort of path/name issue...

John has reported this in Bugs so hopefully their will be a fix.. ;)

Oh there's a Bugs forum ? Cool only I probably don't have access.
Thanx for reporting it John.

Thanx for all the help everyone.

thx
D
TurboCAD 2016 Deluxe 32 and 64 bit
Win 10 64 bit

John R

When you're in the master drawing (…00), you won't be able to change the materials in the 01, 02 or 05 XRef's "Properties/Material" page. They already have a material or no setting at all and can only be changed by opening the origin file. Open them from the Blocks palette, edit, Save, close, reload.

The objects in the 03 and 04 XRef have a material called "By Block" assigned to them. When they're in the master drawing, you can select the XRef and assign a material in the Blocks' Properties dialog or from the Materials palette or Selection Info. When rendering, they will take on the material assigned to it. Unfortunately, this only works in LightWorks and not RedSDK. You can have several several copies of a By Block XRef in the drawing and have different materials assigned to each. They will render in LightWorks, but not RedSDK.
John R.

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

Dean

"Dean, I am wondering if you have found how to set the original drawing or the block into a mode which allows choosing from the Active Drawing list which I have yet to discover."


Yes Daniel,
Using Redsdk >Any active materials in the Xref can be used on multiple block instances in the main drawing. so you could load any materials you might be using.
You access then from the Xref's Material category in the main drawing.
I normally work the old fashion way by simply editing the Xref then reloading it which does work. I don't have the LW plugin installed.
According to John Redsdk doesn't work the same as Lightworks.
which is probably a bug or a limitation with Redsdk,

"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

Daniel

Quote from: Dean on September 10, 2016, 04:20:59 PM
Yes Daniel,
Using Redsdk >Any active materials in the Xref can be used on multiple block instances in the main drawing. so you could load any materials you might be using.
You access then from the Xref's Material category in the main drawing.

Ok so that's what I found too, above. It seems a curious limitation and is apparently a regression in v23 from v21.
But it does work. So I have some options now which is great. And I learned a bit in the process.

Thx again
D
TurboCAD 2016 Deluxe 32 and 64 bit
Win 10 64 bit