Line length table is empty in variable table

When trying to set the value of a variable in the variables table with ‘fn’, the line length, line angle, etc lists are empty. Only the variables and measurements are available.

The problem started when, after having defined the variable, I switched to a different measurement table.

I suspect the data to be corrupted. Is there a way to recover from this problem, and/or to prevent it?

attached the 2d and smis files.

Kind regards, Irene

Basis3.sm2d (35,5 KB)

Voorbeeldbasis.smis (1,4 KB)

2 Likes

Hello, @Irene, and welcome to the Seamly Forum.

Seamly is extremely linear in the way that the objects are saved in the file. Anything that is created later, isn’t available for anything that went before.

The measurements file is saved first so that it is available throughout the drafting.

The variables are saved second so that they can use the measurements and any variables that are listed above the one that you are working on. So, effectively, the variables don’t know about any lines or angles in the pattern draft.

The drafting gets saved directly after the variables, so they are not available to either the measurements file or the variables. And still in the drafting section, each point, line, curve, arc, will only be available to use in the formulas for objects that you draft afterwards.

You can create different drafting boards, but each one will be separate and again, objects created on previously created drafting boards will be available to use in formulas in the later board, but the objects in the later board won’t be available in the previous boards.

The Piece board is saved after the drafting boards, so it can reference anything that was drafted.

Images are saved at the end of the file, so they will be visible on all drafting boards.

I hope this gives you an idea.

1 Like

Hello Grace, Thank you for your fast answer. I was able to refer to a line in a variable definition and use that one to create 2 more variables. It worked fine until I saved it. Maybe you understand my confusion since I was able to create it, but not to keep it. Do I understand well that in the variables table you can refer to a previously drawn line, but you can’t save it?

Kind regards, Irene

2 Likes

Yes, previously you could find line lengths and angles in the F(x) but it is only while those are in your RAM memory. As soon as you save or refresh, they’ll give you an error or revert to zero, so I had the programmers remove them from the list to avoid confusion.

1 Like

Thank you, now I understand. I guess I’ll have to look for an update then. It would have been easy, but I think I found a way to work around it Thanks for your help. Irene

1 Like

HI @Irene… As Grace pointed out I removed awhile back the sidebar menu items for the fx editor in Seamly2D and SeamlyMe for items that are not valid for the variable being edited. Now when you open the fx editor to create / edit a custom variable all the tool variables are not accessible from the menu as before:

Screenshot 2025-01-25 054915

If you need to update you can click the Download Latest link above in the forums:

or Open the About menu in Seamly2D and click Check for Updates in the lower left corner:

Screenshot 2025-01-25 053420

2 Likes

Yeah, as mentioned by @Grace you can’t use the variable table that way. Bummer. I have a lot of uses cases if this is possible.

But I found that if I move the variable up and down, the values will be restored, at least until I close the table. If some remain at zero you need to switch the block. Sometimes I use this glitch to quickly check important measurement like armhole and sleeve cap and automatically calculate the current sleeve cap ease.

3 Likes

Ooh, that is a delightful little exploit! It would save putting blank entries on the draft itself!

:unicorn:

3 Likes