Syntax
set dataids [ABRESULTS schedid COMBINATION GET]
set dataids [ABRESULTS schedid COMBINATION GET SORTBYDAY]
set dataids [ABRESULTS schedid COMBINATION GET combname]
array set combret [ABRESULTS schedid COMBINATION GET combname ATDAY day]
Description
Query the list of combinations, sorted by name and day
Query the list of combinations, sorted by day and name
Query the list of combinations for all days for a defined name
Query of a specific combination, defined by its name and day
A combination is to be regarded as an envelope, but it is also assigned to a schedule and a day.
Argument |
Dimension |
Meaning |
schedid |
OBJID |
Schedule-ID |
COMBINATION |
KEYWORD |
Result type of query |
GET |
KEYWORD |
Query data |
SORTBYDAY |
KEYWORD |
Sorting the combinations in the return list |
combname |
TEXT |
Name of combination, return is filtered |
ATDAY |
KEYWORD |
Combination result of a defined day is queried |
day||FINAL |
INT||KEYWORD |
Defined day or calculated end day (taking into account the end creeping) |
Return for [ABRESULTS ... GET ...], without specification of the day
Return |
Dimension |
Meaning |
dataids |
LIST |
List of Ids of combinations |
Return array for [ABRESULTS schedid COMBINATION GET combname ATDAY day]
Array item |
Dimension |
Meaning |
error |
INT |
Error code |
info |
TEXT |
Error information |
id |
OBJID |
Data ID of the combination |
Scopes
All
Examples
# Combinations
# ------------
puts $outfile " Schedule 'Schedule1' Combinations"
puts $outfile " ----------------------------------"
set dataIDs [ABRESULTS "Schedule1" COMBINATION GET SORTBYDAY]
set ncomb [llength $dataIDs]
puts $outfile ""
puts $outfile " Day Combination Type Leads"
puts $outfile " -------------------------------------------------------------------------------------------"
set format7 " %6s %-30s %-10s %s"
foreach dataID $dataIDs {
array unset comb
array set comb [ABRESULT $dataID COMBINATION GET]
puts $outfile [format $format7 $comb(day) $comb(name) $comb(envtype) $comb(leads)]
}
It is assumed that a text file outfile has been opened for writing . The results are written formatted into the text file.
The output is project-dependent and can look like the following, for example:
Schedule 'Schedule1' Combinations
----------------------------------
Day Combination Type Leads
-------------------------------------------------------------------------------------------
127 C1 CHAR Ux Uy Uz Rx Ry Rz Nx Vy Vz Mx My Mz
127 C2 FREQ Ux Uy Uz Rx Ry Rz Nx Vy Vz Mx My Mz
127 C3 QPERM Ux Uy Uz Rx Ry Rz Nx Vy Vz Mx My Mz
127 C4 ULS Ux Uy Uz Rx Ry Rz Nx Vy Vz Mx My Mz
127 C5 ULS Ux Uy Uz Rx Ry Rz Nx Vy Vz Mx My Mz
127 ULS ULS Ux Uy Uz Rx Ry Rz Nx Vy Vz Mx My Mz
FINAL C1 CHAR Ux Uy Uz Rx Ry Rz Nx Vy Vz Mx My Mz
FINAL C2 FREQ Ux Uy Uz Rx Ry Rz Nx Vy Vz Mx My Mz
FINAL C3 QPERM Ux Uy Uz Rx Ry Rz Nx Vy Vz Mx My Mz
FINAL C4 ULS Ux Uy Uz Rx Ry Rz Nx Vy Vz Mx My Mz
FINAL C5 ULS Ux Uy Uz Rx Ry Rz Nx Vy Vz Mx My Mz
FINAL C6 ACCIDENT Ux Uy Uz Rx Ry Rz Nx Vy Vz Mx My Mz
FINAL ULS ULS Ux Uy Uz Rx Ry Rz Nx Vy Vz Mx My Mz
.....
Output for script above.
|
(C) ALLPLAN GmbH |
Privacy policy |