cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The 2025 Technology Preview Program is now live. Join today!

GDL
About building parametric objects with GDL.

SLAB_SKINS_BMAT_NAMES not working correctly when printing 9th < skin

Miko
Participant

In a label this SLAB_SKINS_BMAT_NAMES parameter "breaks" when listing the 8 or 9th skin (and further skins). Works as expected in 7 or fewer. Tried it with a very dumbed down version of my label, simple rows with: text2 0, "manuallychangedposition",SLAB_SKINS_BMAT_NAMES [manually changed id][1]. If a slab had 4 skins and I wanted to print the 7th skin, it printed nothing, which is correct, no 7th skin, but if i wanted to print the 9th skin the label started to look like a dot - missing object, even if i added lower skins for the function to read, once i added the 9th skin, it always showed only a dot. Unless the slab had acces to the 9th skin, in which case it broke on the 10th skin.

6 REPLIES 6
Lingwisyer
Guru

What does the Report say? Should return an error message related to the failed object generation. Though, why are you trying to query non-existant skins? If you need to have user input, you could link the parameter back to the skin count, with a Request into a Range.

 

If you make a composite with more than 10 skins, then query the 10th, does it work? If that does work, my guess is that the array that contains the skin list dynamically changes based on the number of skins, but has a minimum size. If it does not, than I guess this would be a bug to report.

 

Ling.

AC22-28 AUS 3110Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660

Where can i find that Report

Edit:

I was trying to query nonexistant skins to troubleshoot the problem, everything works even with nonexistant skins, but when querying for the 9th or futher skins it stops working

 

File => Info => Session Report

 

It should automatically pop up on your tab bar when an error occurs though... Or at least the Action Center will...

AC22-28 AUS 3110Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660

Ecodesign Star failed and Polygon is degenerated, nothing else.

 

 

 

 

Miko_0-1758790118192.png

This is when its working

Miko_1-1758790150430.png

And this is when i try to list from a slab that has 8 or 9 + skins

So when the label fails to generate, it does not return an error message? Odd...

AC22-28 AUS 3110Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660
Barry Kelly
Moderator

You can inquire the number of wall skins with ... WALL_SKINS_NUMBER

If that helps.

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!