Tekla Tedds 2021 - Service Pack 1

Tekla Tedds
Tekla Tedds for Word
2021
Tekla Tedds Tekla Tedds for Word

This service pack is required when using the Tekla Tedds Engineering Library May 2021 or later.

Important

If you are running a 64-bit version of Windows you will require both updates.

Highlights

Eight new functions which can be used when writing custom calculations.

CubeRoot

Calculates the cube root of a value including support for negative values.

     CubeRoot( 8 ) = 2
     CubeRoot( -8 ) = -2
     

String List Functions

String list functions allow a list of values to be managed as a single string value where each item in the string is separated by the list separator (normally a comma). For example you might use such a list for recording the positions on a beam where results of interest occur.

The new functions included in this service pack make it easier to manipulate such data.

Example

Two separate operations have resulted in two lists of positions of interest on a beam which are not currently sorted, create a new list which contains all the positions (in mm) from both lists in order from smallest to largest without any duplicates.

     a1 = 0.0m; a2 = 0.575m; a3 = 0.63m; a4 = 1.2m
     list1 = StringList( "F0", "mm", a1, a2, a3, a4 ) = "0,575,630,1200"
     b1 = 0.0m; b2 = 0.325m; b3 = 0.63m; b4 = 0.2m
     list2 = StringList( "F0", "mm", b1, b2, b3, b4 ) = "0,325,630,200"
     positions = StrListUnion( StrListSort(list1), StrListSort(list2) ) = "0,200,325,575,630,1200"
     

StrListJoin

StrListJoin can be used to concatenate two string lists.

     list1 = StrList( 1, 2, 3 )
     list2 = StrList( 4, 5, 6 )
     StrListJoin( list1, list2 ) = "1,2,3,4,5,6"
     StrListJoin( list2, list1 ) = "4,5,6,1,2,3"
     

StrListUnique

Removes all consecutive duplicate elements from a sorted string list.

     list = StrList( 1, 2, 3, 3, 7, 8, 8, 9, 10, 10, 10, 11 )
     StrListUnique( list ) = "1,2,3,7,8,9,10,11"
     

StrListMerge

Merges two sorted string lists into a single string list.

     list1 = StrList( 1, 3, 7 )
     list2 = StrList( 2, 6, 8 )     
     StrListMerge( list1, list2 ) = "1,2,3,6,7,8"
     

StrListUnion

Creates a sorted string list consisting of the elements that exist in one or both sorted string lists.

     list1 = StrList ( 1, 2, 3, 5, 7, 9 )
     list2 = StrList( 2, 4, 5, 6, 8, 9 )     
     StrListUnion( list1, list2 ) = "1,2,3,4,5,6,7,8,9"
     

StrListIntersection

Creates a sorted string list from two sorted string lists which consists of the elements that exist in both lists.

     list1 = StrList ( 1, 2, 3, 5, 7, 9 )
     list2 = StrList( 2, 4, 5, 6, 8, 9 )     
     StrListIntersection( list1, list2 ) = "2,5,9"
     

StrListDifference

Creates a sorted string list from two sorted string lists consisting of the elements which exist in the first list but not in the second list.

     list1 = StrList ( 1, 2, 3, 5, 7, 9 )
     list2 = StrList( 2, 4, 5, 6, 8, 9 )
     StrListDifference( list1, list2 ) = "1,3,7"
     StrListDifference( list2, list1 ) = "4,6,8"
     

StrListSymmetricDifference

Creates a sorted string list consisting of the elements which exist in either of two sorted string lists but not both.

     list1 = StrList ( 1, 2, 3, 5, 7, 9 )
     list2 = StrList( 2, 4, 5, 6, 8, 9 )
     StrListSymmetricDifference( list1, list2 ) = "1,3,4,6,7,8"
     

Other Updates

Security

[TEDDS-5564] Updated embedded Chromium browser (CEF) to address security vulnerabilities
[TEDDS-5558] Updated System.Text.Encodings.Web to 4.7.2

Writing Custom Calculations

[TEDDS-5619] Modified the behavior of the developer commands for creating calculation examples to always save the variables in SI units so that numeric precision issues are avoided when saving US examples using US units.

[TEDDS-5620] Enhanced VerifyEqual so that when the result is different the warning message indicates the percentage difference between the two values.

[TEDDS-5546] Fixed the Data List design application not initialising the "Hide grid" and "Fixed splitter" options correctly which resulted in these options being applied randomly when building a data list.

Fanden Sie das hilfreich?