IO.IsStandalone, IO.IsDrawing, IO.IsExternCLC

Info about design forms features
PetrS
Site Admin
Posts: 181
Joined: 11 Jul 2014, 13:55

IO.IsStandalone, IO.IsDrawing, IO.IsExternCLC

Postby PetrS » 16 Jul 2014, 06:29

size=150bSystem variables IO.IsStandalone, IO.IsDrawing, IO.IsExternCLC/b/size
Version: 0.1.29 and higher

These system variables indicate conditions of the calculation run.
Its value is automatically set for each calculation execution (Master x Extern; Draw() x Calculate(); ...).

bIO.IsStandalone/b is system variable which indicates if the calculation runs standalone (in SDF User) or it is connected to SCIA Engineer.
list
*TRUE = Calculation is running from SDF User, or SDF Builder/*:m
*FALSE = Calculation is running from SCIA Engineer
iIO.IsStandalone is false also if EMDLoader is loaded to the dialog and is active./i/*:m/list:u

bIO.IsDrawing/b is system variable which indicates if the graphical output is being generated
list
*TRUE = Graphical output of the calculation is being generated (for example using calculation in SDF User, generating Detailed output for SEN, ...)/*:m
*FALSE = Just a calculation is processed, no graphical output is generated (for example brief output from SEN, ExternCLC.Calculate(), ...)/*:m/list:u
IO.IsDrawing is intended to in-script optimisations. For example all commands related to drawing (Graphics) can be omitted when IO.IsDrawing == false.

bIO.IsExternCLC/b is system variable which indicates if the calculation was called from master CLC.
list
*TRUE = Calculation was called from master CLC/*:m
*FALSE = Calculation is master (called directly from Builder, User or SEN)/*:m/list:u

bLayoutIndex/b - contains index of used layout
list
*= -1 if the CLC is calculated (graphical output is not drawn)/*:m
*=0..5 if the CLC graphical output is drawn/*:m/list:u
iLayoutIndex is updated when MasterCLC calls ExternCLC. For example ExternCLC.Calculate() switches LayoutIndex to -1. When ExternCLC is finished, Master's LayoutIndex is restored./i

bIsNewMember/b
list
*TRUE = This calculation runs for the first time on given member = IsFirstPlace && IsFirstCombi. /*:m
*FALSE = Calculation run is NOT the first on this member./*:m/list:u

bIsFirstPlace/b
list
*TRUE = This calculation runs for the first time in given place (section/point). /*:m
*FALSE = Calculation run is NOT the first in this place./*:m/list:u

bIsLastPlace /b
list
*TRUE = This calculation run is last at given place (section/point). /*:m
*FALSE = Calculation run is NOT last at this place./*:m/list:u

bIsFirstCombi/b
list
*TRUE = This calculation runs for the first time with given combination of internal forces/deformations /*:m
*FALSE = Calculation run is NOT the first with this combination/*:m/list:u

bIsLastCombi /b
list
*TRUE = This calculation is last with given combination of internal forces/deformations /*:m
*FALSE = Calculation run is NOT the last with this combination/*:m/list:u

:?: iValues IsNewMember, IsFirstPlace, IsLastPlace, IsFirstCombi, IsLastCombi are always TRUE in DesignForms Builder and User. Values are used just within CalcExe runs./i
Ing. Petr Slepicka
DesignForms Online
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!

Return to “Design forms features”

Who is online

Users browsing this forum: No registered users and 27 guests