{3.1.1.2757} {Enterprise Dynamics startup information} if(StartingED, SoftStartED([])); {Model information} AddLayer([Stands], 3, 15, 0); AddLayer([StandsActivity], 3, 16, 1); AddLayer([DoNotDraw], 10, 2, 2); AddLayer([Transportation], 3, 17, 3); AddLayer([Main], 3, 1, 4); AddLayer([Agents], 3, 11, 5); AddLayer([Output], 3, 14, 6); AddLayer([Infrastructure], 3, 9, 7); AddLayer([ECMNetwork], 27, 4, 8); AddLayer([Openings], 3, 8, 9); AddLayer([WalkableAreas], 3, 7, 10); AddLayer([Activities], 3, 10, 11); AddLayer([Obstacles], 3, 6, 12); AddLayer([PD_Environment], 27, 3, 13); AddLayer([LocalObstacles], 3, 13, 14); AddLayer([UserActions], 3, 12, 15); AddLayer([HeightLayers], 3, 5, 16); {Load required atoms} int011; int035([ActivityLocation], pDir([Atoms\ACTIVITIES\ActivityLocation.atm])); int035([AgentDrawInformation], pDir([Atoms\AGENTS\AgentDrawInformation.atm])); int035([AgentProfile], pDir([Atoms\AGENTS\AgentProfile.atm])); int035([HeightLayer], pDir([Atoms\ENVIRONMENT\HeightLayer.atm])); int035([PD_Environment], pDir([Atoms\ENVIRONMENT\PD_Environment.atm])); int035([WalkableArea], pDir([Atoms\ENVIRONMENT\WalkableArea.atm])); int035([Experiment_Wizard], pDir([Atoms\EXPERIMENT\Experiment_Wizard.atm])); int035([Escalator], pDir([Atoms\INFRASTRUCTURE\Escalator.atm])); int035([Stairs], pDir([Atoms\INFRASTRUCTURE\Stairs.atm])); int035([AgentActivity], pDir([Atoms\INPUT\AgentActivity.atm])); int035([AgentActivityRoute], pDir([Atoms\INPUT\AgentActivityRoute.atm])); int035([AgentGenerator], pDir([Atoms\INPUT\AgentGenerator.atm])); int035([AgentInput], pDir([Atoms\INPUT\AgentInput.atm])); int035([PD_Input], pDir([Atoms\INPUT\PD_Input.atm])); int035([SimControl], pDir([Atoms\INPUT\SimControl.atm])); int035([SlopeSpeed], pDir([Atoms\INPUT\SlopeSpeed.atm])); int035([ActivityRoute], pDir([Atoms\OUTPUT\ActivityRoute.atm])); int035([AgentStatistics], pDir([Atoms\OUTPUT\AgentStatistics.atm])); int035([DensityNorms], pDir([Atoms\OUTPUT\DensityNorms.atm])); int035([FlowCounter], pDir([Atoms\OUTPUT\FlowCounter.atm])); int035([FrequencyNorms], pDir([Atoms\OUTPUT\FrequencyNorms.atm])); int035([lstOutputActivityRoutes], pDir([Atoms\OUTPUT\lstOutputActivityRoutes.atm])); int035([OutputLayer], pDir([Atoms\OUTPUT\OutputLayer.atm])); int035([PD_Output], pDir([Atoms\OUTPUT\PD_Output.atm])); int035([ResultPlayer], pDir([Atoms\OUTPUT\ResultPlayer.atm])); int035([TravelTimeNorms], pDir([Atoms\OUTPUT\TravelTimeNorms.atm])); int035([CameraPositions], pDir([Atoms\TOOLS\CameraPositions.atm])); int035([DisplayAtom], pDir([Atoms\TOOLS\DisplayAtom.atm])); int035([MovieRecord], pDir([Atoms\TOOLS\MovieRecord.atm])); int035([RunClock], pDir([Atoms\TOOLS\RunClock.atm])); int035([SelectionPolygon], pDir([Atoms\TOOLS\SelectionPolygon.atm])); int035([UserEvents], pDir([Atoms\TOOLS\UserEvents.atm])); int035([List], pDir([Atoms\TOOLS\UTILITIES\List.atm])); int035([TransportGenerator], pDir([Atoms\TRANSPORTATION\TransportGenerator.atm])); int035([TransportInput], pDir([Atoms\TRANSPORTATION\TransportInput.atm])); int035([TransportOutput], pDir([Atoms\TRANSPORTATION\TransportOutput.atm])); int035([TransportSubType], pDir([Atoms\TRANSPORTATION\TransportSubType.atm])); int035([TransportType], pDir([Atoms\TRANSPORTATION\TransportType.atm])); int035([ActionArea], pDir([Atoms\USERACTIONS\ActionArea.atm])); int012; {Atom: PD_Input} sets; AtomByName([PD_Input], Main); if(not(AtomExists), Error([Cannot find mother atom 'PD_Input'. Inheriting from BaseClass.])); CreateAtom(a, s, [PD_Input], 1, false); Set(Att(1), 0); SetExprAtt(2, [0]); Set(Att(3), 0); int023([PD_Input], 0, 530432); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(1); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstTables} sets; AtomByName([lstTables], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstTables'. Inheriting from BaseClass.])); CreateAtom(a, s, [lstTables], 1, false); SetAtt(1, 0); int023([lstTables], 0, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(2); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: SimControl} sets; AtomByName([SimControl], Main); if(not(AtomExists), Error([Cannot find mother atom 'SimControl'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [SimControl], 1, false); SetAtt(1, 0.2); SetAtt(2, 1); SetAtt(3, 0.18); SetAtt(4, 0); SetAtt(5, 2); SetAtt(6, 1); SetExprAtt(7, [METERSPERPIXEL]); SetExprAtt(8, [AGENT_COLORTYPE_2D]); SetExprAtt(9, [AGENT_COLORTYPE_3D]); SetExprAtt(10, [AGENT_DRAWTYPE_2D]); SetExprAtt(11, [AGENT_DRAWTYPE_3D]); SetAtt(12, 0); SetAtt(13, 0); SetAtt(14, 0); SetAtt(15, 0); SetAtt(16, 0); SetAtt(17, 0); SetAtt(18, 0); SetAtt(19, 15001); SetAtt(20, -1); SetAtt(21, 0); SetAtt(22, 1); int023([SimControl], 0, 528384); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(3); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(3, 5); int015(0, 64, [`ID` 1 2 3 ]); int015(1, 64, [`Name` `Normal` `StairsUp` `StairsDown` ]); int015(2, 98, [`FormulaType` 2 2 2 ]); int015(3, 102, [`MaxSpeed` 1.34 0.61 0.694 ]); int015(4, 64, [`dFactor` 1.913 3.722 3.802 ]); int015(5, 64, [`dJam` 5.4 5.4 5.4 ]); SetStatus(0); int018; {Atom: TransportInput} sets; AtomByName([TransportInput], Main); if(not(AtomExists), Error([Cannot find mother atom 'TransportInput'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [TransportInput], 1, false); Set(Att(1), 0); Set(Att(2), 0); Set(Att(3), 0); SetAtt(4, 0); int023([TransportInput], 0, 528384); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(105); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstTransportGenerators} sets; AtomByName([lstTransportGenerators], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstTransportGenerators'. Inheriting from BaseClass.])); CreateAtom(a, s, [lstTransportGenerators], 1, false); SetAtt(1, 1); int023([lstTransportGenerators], 0, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(106); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: TransportGenerator_1} sets; AtomByName([TransportGenerator], Main); if(not(AtomExists), Error([Cannot find mother atom 'TransportGenerator'. Inheriting from BaseClass.])); CreateAtom(a, s, [TransportGenerator_1], 1, false); SetAtt(1, 1); SetAtt(2, 2001); SetExprAtt(3, [0]); SetExprAtt(4, [0]); SetExprAtt(5, [{**Unlimited**} 0]); SetExprAtt(6, [0]); SetExprAtt(7, [0]); SetAtt(8, 0); SetExprAtt(9, [{**Unlimited**} -1]); SetExprAtt(10, [{**Use LineID and Direction. s or i = agent**} And( CompareText(TransportGenerator_GetLineID(c, ROWINDEX), TransportGenerator_GetLineID(c, Agent_GetTransportGeneratorRow(s))), TransportGenerator_GetDirection(c, ROWINDEX) = TransportGenerator_GetDirection(c, Agent_GetTransportGeneratorRow(s)), Or( Agent_GetLastVisitedDestination(s) = 0, {**Arriving agent, at platform already checked**} TransportGenerator_GetDepartureTime(c, ROWINDEX) >= Time + 10 {**At least 10 seconds before departure**} ) )]); SetExprAtt(11, [{**Leave at departure time without waiting for approaching agents**} 0]); SetAtt(12, 0); SetExprAtt(13, [4DS[Concat([Provider=Microsoft.ACE.OLEDB.12.0;Data Source=], ModDir([PD_Transport_Input.accdb]), [;Persist Security Info=False])]4DS]); SetTextAtt(14, [PD_TrainTimetable]); SetTextAtt(15, [PD_TransportTypes]); SetTextAtt(16, [PD_TransportSubTypes]); SetExprAtt(17, [0]); SetAtt(18, 1); SetAtt(19, 0); SetExprAtt(20, [0]); SetExprAtt(21, [0]); int042(0, 2); int023([TransportGenerator_1], 0, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(107); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(1, 15); int015(0, 64, [`Row` 1 ]); int015(1, 137, [`ID` `Train1` ]); int015(2, 63, [`LineID` `Line1` ]); int015(3, 61, [`ArrivalTime` 3600 ]); int015(4, 76, [`DepartureTime` 3660 ]); int015(5, 99, [`TransportType` 1 ]); int015(6, 124, [`Caption` `MyTrain` ]); int015(7, 120, [`NetworkID` 1 ]); int015(8, 120, [`StopLocation` 90 ]); int015(9, 52, [`EntrySide` 1 ]); int015(10, 46, [`ExitSide` 1 ]); int015(11, 51, [`Direction` 1 ]); int015(12, 108, [`Boarding Distribution` `dUniform(1, TransportElement_GetNrSubTypes(c))` ]); int015(13, 64, [`DeBoarding Distribution` `dUniform(1, TransportElement_GetNrSubTypes(c))` ]); int015(14, 64, [`DelayTime` 0 ]); int015(15, 64, [`Initial content` 0 ]); SetStatus(0); int018; Up; {Atom: lstTransportSubTypes} sets; AtomByName([lstTransportSubTypes], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstTransportSubTypes'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstTransportSubTypes], 1, false); SetAtt(1, 1); int023([lstTransportSubTypes], 0, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(108); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: TransportSubType_A} sets; AtomByName([TransportSubType], Main); if(not(AtomExists), Error([Cannot find mother atom 'TransportSubType'. Inheriting from BaseClass.])); CreateAtom(a, s, [TransportSubType_A], 1, false); SetAtt(1, 0); SetAtt(2, 0); SetAtt(3, 0); SetExprAtt(4, [ColorBlue]); SetExprAtt(5, [ColorOrange]); SetAtt(6, 0.5); SetAtt(7, 1); SetAtt(8, 50); int023([TransportSubType_A], 3394815, 12336); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(109); SetSize(10, 2, 2); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(4, 11); int015(0, 64, [0 1 2 3 4 ]); int015(1, 121, [`Door Position (%)` 25 75 25 75 ]); int015(2, 72, [`Door_Side` 1 1 2 2 ]); int015(3, 64, [`Door_Width` 1 1 1 1 ]); int015(4, 64, [`CapacityBoarding` 50 50 50 50 ]); int015(5, 64, [`CapacityDeBoarding` 50 50 50 50 ]); int015(6, 64, [`WA` ]); int015(7, 64, [`WALineNr` ]); int015(8, 64, [`XPOSWA` ]); int015(9, 64, [`YPOSWA` ]); int015(10, 64, [`MaxDepth` ]); int015(11, 64, [`Boarding` 0 0 0 0 ]); SetStatus(0); int018; Up; {Atom: lstTransportTypes} sets; AtomByName([lstTransportTypes], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstTransportTypes'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstTransportTypes], 1, false); SetAtt(1, 1); int023([lstTransportTypes], 0, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(110); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: TransportType_1} sets; AtomByName([TransportType], Main); if(not(AtomExists), Error([Cannot find mother atom 'TransportType'. Inheriting from BaseClass.])); CreateAtom(a, s, [TransportType_1], 1, false); SetAtt(1, 0); SetExprAtt(2, [4DS[Concat([Provider=Microsoft.ACE.OLEDB.12.0;Data Source=], ModDir([PD_Transport_Input.accdb]), [;Persist Security Info=False])]4DS]); SetTextAtt(3, [PD_TransportTypes]); SetAtt(4, 10); SetAtt(5, 1); int023([TransportType_1], 0, 4096); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(111); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(1, 2); int015(0, 64, [0 1 ]); int015(1, 161, [`SubType` 1 ]); int015(2, 149, [`Number` 2 ]); SetStatus(0); int018; Up; Up; {Atom: AgentInput} sets; AtomByName([AgentInput], Main); if(not(AtomExists), Error([Cannot find mother atom 'AgentInput'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [AgentInput], 1, false); SetAtt(1, 0); Set(Att(2), 0); Set(Att(3), 0); Set(Att(4), 0); Set(Att(5), 0); SetAtt(6, 5); SetAtt(7, 0.1); Set(Att(8), 0); SetExprAtt(9, [4DS[pDir([Settings\])]4DS]); int023([AgentInput], 0, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(4); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstGenerators} sets; AtomByName([lstGenerators], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstGenerators'. Inheriting from BaseClass.])); CreateAtom(a, s, [lstGenerators], 1, false); SetAtt(1, 1); int023([lstGenerators], 0, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(5); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: Default_Generator} sets; AtomByName([AgentGenerator], Main); if(not(AtomExists), Error([Cannot find mother atom 'AgentGenerator'. Inheriting from BaseClass.])); CreateAtom(a, s, [Default_Generator], 1, false); SetAtt(1, 1); SetAtt(2, 2002); SetAtt(3, 0); SetAtt(4, 0); SetExprAtt(5, [{**Unlimited**} 0]); SetAtt(6, 0); SetAtt(7, 0); SetAtt(8, 1); SetAtt(9, 100); SetAtt(10, 1); SetExprAtt(11, [0]); Set(Att(12), 0); SetAtt(13, 0); SetAtt(14, 0); SetAtt(15, 0); SetExprAtt(16, [0]); SetAtt(17, 100); SetAtt(18, 1); SetAtt(19, 0); int023([Default_Generator], 7168771, 0); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); SetChannels(1, 1); SetChannelRanges(1, 1, 1, 255); int001(6); SetSize(5, 2, 2); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(2, 7); int015(0, 64, [`Row` 2 1 ]); int015(1, 64, [`Creation time` 0 0 ]); int015(2, 64, [`Nr Agents` `40 ` `60 ` ]); int015(3, 64, [`Activity route` `1 {**Default_Route**}` `1 {**Default_Route**}` ]); int015(4, 64, [`Agent profile` `2 {**Femme**}` `1 {**Homme**}` ]); int015(5, 86, [`Creation trigger` `{**Do nothing**} 0` `{**Do nothing**} 0` ]); int015(6, 72, [`TransportID` 0 0 ]); int015(7, 95, [`TransportRow` 0 0 ]); SetStatus(0); int018; Up; {Atom: lstProfiles} sets; AtomByName([lstProfiles], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstProfiles'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstProfiles], 1, false); SetAtt(1, 2); int023([lstProfiles], 0, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(7); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: Homme} sets; AtomByName([AgentProfile], Main); if(not(AtomExists), Error([Cannot find mother atom 'AgentProfile'. Inheriting from BaseClass.])); CreateAtom(a, s, [Homme], 1, false); SetAtt(1, 1); SetExprAtt(2, [1.3 ]); SetExprAtt(3, [0.06]); SetExprAtt(4, [0.20]); SetExprAtt(5, [{**Fixed value**} 1]); SetExprAtt(6, [60]); SetExprAtt(7, [10 ]); SetExprAtt(8, [0]); SetExprAtt(9, [1]); SetExprAtt(10, [1]); SetExprAtt(11, [0.1]); SetExprAtt(12, [0]); SetExprAtt(13, [16711680]); SetExprAtt(14, [0]); SetExprAtt(15, [1]); SetExprAtt(16, [0.5]); SetAtt(17, 0); SetExprAtt(18, [0.1 ]); SetExprAtt(19, [180]); SetExprAtt(20, [8]); SetExprAtt(21, [60]); SetAtt(22, 1); SetAtt(23, 1); SetAtt(24, 0); SetExprAtt(25, [0]); SetExprAtt(26, [0]); SetExprAtt(27, [{**Right preference**} 0.1]); SetExprAtt(28, [0]); SetExprAtt(29, [0]); SetExprAtt(30, [1]); SetAtt(31, 0); SetExprAtt(32, [0.25]); SetTextAtt(33, []); int042(0, 0, 1); int023([Homme], 13158600, 0); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(8); SetSize(0.4, 0.4, 2); SetTranslation(-0.2, -0.2, 0); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: Femme} sets; AtomByName([AgentProfile], Main); if(not(AtomExists), Error([Cannot find mother atom 'AgentProfile'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Femme], 1, false); SetAtt(1, 2); SetExprAtt(2, [1.1 ]); SetExprAtt(3, [0.06]); SetExprAtt(4, [0.20]); SetExprAtt(5, [{**Fixed value**} 1]); SetExprAtt(6, [60]); SetExprAtt(7, [10 ]); SetExprAtt(8, [0]); SetExprAtt(9, [1]); SetExprAtt(10, [1]); SetExprAtt(11, [0.1]); SetExprAtt(12, [0 ]); SetExprAtt(13, [255]); SetExprAtt(14, [0]); SetExprAtt(15, [1]); SetExprAtt(16, [0.5]); SetAtt(17, 0); SetExprAtt(18, [0.1 ]); SetExprAtt(19, [180]); SetExprAtt(20, [8]); SetExprAtt(21, [60]); SetAtt(22, 1); SetAtt(23, 1); SetAtt(24, 0); SetExprAtt(25, [0]); SetExprAtt(26, [0]); SetExprAtt(27, [{**Right preference**} 0.1]); SetExprAtt(28, [0]); SetExprAtt(29, [0]); SetExprAtt(30, [1]); SetAtt(31, 0); SetExprAtt(32, [0.25]); SetTextAtt(33, []); int042(0, 0, 1); int023([Femme], 13158600, 0); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(123); SetSize(0.4, 0.4, 2); SetTranslation(-0.2, -0.2, 0); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; Up; {Atom: lstProxies} sets; AtomByName([lstProxies], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstProxies'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstProxies], 1, false); SetAtt(1, 0); int023([lstProxies], 0, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(9); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstActivityRoutes} sets; AtomByName([lstActivityRoutes], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstActivityRoutes'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstActivityRoutes], 1, false); SetAtt(1, 1); int023([lstActivityRoutes], 0, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(10); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: Default_Route} sets; AtomByName([AgentActivityRoute], Main); if(not(AtomExists), Error([Cannot find mother atom 'AgentActivityRoute'. Inheriting from BaseClass.])); CreateAtom(a, s, [Default_Route], 1, false); SetAtt(1, 1); int023([Default_Route], 0, 0); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(11); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(2, 2); int015(0, 0, [`` 1 2 ]); int015(1, 0, [1 1 2 ]); int015(2, 0, [2 0 0 ]); SetStatus(0); int018; Up; {Atom: lstAgentActivities} sets; AtomByName([lstAgentActivities], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstAgentActivities'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstAgentActivities], 1, false); SetAtt(1, 2); int023([lstAgentActivities], 0, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(12); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: Entry} sets; AtomByName([AgentActivity], Main); if(not(AtomExists), Error([Cannot find mother atom 'AgentActivity'. Inheriting from BaseClass.])); CreateAtom(a, s, [Entry], 1, false); SetAtt(1, 1); SetExprAtt(2, [ACTIVITYTYPE_ENTRY_EXIT]); SetTextAtt(3, [***ALL***]); SetExprAtt(4, [1]); SetExprAtt(5, [1]); SetExprAtt(6, [LOCATIONDISTRIBUTION_USERDEFINED]); SetAtt(7, 0); SetExprAtt(8, [4DS[{**Randomly assign exact number of agents based on remaining capacity**} do( var([valID], vbValue), var([valIndex], vbValue), var([atmElement], vbAtom), {**The actual number of agents assigned to a location is stored in the datacontainer AssignedAgents during the simulation. Here the correct size for this vector is determined.**} If( AgentActivity.AssignedAgents.Size(c) = 0, AgentActivity.AssignedAgents.Size(c) := nRows(c) ), valID := AgentActivity_DetermineLocationByWeight(i, c, TRUE, CellAsValue(Count, AGENTACTIVITY_COLUMN_PERCENTAGE, c) - AgentActivity.AssignedAgents.Value(c, Count - 1)), if( And( valID = 0, Sum(nRows(c), CellAsValue(Count, AGENTACTIVITY_COLUMN_PERCENTAGE, c) - AgentActivity.AssignedAgents.Value(c, Count - 1)) = 0 ), {**Clear capacity and re-start**} do( AgentActivity.AssignedAgents.Clear(c), AgentActivity.AssignedAgents.Size(c) := nRows(c), valID := AgentActivity_DetermineLocationByWeight(i, c, TRUE, CellAsValue(Count, AGENTACTIVITY_COLUMN_PERCENTAGE, c) - AgentActivity.AssignedAgents.Value(c, Count - 1)) ) ), if( valID > 0, {**Increment number assigned**} do( valIndex := AgentActivity_GetIndexByID(c, valID), AgentActivity.AssignedAgents.Value(c, valIndex - 1) := AgentActivity.AssignedAgents.Value(c, valIndex - 1) + 1 ) ), {**Return ID**} valID )]4DS]); SetAtt(9, 0); SetAtt(10, 0); SetExprAtt(11, [0]); SetExprAtt(12, [0]); SetExprAtt(13, [0]); int023([Entry], 0, 0); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(13); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(8, 3); int015(0, 0, [`` 1 2 3 4 5 6 7 8 ]); int015(1, 0, [`ActivityID` 13 14 15 16 18 8 9 10 ]); int015(2, 0, [`vtp` 0 0 0 0 0 0 0 0 ]); int015(3, 0, [0 22 3 25 3 22 25 0 0 ]); SetStatus(0); int018; {Atom: Exit} sets; AtomByName([AgentActivity], Main); if(not(AtomExists), Error([Cannot find mother atom 'AgentActivity'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Exit], 1, false); SetAtt(1, 2); SetExprAtt(2, [ACTIVITYTYPE_ENTRY_EXIT]); SetTextAtt(3, [***ALL***]); SetExprAtt(4, [1]); SetExprAtt(5, [1]); SetExprAtt(6, [LOCATIONDISTRIBUTION_LEASTEFFORT]); SetAtt(7, 0); SetExprAtt(8, [0]); SetAtt(9, 0); SetAtt(10, 0); SetExprAtt(11, [0]); SetExprAtt(12, [0]); SetExprAtt(13, [0]); int023([Exit], 0, 0); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(14); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(8, 3); int015(0, 0, [`` 1 2 3 4 5 6 7 8 ]); int015(1, 0, [`ActivityID` 13 14 15 16 18 8 9 10 ]); int015(2, 0, [`vtp` 0 0 0 0 0 0 0 0 ]); int015(3, 0, [0 -1 -1 -1 -1 -1 -1 50 50 ]); SetStatus(0); int018; Up; Up; {Atom: SlopeSpeed} sets; AtomByName([SlopeSpeed], Main); if(not(AtomExists), Error([Cannot find mother atom 'SlopeSpeed'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [SlopeSpeed], 1, false); int023([SlopeSpeed], 0, 528384); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(15); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(6, 3); int015(0, 64, [`ID` 1 2 3 4 5 6 ]); int015(1, 64, [`Slope (%)` 0 5 10 15 20 40 ]); int015(2, 98, [`% Speed up` 100 96.3 88.8 79.9 70.9 41 ]); int015(3, 102, [`% Speed down` 100 103 104.5 104.5 103 74.6 ]); SetStatus(0); int018; {Atom: Experiment_Wizard} sets; AtomByName([Experiment_Wizard], Main); if(not(AtomExists), Error([Cannot find mother atom 'Experiment_Wizard'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Experiment_Wizard], 1, false); SetAtt(1, 1); SetAtt(2, 2); SetAtt(3, 1); SetExprAtt(4, [mins(15)]); SetExprAtt(5, [0]); SetExprAtt(6, [0]); SetExprAtt(7, [4DS[ModDir([PD_Results\])]4DS]); SetAtt(8, 0); SetAtt(9, 1); SetAtt(10, 1); SetAtt(11, 1); SetAtt(12, 0); SetAtt(13, 1); SetAtt(14, 1); SetAtt(15, 1); SetExprAtt(16, [4DS[[]]4DS]); int023([Experiment_Wizard], 0, 525480); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); Set(DdbRec, [>scenariorow:1.>mode:2.]); SetChannels(1, 0); SetChannelRanges(0, 1, 0, 0); int001(16); int013(1, 0, true, true, 5, 0, [Optional connection to Central Channel of 70 MB Experiment Atom], []); SetSize(11, 2, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(1, 9); int015(0, 64, [`Seed_Value` 8613 ]); int015(1, 95, [`Scen nr` `Experiment1` ]); int015(2, 93, [`pad` `D:\My Documents\Pedestrian Dynamics\3.1\Models\Support\Community\` ]); int015(3, 75, [`Omschrijving` `--- describe new scenario ---` ]); int015(4, 90, [`NumReps` 5 ]); int015(5, 79, [`Runlengte` `mins(7)` ]); int015(6, 64, [`StartCode` 0 ]); int015(7, 64, [4DS[`EndCode` `{do(~& var([k],vbvalue),~& FileOpen([C:\Users\briantre\Desktop\CSTB\AS6\compteur.txt]),~& k:=FileNumRead,~& k:=k+1,~& FileClear,~& FileNumWrite(k),~& FileClose)}` ]4DS]); int015(8, 64, [`Execute` 1 ]); int015(9, 64, [`StartRep` 23600 ]); SetStatus(0); int018; {Atom: EW_ModelParameters} sets; AtomByName([EW_ModelParameters], Main); if(not(AtomExists), Error([Cannot find mother atom 'EW_ModelParameters'. Inheriting from BaseClass.])); CreateAtom(a, s, [EW_ModelParameters], 1, false); int023([EW_ModelParameters], 0, 3080); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(17); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: EW_Experiment} sets; AtomByName([EW_Experiment], Main); if(not(AtomExists), Error([Cannot find mother atom 'EW_Experiment'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [EW_Experiment], 1, false); SetExprAtt(1, [mins(7)]); SetAtt(2, 5); SetAtt(3, 23604); SetTextAtt(4, [D:\My Documents\Pedestrian Dynamics\3.1\Models\Support\Community\Experiment1\]); SetAtt(5, 0); SetExprAtt(6, [0]); SetExprAtt(7, [4DS[{do( var([k],vbvalue), FileOpen([C:\Users\briantre\Desktop\CSTB\AS6\compteur.txt]), k:=FileNumRead, k:=k+1, FileClear, FileNumWrite(k), FileClose)}]4DS]); SetAtt(8, 23599); SetTextAtt(9, []); SetAtt(10, 3741506738.355); SetAtt(11, 0); SetAtt(12, 0); int023([EW_Experiment], 15, 527592); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); SetChannelRanges(0, 0, 0, 1); int001(18); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; Up; {Atom: UserEvents} sets; AtomByName([UserEvents], Main); if(not(AtomExists), Error([Cannot find mother atom 'UserEvents'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [UserEvents], 1, false); SetExprAtt(1, [GENERATORTYPE_NOREPEAT]); SetAtt(2, 0); SetAtt(3, 0); SetAtt(4, 0); SetAtt(5, 1); int023([UserEvents], 0, 525514); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(19); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstTempAgents} sets; AtomByName([List], Main); if(not(AtomExists), Error([Cannot find mother atom 'List'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstTempAgents], 1, false); int023([lstTempAgents], 0, 1024); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(20); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: CameraPositions} sets; AtomByName([CameraPositions], Main); if(not(AtomExists), Error([Cannot find mother atom 'CameraPositions'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [CameraPositions], 1, false); SetAtt(1, 1); SetAtt(2, 1); SetAtt(3, 0); Set(Att(4), 0); Set(Att(5), 0); SetExprAtt(6, [CameraPositions_AddCameraPositionsToComboBox(MAINMENUFORM)]); int023([CameraPositions], 0, 525514); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(21); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(1, 15); int015(0, 64, [`ID` 1 ]); int015(1, 64, [`Show` ]); int015(2, 0, [`Name` ]); int015(3, 0, [`2D3D` ]); int015(4, 0, [`Visible Height layers` ]); int015(5, 0, [`Window Width` ]); int015(6, 0, [`Window Heigth` ]); int015(7, 0, [`Window Xloc` ]); int015(8, 0, [`Window Yloc` ]); int015(9, 0, [`Scale` ]); int015(10, 0, [`ViewX` ]); int015(11, 0, [`ViewY` ]); int015(12, 0, [`ViewZ` ]); int015(13, 0, [`Roll` ]); int015(14, 0, [`Pitch` ]); int015(15, 0, [`Yaw` ]); SetStatus(0); int018; {Atom: 2D_CameraPositions} sets; AtomByName([2D_CameraPositions], Main); if(not(AtomExists), Error([Cannot find mother atom '2D_CameraPositions'. Inheriting from BaseClass.])); CreateAtom(a, s, [2D_CameraPositions], 1, false); int023([2D_CameraPositions], 0, 525514); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(22); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(1, 15); int015(0, 64, [`ID` 1 ]); int015(1, 64, [`Show` ]); int015(2, 0, [`Name` ]); int015(3, 0, [`2D3D` ]); int015(4, 0, [`Visible Height layers` ]); int015(5, 0, [`Window Width` ]); int015(6, 0, [`Window Heigth` ]); int015(7, 0, [`Window Xloc` ]); int015(8, 0, [`Window Yloc` ]); int015(9, 0, [`Scale` ]); int015(10, 0, [`ViewX` ]); int015(11, 0, [`ViewY` ]); int015(12, 0, [`ViewZ` ]); int015(13, 0, [`Roll` ]); int015(14, 0, [`Pitch` ]); int015(15, 0, [`Yaw` ]); SetStatus(0); int018; {Atom: 3D_CameraPositions} sets; AtomByName([3D_CameraPositions], Main); if(not(AtomExists), Error([Cannot find mother atom '3D_CameraPositions'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [3D_CameraPositions], 1, false); int023([3D_CameraPositions], 0, 525514); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(23); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(1, 15); int015(0, 64, [`ID` 1 ]); int015(1, 64, [`Show` ]); int015(2, 0, [`Name` ]); int015(3, 0, [`2D3D` ]); int015(4, 0, [`Visible Height layers` ]); int015(5, 0, [`Window Width` ]); int015(6, 0, [`Window Heigth` ]); int015(7, 0, [`Window Xloc` ]); int015(8, 0, [`Window Yloc` ]); int015(9, 0, [`Scale` ]); int015(10, 0, [`ViewX` ]); int015(11, 0, [`ViewY` ]); int015(12, 0, [`ViewZ` ]); int015(13, 0, [`Roll` ]); int015(14, 0, [`Pitch` ]); int015(15, 0, [`Yaw` ]); SetStatus(0); int018; Up; Up; {Atom: PD_Environment_DisplayAtom} sets; AtomByName([DisplayAtom], Main); if(not(AtomExists), Error([Cannot find mother atom 'DisplayAtom'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [PD_Environment_DisplayAtom], 1, false); int023([PD_Environment_DisplayAtom], 0, 1065984); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Tools.ico])); Layer(LayerByName([DoNotDraw])); int001(24); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: PD_Environment} sets; AtomByName([PD_Environment], Main); if(not(AtomExists), Error([Cannot find mother atom 'PD_Environment'. Inheriting from BaseClass.])); CreateAtom(a, s, [PD_Environment], 1, false); SetAtt(1, -11); SetAtt(2, -10); SetAtt(3, 35); SetAtt(4, 30); SetAtt(5, 0); SetAtt(6, 1); SetAtt(7, 18); SetExprAtt(8, [ColorSkyBlue]); SetExprAtt(9, [ColorWhite]); SetAtt(10, 0.01); SetAtt(11, 1); SetTextAtt(12, [0]); SetAtt(13, 0); SetAtt(14, 0); SetAtt(15, 0); SetAtt(16, 18); SetAtt(17, 0.1); SetExprAtt(18, [ECMINFORMATIONTYPE_MEDIALAXIS]); SetAtt(19, 1); SetAtt(20, 1); int023([PD_Environment], 0, 551984); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([PD_Environment])); int001(25); SetSize(46, 40, 0); SetTranslation(-11, -10, 0); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(2, 4); int015(0, 64, [0 1 2 ]); int015(1, 64, [`Layer` 1 2 ]); int015(2, 64, [`Rank` 1 2 ]); int015(3, 64, [`Ref` 633431712 633335328 ]); int015(4, 0, [4 ]); int037(4); int038(0, -1, 0, 0); int038(1, 25, 0, 0); int038(2, 25, 20, 0); int038(3, -1, 20, 0); int039; SetStatus(0); int018; {Atom: HeightLayer_1} sets; AtomByName([HeightLayer], Main); if(not(AtomExists), Error([Cannot find mother atom 'HeightLayer'. Inheriting from BaseClass.])); CreateAtom(a, s, [HeightLayer_1], 1, false); SetAtt(1, 2); SetAtt(2, 12); SetAtt(3, 10); SetAtt(4, 12); SetAtt(5, 10); SetAtt(6, 12); SetAtt(7, 10); SetAtt(8, 2.5); SetAtt(9, 15.8192920195564); Set(Att(10), 0); Set(Att(11), 0); Set(Att(12), 0); Set(Att(13), 0); SetAtt(14, 0); Set(Att(15), 0); Set(Att(16), 0); Set(Att(17), 0); SetAtt(18, 1); SetExprAtt(19, [PRIMITIVETYPE_RECTANGLE]); SetAtt(20, 7); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 3); SetAtt(24, 0); SetAtt(25, 0); SetAtt(26, 1); SetAtt(27, 0); SetAtt(28, 0); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 2); SetAtt(32, 3); SetAtt(33, 1); SetAtt(34, 1); SetAtt(35, 0); SetAtt(36, 0); SetAtt(37, 8421504); SetAtt(38, 0); SetAtt(39, 0); SetAtt(40, 0); SetAtt(41, 0); SetAtt(42, 0); SetAtt(43, 0); SetAtt(44, 0); SetAtt(45, 7); SetExprAtt(46, [0]); SetExprAtt(47, [0]); SetAtt(48, 0); SetAtt(49, 0); SetAtt(50, 0); SetAtt(51, 3); Set(Att(52), 0); Set(Att(53), 0); SetAtt(54, 2.5); SetAtt(55, 0); SetExprAtt(56, [0]); int023([HeightLayer_1], 8421504, 533552); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([HeightLayers])); SetChannelRanges(0, 0, 0, 999); int001(26); SetSize(24, 20, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 20, 0); int038(1, 24, 20, 0); int038(2, 24, 0, 0); int038(3, 0, 0, 0); int039; Set(Points_PrimitiveType(a), 2); SetStatus(0); int018; {Atom: lstWalkableAreas} sets; AtomByName([lstWalkableAreas], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstWalkableAreas'. Inheriting from BaseClass.])); CreateAtom(a, s, [lstWalkableAreas], 1, false); int041(0, 1, [0 ]); int023([lstWalkableAreas], 0, 527360); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([PD_Environment])); int001(27); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: WalkableArea_1} sets; AtomByName([WalkableArea], Main); if(not(AtomExists), Error([Cannot find mother atom 'WalkableArea'. Inheriting from BaseClass.])); CreateAtom(a, s, [WalkableArea_1], 1, false); SetAtt(1, 2); SetAtt(2, 7); SetAtt(3, 0); SetAtt(4, 0); SetAtt(5, 31); SetAtt(6, 0); SetAtt(7, 0); SetAtt(8, 7); SetAtt(9, 1); SetAtt(10, 1); SetAtt(11, 0); SetAtt(12, 0); SetAtt(13, 0); SetAtt(14, 3); SetExprAtt(15, [Color(c)]); SetAtt(16, 3); SetAtt(17, 0); SetExprAtt(18, [ColorBlack]); SetAtt(19, 0); SetAtt(20, 3.36340601176843); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 0); SetAtt(24, 0); SetAtt(25, 3); SetExprAtt(26, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(27, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_UP)]); SetExprAtt(28, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_DOWN)]); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 3); SetAtt(32, -1); SetAtt(33, -1); SetAtt(34, 0); SetAtt(35, 0); SetAtt(36, 0); SetAtt(37, 0); int020(1, false, false, true); int020(2, false, false, true); int020(3, false, false, true); int020(4, false, false, true); int020(6, false, false, true); int020(7, false, false, true); int020(8, false, false, true); int020(9, false, false, true); int020(10, false, false, true); int020(11, false, false, true); int020(12, false, false, true); int020(13, false, false, true); int020(14, false, false, true); int020(15, false, false, true); int020(16, false, false, true); int020(17, false, false, true); int020(18, false, false, true); int020(19, false, false, true); int020(20, false, false, true); int020(21, false, false, true); int020(23, false, false, true); int020(37, false, false, true); int023([WalkableArea_1], 16777215, 8240); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([WalkableAreas])); SetChannelRanges(0, 999, 0, 999); int001(28); SetLoc(2.25, 17.5, 0); SetSize(4.5, 5, 0); SetTranslation(-2.25, -2.5, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 5, 0); int038(1, 4.5, 5, 0); int038(2, 4.5, 0, 0); int038(3, 0, 0, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(0); int018; {Atom: Copy of WalkableArea_1} sets; AtomByName([WalkableArea], Main); if(not(AtomExists), Error([Cannot find mother atom 'WalkableArea'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Copy of WalkableArea_1], 1, false); SetAtt(1, 2); SetAtt(2, 7); SetAtt(3, 0); SetAtt(4, 0); SetAtt(5, 31); SetAtt(6, 0); SetAtt(7, 0); SetAtt(8, 7); SetAtt(9, 1); SetAtt(10, 1); SetAtt(11, 0); SetAtt(12, 0); SetAtt(13, 0); SetAtt(14, 3); SetExprAtt(15, [Color(c)]); SetAtt(16, 3); SetAtt(17, 0); SetExprAtt(18, [ColorBlack]); SetAtt(19, 0); SetAtt(20, 3.36340601176843); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 0); SetAtt(24, 0); SetAtt(25, 3); SetExprAtt(26, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(27, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_UP)]); SetExprAtt(28, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_DOWN)]); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 3); SetAtt(32, -1); SetAtt(33, -1); SetAtt(34, 0); SetAtt(35, 0); SetAtt(36, 0); SetAtt(37, 0); int020(1, false, false, true); int020(2, false, false, true); int020(3, false, false, true); int020(4, false, false, true); int020(6, false, false, true); int020(7, false, false, true); int020(8, false, false, true); int020(9, false, false, true); int020(10, false, false, true); int020(11, false, false, true); int020(12, false, false, true); int020(13, false, false, true); int020(14, false, false, true); int020(15, false, false, true); int020(16, false, false, true); int020(17, false, false, true); int020(18, false, false, true); int020(19, false, false, true); int020(20, false, false, true); int020(21, false, false, true); int020(23, false, false, true); int020(37, false, false, true); int023([Copy of WalkableArea_1], 16777215, 8240); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([WalkableAreas])); SetChannelRanges(0, 999, 0, 999); int001(30); SetLoc(21.75, 17.5, 0); SetSize(4.5, 5, 0); SetTranslation(-2.25, -2.5, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 5, 0); int038(1, 4.5, 5, 0); int038(2, 4.5, 0, 0); int038(3, 0, 0, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(0); int018; {Atom: Copy of WalkableArea_2} sets; AtomByName([WalkableArea], Main); if(not(AtomExists), Error([Cannot find mother atom 'WalkableArea'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Copy of WalkableArea_2], 1, false); SetAtt(1, 2); SetAtt(2, 7); SetAtt(3, 0); SetAtt(4, 0); SetAtt(5, 31); SetAtt(6, 0); SetAtt(7, 0); SetAtt(8, 7); SetAtt(9, 1); SetAtt(10, 1); SetAtt(11, 0); SetAtt(12, 0); SetAtt(13, 0); SetAtt(14, 3); SetAtt(15, 16777215); SetAtt(16, 3); SetAtt(17, 0); SetAtt(18, 0); SetAtt(19, 0); SetAtt(20, 2.51246890528022); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 0); SetAtt(24, 0); SetAtt(25, 3); SetExprAtt(26, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(27, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_UP)]); SetExprAtt(28, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_DOWN)]); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 3); SetAtt(32, -1); SetAtt(33, -1); SetAtt(34, 0); SetAtt(35, 0); SetAtt(36, 0); SetAtt(37, 0); int020(1, false, false, true); int020(2, false, false, true); int020(3, false, false, true); int020(4, false, false, true); int020(6, false, false, true); int020(7, false, false, true); int020(8, false, false, true); int020(9, false, false, true); int020(10, false, false, true); int020(11, false, false, true); int020(12, false, false, true); int020(13, false, false, true); int020(14, false, false, true); int020(15, false, false, true); int020(16, false, false, true); int020(17, false, false, true); int020(18, false, false, true); int020(19, false, false, true); int020(20, false, false, true); int020(21, false, false, true); int020(23, false, false, true); int020(37, false, false, true); int023([Copy of WalkableArea_2], 16777215, 8240); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([WalkableAreas])); SetChannelRanges(0, 999, 0, 999); int001(31); SetLoc(17, 17.5, 0); SetSize(5, 0.5, 0); SetTranslation(-2.5, -0.25, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 0.5, 0); int038(1, 5, 0.5, 0); int038(2, 5, 0, 0); int038(3, 0, 0, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(0); int018; {Atom: WalkableArea_5} sets; AtomByName([WalkableArea], Main); if(not(AtomExists), Error([Cannot find mother atom 'WalkableArea'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [WalkableArea_5], 1, false); SetAtt(1, 2); SetAtt(2, 7); SetAtt(3, 0); SetAtt(4, 0); SetAtt(5, 31); SetAtt(6, 0); SetAtt(7, 0); SetAtt(8, 7); SetAtt(9, 1); SetAtt(10, 1); SetAtt(11, 0); SetAtt(12, 0); SetAtt(13, 0); SetAtt(14, 3); SetExprAtt(15, [Color(c)]); SetAtt(16, 3); SetAtt(17, 0); SetExprAtt(18, [ColorBlack]); SetAtt(19, 0); SetAtt(20, 3.53553390593274); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 0); SetAtt(24, 0); SetAtt(25, 3); SetExprAtt(26, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(27, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_UP)]); SetExprAtt(28, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_DOWN)]); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 3); SetAtt(32, -1); SetAtt(33, -1); SetAtt(34, 0); SetAtt(35, 0); SetAtt(36, 0); SetAtt(37, 0); int020(1, false, false, true); int020(2, false, false, true); int020(3, false, false, true); int020(4, false, false, true); int020(6, false, false, true); int020(7, false, false, true); int020(8, false, false, true); int020(9, false, false, true); int020(10, false, false, true); int020(11, false, false, true); int020(12, false, false, true); int020(13, false, false, true); int020(14, false, false, true); int020(15, false, false, true); int020(16, false, false, true); int020(17, false, false, true); int020(18, false, false, true); int020(19, false, false, true); int020(20, false, false, true); int020(21, false, false, true); int020(23, false, false, true); int020(37, false, false, true); int023([WalkableArea_5], 16777215, 8240); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([WalkableAreas])); SetChannelRanges(0, 999, 0, 999); int001(32); SetLoc(12, 17.5, 0); SetSize(5, 5, 0); SetTranslation(-2.5, -2.5, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 5, 0); int038(1, 5, 5, 0); int038(2, 5, 0, 0); int038(3, 0, 0, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(0); int018; {Atom: Stairs_1} sets; AtomByName([Stairs], Main); if(not(AtomExists), Error([Cannot find mother atom 'Stairs'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Stairs_1], 1, false); SetAtt(1, 2); SetAtt(2, 7); SetAtt(3, 6); SetAtt(4, 1); SetAtt(5, 50); SetAtt(6, 50); SetAtt(7, 3); SetAtt(8, 3); SetAtt(9, 0.2651); SetExprAtt(10, [{**Fixed value**} 50]); SetExprAtt(11, [{**Default**} Cell(3, DENSITYFORMULA_COLUMN_MAXSPEED, atmSimControl) / Cell(1, DENSITYFORMULA_COLUMN_MAXSPEED, atmSimControl) * 100]); SetAtt(12, 0); SetAtt(13, 1); SetAtt(14, 3); SetAtt(15, 0.1); SetAtt(16, 0.9); SetAtt(17, 1); SetAtt(18, 50); SetAtt(19, 0); SetAtt(20, 3); SetAtt(21, 3); SetAtt(22, 10789024); SetAtt(23, 0); SetAtt(24, 0); SetAtt(25, 19); Set(Att(26), 0); Set(Att(27), 0); SetAtt(28, 3.70177322374021); SetAtt(29, 5.25); SetAtt(30, 1); SetAtt(31, 0); SetAtt(32, 0); SetAtt(33, 1); SetAtt(34, 0); SetAtt(35, 0); SetAtt(36, 1); SetAtt(37, 2); SetAtt(38, 0); SetAtt(39, 0.01); SetAtt(40, 0.01); SetAtt(41, 4); SetAtt(42, 2); SetAtt(43, 5); SetAtt(44, 95.2380952380952); SetAtt(45, 0); SetAtt(46, 1); SetAtt(47, 0.263157894736842); SetAtt(48, 0); SetAtt(49, 1); SetExprAtt(50, [0]); int020(1, false, false, true); int020(2, false, false, true); int020(3, false, false, true); int020(4, false, false, true); int020(5, false, false, true); int020(6, false, false, true); int020(7, false, false, true); int020(9, false, false, true); int020(13, false, false, true); int020(14, false, false, true); int020(15, false, false, true); int020(16, false, false, true); int020(17, false, false, true); int020(18, false, false, true); int020(19, false, false, true); int020(20, false, false, true); int020(21, false, false, true); int020(22, false, false, true); int020(23, false, false, true); int020(24, false, false, true); int020(25, false, false, true); int020(29, false, false, true); int020(30, false, false, true); int020(31, false, false, true); int020(32, false, false, true); int020(33, false, false, true); int020(41, false, false, true); int020(43, false, false, true); int041(0, 1, [50 ]); int023([Stairs_1], 16777215, 536624); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); AddTexture( RegisterTexture(TexturesDir([bld-wood_cedar.png]), [bld-wood_cedar.png], 256, 256, 255, 255, 0, 0, 0, 0), a); Set(Version(a), 0); Layer(LayerByName([Infrastructure])); SetChannels(2, 0); SetChannelRanges(0, 999, 0, 999); int001(33); int013(1, 0, true, true, 0, 0, [], []); int013(2, 0, true, true, 0, 0, [], []); SetLoc(11, 12.375, 0); SetSize(5.25, 1.5, 5); SetTranslation(-2.625, -0.75, 0); Set(RotationAs, 270); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 0, 0); int038(1, 5.25, 0, 5); int038(2, 5.25, 1.5, 5); int038(3, 0, 1.5, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(0); int018; {Atom: Stairs_Steps} sets; AtomByName([Stairs_Steps], Main); if(not(AtomExists), Error([Cannot find mother atom 'Stairs_Steps'. Inheriting from BaseClass.])); CreateAtom(a, s, [Stairs_Steps], 1, false); int023([Stairs_Steps], 16777215, 0); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(34); SetLoc(-2.625, -0.75, 0.001); LockPosition(true); LockSize(true); DisableIconRotation(false); int037(76); int038(0, 0, 1.5, 0.263157894736842); int038(1, 0, 0, 0.263157894736842); int038(2, 0.276315789473684, 0, 0.263157894736842); int038(3, 0.276315789473684, 1.5, 0.263157894736842); int038(4, 0.276315789473684, 1.5, 0.526315789473684); int038(5, 0.276315789473684, 0, 0.526315789473684); int038(6, 0.552631578947368, 0, 0.526315789473684); int038(7, 0.552631578947368, 1.5, 0.526315789473684); int038(8, 0.552631578947368, 1.5, 0.789473684210526); int038(9, 0.552631578947368, 0, 0.789473684210526); int038(10, 0.828947368421053, 0, 0.789473684210526); int038(11, 0.828947368421053, 1.5, 0.789473684210526); int038(12, 0.828947368421053, 1.5, 1.05263157894737); int038(13, 0.828947368421053, 0, 1.05263157894737); int038(14, 1.10526315789474, 0, 1.05263157894737); int038(15, 1.10526315789474, 1.5, 1.05263157894737); int038(16, 1.10526315789474, 1.5, 1.31578947368421); int038(17, 1.10526315789474, 0, 1.31578947368421); int038(18, 1.38157894736842, 0, 1.31578947368421); int038(19, 1.38157894736842, 1.5, 1.31578947368421); int038(20, 1.38157894736842, 1.5, 1.57894736842105); int038(21, 1.38157894736842, 0, 1.57894736842105); int038(22, 1.6578947368421, 0, 1.57894736842105); int038(23, 1.6578947368421, 1.5, 1.57894736842105); int038(24, 1.6578947368421, 1.5, 1.84210526315789); int038(25, 1.6578947368421, 0, 1.84210526315789); int038(26, 1.93421052631579, 0, 1.84210526315789); int038(27, 1.93421052631579, 1.5, 1.84210526315789); int038(28, 1.93421052631579, 1.5, 2.10526315789474); int038(29, 1.93421052631579, 0, 2.10526315789474); int038(30, 2.21052631578947, 0, 2.10526315789474); int038(31, 2.21052631578947, 1.5, 2.10526315789474); int038(32, 2.21052631578947, 1.5, 2.36842105263158); int038(33, 2.21052631578947, 0, 2.36842105263158); int038(34, 2.48684210526316, 0, 2.36842105263158); int038(35, 2.48684210526316, 1.5, 2.36842105263158); int038(36, 2.48684210526316, 1.5, 2.63157894736842); int038(37, 2.48684210526316, 0, 2.63157894736842); int038(38, 2.76315789473684, 0, 2.63157894736842); int038(39, 2.76315789473684, 1.5, 2.63157894736842); int038(40, 2.76315789473684, 1.5, 2.89473684210526); int038(41, 2.76315789473684, 0, 2.89473684210526); int038(42, 3.03947368421053, 0, 2.89473684210526); int038(43, 3.03947368421053, 1.5, 2.89473684210526); int038(44, 3.03947368421053, 1.5, 3.15789473684211); int038(45, 3.03947368421053, 0, 3.15789473684211); int038(46, 3.31578947368421, 0, 3.15789473684211); int038(47, 3.31578947368421, 1.5, 3.15789473684211); int038(48, 3.31578947368421, 1.5, 3.42105263157895); int038(49, 3.31578947368421, 0, 3.42105263157895); int038(50, 3.59210526315789, 0, 3.42105263157895); int038(51, 3.59210526315789, 1.5, 3.42105263157895); int038(52, 3.59210526315789, 1.5, 3.68421052631579); int038(53, 3.59210526315789, 0, 3.68421052631579); int038(54, 3.86842105263158, 0, 3.68421052631579); int038(55, 3.86842105263158, 1.5, 3.68421052631579); int038(56, 3.86842105263158, 1.5, 3.94736842105263); int038(57, 3.86842105263158, 0, 3.94736842105263); int038(58, 4.14473684210526, 0, 3.94736842105263); int038(59, 4.14473684210526, 1.5, 3.94736842105263); int038(60, 4.14473684210526, 1.5, 4.21052631578947); int038(61, 4.14473684210526, 0, 4.21052631578947); int038(62, 4.42105263157895, 0, 4.21052631578947); int038(63, 4.42105263157895, 1.5, 4.21052631578947); int038(64, 4.42105263157895, 1.5, 4.47368421052632); int038(65, 4.42105263157895, 0, 4.47368421052632); int038(66, 4.69736842105263, 0, 4.47368421052632); int038(67, 4.69736842105263, 1.5, 4.47368421052632); int038(68, 4.69736842105263, 1.5, 4.73684210526316); int038(69, 4.69736842105263, 0, 4.73684210526316); int038(70, 4.97368421052632, 0, 4.73684210526316); int038(71, 4.97368421052632, 1.5, 4.73684210526316); int038(72, 4.97368421052632, 1.5, 5); int038(73, 4.97368421052632, 0, 5); int038(74, 5.25, 0, 5); int038(75, 5.25, 1.5, 5); int039; SetStatus(0); int018; {Atom: Stairs_Risers} sets; AtomByName([Stairs_Risers], Main); if(not(AtomExists), Error([Cannot find mother atom 'Stairs_Risers'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Stairs_Risers], 1, false); int023([Stairs_Risers], 8421504, 0); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(35); SetLoc(-2.625, -0.75, 0.001); LockPosition(true); LockSize(true); DisableIconRotation(false); int037(76); int038(0, 0, 0, 0.263157894736842); int038(1, 0, 0, 0); int038(2, 0, 1.5, 0); int038(3, 0, 1.5, 0.263157894736842); int038(4, 0.276315789473684, 0, 0.526315789473684); int038(5, 0.276315789473684, 0, 0.263157894736842); int038(6, 0.276315789473684, 1.5, 0.263157894736842); int038(7, 0.276315789473684, 1.5, 0.526315789473684); int038(8, 0.552631578947368, 0, 0.789473684210526); int038(9, 0.552631578947368, 0, 0.526315789473684); int038(10, 0.552631578947368, 1.5, 0.526315789473684); int038(11, 0.552631578947368, 1.5, 0.789473684210526); int038(12, 0.828947368421053, 0, 1.05263157894737); int038(13, 0.828947368421053, 0, 0.789473684210526); int038(14, 0.828947368421053, 1.5, 0.789473684210526); int038(15, 0.828947368421053, 1.5, 1.05263157894737); int038(16, 1.10526315789474, 0, 1.31578947368421); int038(17, 1.10526315789474, 0, 1.05263157894737); int038(18, 1.10526315789474, 1.5, 1.05263157894737); int038(19, 1.10526315789474, 1.5, 1.31578947368421); int038(20, 1.38157894736842, 0, 1.57894736842105); int038(21, 1.38157894736842, 0, 1.31578947368421); int038(22, 1.38157894736842, 1.5, 1.31578947368421); int038(23, 1.38157894736842, 1.5, 1.57894736842105); int038(24, 1.6578947368421, 0, 1.84210526315789); int038(25, 1.6578947368421, 0, 1.57894736842105); int038(26, 1.6578947368421, 1.5, 1.57894736842105); int038(27, 1.6578947368421, 1.5, 1.84210526315789); int038(28, 1.93421052631579, 0, 2.10526315789474); int038(29, 1.93421052631579, 0, 1.84210526315789); int038(30, 1.93421052631579, 1.5, 1.84210526315789); int038(31, 1.93421052631579, 1.5, 2.10526315789474); int038(32, 2.21052631578947, 0, 2.36842105263158); int038(33, 2.21052631578947, 0, 2.10526315789474); int038(34, 2.21052631578947, 1.5, 2.10526315789474); int038(35, 2.21052631578947, 1.5, 2.36842105263158); int038(36, 2.48684210526316, 0, 2.63157894736842); int038(37, 2.48684210526316, 0, 2.36842105263158); int038(38, 2.48684210526316, 1.5, 2.36842105263158); int038(39, 2.48684210526316, 1.5, 2.63157894736842); int038(40, 2.76315789473684, 0, 2.89473684210526); int038(41, 2.76315789473684, 0, 2.63157894736842); int038(42, 2.76315789473684, 1.5, 2.63157894736842); int038(43, 2.76315789473684, 1.5, 2.89473684210526); int038(44, 3.03947368421053, 0, 3.15789473684211); int038(45, 3.03947368421053, 0, 2.89473684210526); int038(46, 3.03947368421053, 1.5, 2.89473684210526); int038(47, 3.03947368421053, 1.5, 3.15789473684211); int038(48, 3.31578947368421, 0, 3.42105263157895); int038(49, 3.31578947368421, 0, 3.15789473684211); int038(50, 3.31578947368421, 1.5, 3.15789473684211); int038(51, 3.31578947368421, 1.5, 3.42105263157895); int038(52, 3.59210526315789, 0, 3.68421052631579); int038(53, 3.59210526315789, 0, 3.42105263157895); int038(54, 3.59210526315789, 1.5, 3.42105263157895); int038(55, 3.59210526315789, 1.5, 3.68421052631579); int038(56, 3.86842105263158, 0, 3.94736842105263); int038(57, 3.86842105263158, 0, 3.68421052631579); int038(58, 3.86842105263158, 1.5, 3.68421052631579); int038(59, 3.86842105263158, 1.5, 3.94736842105263); int038(60, 4.14473684210526, 0, 4.21052631578947); int038(61, 4.14473684210526, 0, 3.94736842105263); int038(62, 4.14473684210526, 1.5, 3.94736842105263); int038(63, 4.14473684210526, 1.5, 4.21052631578947); int038(64, 4.42105263157895, 0, 4.47368421052632); int038(65, 4.42105263157895, 0, 4.21052631578947); int038(66, 4.42105263157895, 1.5, 4.21052631578947); int038(67, 4.42105263157895, 1.5, 4.47368421052632); int038(68, 4.69736842105263, 0, 4.73684210526316); int038(69, 4.69736842105263, 0, 4.47368421052632); int038(70, 4.69736842105263, 1.5, 4.47368421052632); int038(71, 4.69736842105263, 1.5, 4.73684210526316); int038(72, 4.97368421052632, 0, 5); int038(73, 4.97368421052632, 0, 4.73684210526316); int038(74, 4.97368421052632, 1.5, 4.73684210526316); int038(75, 4.97368421052632, 1.5, 5); int039; SetStatus(0); int018; {Atom: Stairs_Railing} sets; AtomByName([Stairs_Railing], Main); if(not(AtomExists), Error([Cannot find mother atom 'Stairs_Railing'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Stairs_Railing], 1, false); int023([Stairs_Railing], 8421504, 0); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(36); SetLoc(-2.625, -0.75, 0.001); LockPosition(true); LockSize(true); DisableIconRotation(false); int037(76); int038(0, 0.138157894736842, 0.05, 0.263157894736842); int038(1, 0.138157894736842, 0.05, 1.16315789473684); int038(2, 0.138157894736842, 1.45, 0.263157894736842); int038(3, 0.138157894736842, 1.45, 1.16315789473684); int038(4, 0.414473684210526, 0.05, 0.526315789473684); int038(5, 0.414473684210526, 0.05, 1.42631578947368); int038(6, 0.414473684210526, 1.45, 0.526315789473684); int038(7, 0.414473684210526, 1.45, 1.42631578947368); int038(8, 0.690789473684211, 0.05, 0.789473684210526); int038(9, 0.690789473684211, 0.05, 1.68947368421053); int038(10, 0.690789473684211, 1.45, 0.789473684210526); int038(11, 0.690789473684211, 1.45, 1.68947368421053); int038(12, 0.967105263157895, 0.05, 1.05263157894737); int038(13, 0.967105263157895, 0.05, 1.95263157894737); int038(14, 0.967105263157895, 1.45, 1.05263157894737); int038(15, 0.967105263157895, 1.45, 1.95263157894737); int038(16, 1.24342105263158, 0.05, 1.31578947368421); int038(17, 1.24342105263158, 0.05, 2.21578947368421); int038(18, 1.24342105263158, 1.45, 1.31578947368421); int038(19, 1.24342105263158, 1.45, 2.21578947368421); int038(20, 1.51973684210526, 0.05, 1.57894736842105); int038(21, 1.51973684210526, 0.05, 2.47894736842105); int038(22, 1.51973684210526, 1.45, 1.57894736842105); int038(23, 1.51973684210526, 1.45, 2.47894736842105); int038(24, 1.79605263157895, 0.05, 1.84210526315789); int038(25, 1.79605263157895, 0.05, 2.74210526315789); int038(26, 1.79605263157895, 1.45, 1.84210526315789); int038(27, 1.79605263157895, 1.45, 2.74210526315789); int038(28, 2.07236842105263, 0.05, 2.10526315789474); int038(29, 2.07236842105263, 0.05, 3.00526315789474); int038(30, 2.07236842105263, 1.45, 2.10526315789474); int038(31, 2.07236842105263, 1.45, 3.00526315789474); int038(32, 2.34868421052632, 0.05, 2.36842105263158); int038(33, 2.34868421052632, 0.05, 3.26842105263158); int038(34, 2.34868421052632, 1.45, 2.36842105263158); int038(35, 2.34868421052632, 1.45, 3.26842105263158); int038(36, 2.625, 0.05, 2.63157894736842); int038(37, 2.625, 0.05, 3.53157894736842); int038(38, 2.625, 1.45, 2.63157894736842); int038(39, 2.625, 1.45, 3.53157894736842); int038(40, 2.90131578947368, 0.05, 2.89473684210526); int038(41, 2.90131578947368, 0.05, 3.79473684210526); int038(42, 2.90131578947368, 1.45, 2.89473684210526); int038(43, 2.90131578947368, 1.45, 3.79473684210526); int038(44, 3.17763157894737, 0.05, 3.15789473684211); int038(45, 3.17763157894737, 0.05, 4.05789473684211); int038(46, 3.17763157894737, 1.45, 3.15789473684211); int038(47, 3.17763157894737, 1.45, 4.05789473684211); int038(48, 3.45394736842105, 0.05, 3.42105263157895); int038(49, 3.45394736842105, 0.05, 4.32105263157895); int038(50, 3.45394736842105, 1.45, 3.42105263157895); int038(51, 3.45394736842105, 1.45, 4.32105263157895); int038(52, 3.73026315789474, 0.05, 3.68421052631579); int038(53, 3.73026315789474, 0.05, 4.58421052631579); int038(54, 3.73026315789474, 1.45, 3.68421052631579); int038(55, 3.73026315789474, 1.45, 4.58421052631579); int038(56, 4.00657894736842, 0.05, 3.94736842105263); int038(57, 4.00657894736842, 0.05, 4.84736842105263); int038(58, 4.00657894736842, 1.45, 3.94736842105263); int038(59, 4.00657894736842, 1.45, 4.84736842105263); int038(60, 4.28289473684211, 0.05, 4.21052631578947); int038(61, 4.28289473684211, 0.05, 5.11052631578947); int038(62, 4.28289473684211, 1.45, 4.21052631578947); int038(63, 4.28289473684211, 1.45, 5.11052631578947); int038(64, 4.55921052631579, 0.05, 4.47368421052632); int038(65, 4.55921052631579, 0.05, 5.37368421052632); int038(66, 4.55921052631579, 1.45, 4.47368421052632); int038(67, 4.55921052631579, 1.45, 5.37368421052632); int038(68, 4.83552631578947, 0.05, 4.73684210526316); int038(69, 4.83552631578947, 0.05, 5.63684210526316); int038(70, 4.83552631578947, 1.45, 4.73684210526316); int038(71, 4.83552631578947, 1.45, 5.63684210526316); int038(72, 5.11184210526316, 0.05, 5); int038(73, 5.11184210526316, 0.05, 5.9); int038(74, 5.11184210526316, 1.45, 5); int038(75, 5.11184210526316, 1.45, 5.9); int039; SetStatus(0); int018; {Atom: Stairs_Bottom} sets; AtomByName([Stairs_Bottom], Main); if(not(AtomExists), Error([Cannot find mother atom 'Stairs_Bottom'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Stairs_Bottom], 1, false); int023([Stairs_Bottom], 8421504, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(37); SetLoc(-2.625, -0.75, 0); LockPosition(true); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 0, 0); int038(1, 2.625, 0, 0); int038(2, 2.625, 1.5, 0); int038(3, 0, 1.5, 0); int039; SetStatus(0); int018; {Atom: Stairs_Top} sets; AtomByName([Stairs_Top], Main); if(not(AtomExists), Error([Cannot find mother atom 'Stairs_Top'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Stairs_Top], 1, false); int023([Stairs_Top], 8421504, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(38); SetLoc(-2.625, -0.75, 5); LockPosition(true); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 5.25, 1.5, 0); int038(1, 2.625, 1.5, 0); int038(2, 2.625, 0, 0); int038(3, 5.25, 0, 0); int039; SetStatus(0); int018; Up; {Atom: Escalator_1} sets; AtomByName([Escalator], Main); if(not(AtomExists), Error([Cannot find mother atom 'Escalator'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Escalator_1], 1, false); SetAtt(1, 2); SetAtt(2, 7); SetAtt(3, 2); SetAtt(4, 1); SetAtt(5, 50); SetAtt(6, 50); SetAtt(7, 0.5); SetExprAtt(8, [{**Stairs speed**} Cell(2, DENSITYFORMULA_COLUMN_MAXSPEED, atmSimControl) / Cell(1, DENSITYFORMULA_COLUMN_MAXSPEED, atmSimControl) * 100]); SetExprAtt(9, [{**Default**} Cell(3, DENSITYFORMULA_COLUMN_MAXSPEED, atmSimControl) / Cell(1, DENSITYFORMULA_COLUMN_MAXSPEED, atmSimControl) * 100]); SetAtt(10, 1); SetAtt(11, 1); SetAtt(12, 3); SetAtt(13, 3); SetAtt(14, 0); SetAtt(15, 0); SetAtt(16, 16777215); SetAtt(17, 0.2651); SetAtt(18, 1.3); SetAtt(19, 0.46490513233123); SetAtt(20, 0.46490513233123); SetAtt(21, 55); SetAtt(22, 1); SetAtt(23, 5.06273884270379); SetAtt(24, 1); SetAtt(25, 29); SetAtt(26, 1); SetAtt(27, 0.1); SetAtt(28, 0); SetAtt(29, 3.70177322374021); Set(Att(30), 0); Set(Att(31), 0); SetAtt(32, 0.286788218175523); SetAtt(33, 0); SetAtt(34, 0); SetAtt(35, 1); SetAtt(36, 2); SetAtt(37, 0.01); SetAtt(38, 0.01); SetAtt(39, 4); SetAtt(40, 2); SetAtt(41, 5); SetAtt(42, 95.2380952380952); SetAtt(43, 2); SetAtt(44, 3); SetAtt(45, 0); SetAtt(46, 0); SetAtt(47, 1); SetExprAtt(48, [0]); int020(1, false, false, true); int020(2, false, false, true); int020(3, false, false, true); int020(4, false, false, true); int020(5, false, false, true); int020(6, false, false, true); int020(7, false, false, true); int020(8, false, false, true); int020(9, false, false, true); int020(10, false, false, true); int020(12, false, false, true); int020(13, false, false, true); int020(14, false, false, true); int020(15, false, false, true); int020(16, false, false, true); int020(17, false, false, true); int020(25, false, false, true); int020(39, false, false, true); int020(41, false, false, true); int023([Escalator_1], 16777215, 536624); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); AddModel3D( RegisterModel3D(Model3DDir([Infrastructure\Escalator - Moving Walk\Escalator_Straight_Start.wrl]), [Escalator_Straight_Start.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([Infrastructure\Escalator - Moving Walk\Escalator_Straight.wrl]), [Escalator_Straight.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([Infrastructure\Escalator - Moving Walk\Escalator_Straight_Up.wrl]), [Escalator_Straight_Up.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([Infrastructure\Escalator - Moving Walk\Escalator_Straight_Down.wrl]), [Escalator_Straight_Down.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([Infrastructure\Escalator - Moving Walk\Escalator_Straight_End.wrl]), [Escalator_Straight_End.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([Infrastructure\Escalator - Moving Walk\Escalator_Side_Start.wrl]), [Escalator_Side_Start.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([Infrastructure\Escalator - Moving Walk\Escalator_Side_Straight.wrl]), [Escalator_Side_Straight.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([Infrastructure\Escalator - Moving Walk\Escalator_Side_Bend_Up.wrl]), [Escalator_Side_Bend_Up.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([Infrastructure\Escalator - Moving Walk\Escalator_Side_Bend_Down.wrl]), [Escalator_Side_Bend_Down.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([Infrastructure\Escalator - Moving Walk\Escalator_Side_End.wrl]), [Escalator_Side_End.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([Infrastructure\Escalator - Moving Walk\Escalator_Step.wrl]), [Escalator_Step.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); AddTexture( RegisterTexture(Model3DDir([Infrastructure\Escalator - Moving Walk\Step Moving Walk.jpg]), [Step Moving Walk.jpg], 128, 256, 255, 255, 0, 0, 0, 0), a); AddTexture( RegisterTexture(Model3DDir([Infrastructure\Escalator - Moving Walk\Step.jpg]), [Step.jpg], 128, 256, 255, 255, 0, 0, 0, 0), a); Set(Version(a), 0); Layer(LayerByName([Infrastructure])); SetChannels(2, 0); SetChannelRanges(0, 999, 0, 999); int001(39); int013(1, 0, true, true, 0, 0, [], []); int013(2, 0, true, true, 0, 0, [], []); SetLoc(13, 12.375, 0); SetSize(5.25, 1.5, 5); SetTranslation(-2.625, -0.75, 0); Set(RotationAs, 270); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 0, 0); int038(1, 5.25, 0, 5); int038(2, 5.25, 1.5, 5); int038(3, 0, 1.5, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(0); int018; {Atom: Escalator_Steps} sets; AtomByName([Escalator_Steps], Main); if(not(AtomExists), Error([Cannot find mother atom 'Escalator_Steps'. Inheriting from BaseClass.])); CreateAtom(a, s, [Escalator_Steps], 1, false); int023([Escalator_Steps], 16777215, 0); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(40); SetLoc(-2.625, -0.75, 0.001); LockPosition(true); LockSize(true); DisableIconRotation(false); int037(58); int038(0, 0, 0, 0); int038(1, 0, 1.5, 0); int038(2, 0.181034482758621, 0, 0.172413793103448); int038(3, 0.181034482758621, 1.5, 0.172413793103448); int038(4, 0.362068965517241, 0, 0.344827586206897); int038(5, 0.362068965517241, 1.5, 0.344827586206897); int038(6, 0.543103448275862, 0, 0.517241379310345); int038(7, 0.543103448275862, 1.5, 0.517241379310345); int038(8, 0.724137931034483, 0, 0.689655172413793); int038(9, 0.724137931034483, 1.5, 0.689655172413793); int038(10, 0.905172413793103, 0, 0.862068965517241); int038(11, 0.905172413793103, 1.5, 0.862068965517241); int038(12, 1.08620689655172, 0, 1.03448275862069); int038(13, 1.08620689655172, 1.5, 1.03448275862069); int038(14, 1.26724137931034, 0, 1.20689655172414); int038(15, 1.26724137931034, 1.5, 1.20689655172414); int038(16, 1.44827586206897, 0, 1.37931034482759); int038(17, 1.44827586206897, 1.5, 1.37931034482759); int038(18, 1.62931034482759, 0, 1.55172413793103); int038(19, 1.62931034482759, 1.5, 1.55172413793103); int038(20, 1.81034482758621, 0, 1.72413793103448); int038(21, 1.81034482758621, 1.5, 1.72413793103448); int038(22, 1.99137931034483, 0, 1.89655172413793); int038(23, 1.99137931034483, 1.5, 1.89655172413793); int038(24, 2.17241379310345, 0, 2.06896551724138); int038(25, 2.17241379310345, 1.5, 2.06896551724138); int038(26, 2.35344827586207, 0, 2.24137931034483); int038(27, 2.35344827586207, 1.5, 2.24137931034483); int038(28, 2.53448275862069, 0, 2.41379310344828); int038(29, 2.53448275862069, 1.5, 2.41379310344828); int038(30, 2.71551724137931, 0, 2.58620689655172); int038(31, 2.71551724137931, 1.5, 2.58620689655172); int038(32, 2.89655172413793, 0, 2.75862068965517); int038(33, 2.89655172413793, 1.5, 2.75862068965517); int038(34, 3.07758620689655, 0, 2.93103448275862); int038(35, 3.07758620689655, 1.5, 2.93103448275862); int038(36, 3.25862068965517, 0, 3.10344827586207); int038(37, 3.25862068965517, 1.5, 3.10344827586207); int038(38, 3.43965517241379, 0, 3.27586206896552); int038(39, 3.43965517241379, 1.5, 3.27586206896552); int038(40, 3.62068965517241, 0, 3.44827586206897); int038(41, 3.62068965517241, 1.5, 3.44827586206897); int038(42, 3.80172413793103, 0, 3.62068965517241); int038(43, 3.80172413793103, 1.5, 3.62068965517241); int038(44, 3.98275862068966, 0, 3.79310344827586); int038(45, 3.98275862068966, 1.5, 3.79310344827586); int038(46, 4.16379310344828, 0, 3.96551724137931); int038(47, 4.16379310344828, 1.5, 3.96551724137931); int038(48, 4.3448275862069, 0, 4.13793103448276); int038(49, 4.3448275862069, 1.5, 4.13793103448276); int038(50, 4.52586206896552, 0, 4.31034482758621); int038(51, 4.52586206896552, 1.5, 4.31034482758621); int038(52, 4.70689655172414, 0, 4.48275862068966); int038(53, 4.70689655172414, 1.5, 4.48275862068966); int038(54, 4.88793103448276, 0, 4.6551724137931); int038(55, 4.88793103448276, 1.5, 4.6551724137931); int038(56, 5.06896551724138, 0, 4.82758620689655); int038(57, 5.06896551724138, 1.5, 4.82758620689655); int039; SetStatus(0); int018; {Atom: Escalator_Railing} sets; AtomByName([Escalator_Railing], Main); if(not(AtomExists), Error([Cannot find mother atom 'Escalator_Railing'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Escalator_Railing], 1, false); int023([Escalator_Railing], 8421504, 0); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(41); LockPosition(true); LockSize(true); DisableIconRotation(false); SetStatus(0); int018; {Atom: Escalator_Bottom} sets; AtomByName([Escalator_Bottom], Main); if(not(AtomExists), Error([Cannot find mother atom 'Escalator_Bottom'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Escalator_Bottom], 1, false); int023([Escalator_Bottom], 8421504, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(42); SetLoc(-2.625, -0.75, 0); LockPosition(true); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 0, 0); int038(1, 2.625, 0, 0); int038(2, 2.625, 1.5, 0); int038(3, 0, 1.5, 0); int039; SetStatus(0); int018; {Atom: Escalator_Top} sets; AtomByName([Escalator_Top], Main); if(not(AtomExists), Error([Cannot find mother atom 'Escalator_Top'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Escalator_Top], 1, false); int023([Escalator_Top], 8421504, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(43); SetLoc(-2.625, -0.75, 5); LockPosition(true); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 5.25, 1.5, 0); int038(1, 2.625, 1.5, 0); int038(2, 2.625, 0, 0); int038(3, 5.25, 0, 0); int039; SetStatus(0); int018; Up; {Atom: Copy of Copy of WalkableArea_2} sets; AtomByName([WalkableArea], Main); if(not(AtomExists), Error([Cannot find mother atom 'WalkableArea'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Copy of Copy of WalkableArea_2], 1, false); SetAtt(1, 2); SetAtt(2, 7); SetAtt(3, 0); SetAtt(4, 0); SetAtt(5, 31); SetAtt(6, 0); SetAtt(7, 0); SetAtt(8, 7); SetAtt(9, 1); SetAtt(10, 1); SetAtt(11, 0); SetAtt(12, 0); SetAtt(13, 0); SetAtt(14, 3); SetAtt(15, 16777215); SetAtt(16, 3); SetAtt(17, 0); SetAtt(18, 0); SetAtt(19, 0); SetAtt(20, 2.51246890528022); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 0); SetAtt(24, 0); SetAtt(25, 3); SetExprAtt(26, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(27, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_UP)]); SetExprAtt(28, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_DOWN)]); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 3); SetAtt(32, -1); SetAtt(33, -1); SetAtt(34, 0); SetAtt(35, 0); SetAtt(36, 0); SetAtt(37, 0); int020(1, false, false, true); int020(2, false, false, true); int020(3, false, false, true); int020(4, false, false, true); int020(6, false, false, true); int020(7, false, false, true); int020(8, false, false, true); int020(9, false, false, true); int020(10, false, false, true); int020(11, false, false, true); int020(12, false, false, true); int020(13, false, false, true); int020(14, false, false, true); int020(15, false, false, true); int020(16, false, false, true); int020(17, false, false, true); int020(18, false, false, true); int020(19, false, false, true); int020(20, false, false, true); int020(21, false, false, true); int020(23, false, false, true); int020(37, false, false, true); int023([Copy of Copy of WalkableArea_2], 16777215, 8240); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([WalkableAreas])); SetChannelRanges(0, 999, 0, 999); int001(112); SetLoc(7, 17.5, 0); SetSize(5, 0.5, 0); SetTranslation(-2.5, -0.25, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 0.5, 0); int038(1, 5, 0.5, 0); int038(2, 5, 0, 0); int038(3, 0, 0, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(0); int018; {Atom: Copy of Copy of WalkableArea_2 (1)} sets; AtomByName([WalkableArea], Main); if(not(AtomExists), Error([Cannot find mother atom 'WalkableArea'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Copy of Copy of WalkableArea_2 (1)], 1, false); SetAtt(1, 2); SetAtt(2, 7); SetAtt(3, 0); SetAtt(4, 0); SetAtt(5, 31); SetAtt(6, 0); SetAtt(7, 0); SetAtt(8, 7); SetAtt(9, 1); SetAtt(10, 1); SetAtt(11, 0); SetAtt(12, 0); SetAtt(13, 0); SetAtt(14, 3); SetAtt(15, 16777215); SetAtt(16, 3); SetAtt(17, 0); SetAtt(18, 0); SetAtt(19, 0); SetAtt(20, 2.51246890528022); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 0); SetAtt(24, 0); SetAtt(25, 3); SetExprAtt(26, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(27, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_UP)]); SetExprAtt(28, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_DOWN)]); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 3); SetAtt(32, -1); SetAtt(33, -1); SetAtt(34, 0); SetAtt(35, 0); SetAtt(36, 0); SetAtt(37, 0); int020(1, false, false, true); int020(2, false, false, true); int020(3, false, false, true); int020(4, false, false, true); int020(6, false, false, true); int020(7, false, false, true); int020(8, false, false, true); int020(9, false, false, true); int020(10, false, false, true); int020(11, false, false, true); int020(12, false, false, true); int020(13, false, false, true); int020(14, false, false, true); int020(15, false, false, true); int020(16, false, false, true); int020(17, false, false, true); int020(18, false, false, true); int020(19, false, false, true); int020(20, false, false, true); int020(21, false, false, true); int020(23, false, false, true); int020(37, false, false, true); int023([Copy of Copy of WalkableArea_2 (1)], 16777215, 8240); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([WalkableAreas])); SetChannelRanges(0, 999, 0, 999); int001(120); SetLoc(17, 17.5, 0); SetSize(5, 0.5, 0); SetTranslation(-2.5, -0.25, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 0.5, 0); int038(1, 5, 0.5, 0); int038(2, 5, 0, 0); int038(3, 0, 0, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(0); int018; Up; {Atom: lstObstacles} sets; AtomByName([lstObstacles], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstObstacles'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstObstacles], 1, false); int023([lstObstacles], 0, 527360); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([PD_Environment])); int001(44); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstOpenings} sets; AtomByName([lstOpenings], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstOpenings'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstOpenings], 1, false); int023([lstOpenings], 0, 527360); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([PD_Environment])); int001(45); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstTransportation} sets; AtomByName([lstTransportation], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstTransportation'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstTransportation], 1, false); int023([lstTransportation], 0, 527360); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(46); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstActivities} sets; AtomByName([lstActivities], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstActivities'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstActivities], 1, false); int023([lstActivities], 0, 527360); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([PD_Environment])); int001(47); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: Entry} sets; AtomByName([ActivityLocation], Main); if(not(AtomExists), Error([Cannot find mother atom 'ActivityLocation'. Inheriting from BaseClass.])); CreateAtom(a, s, [Entry], 1, false); SetAtt(1, 13); SetExprAtt(2, [ACTIVITYTYPE_ENTRY_EXIT]); SetAtt(3, 2); SetExprAtt(4, [19 {with polygon and trapezoid: 31}]); SetAtt(5, 0); SetAtt(6, 7); SetAtt(7, 1); SetTextAtt(8, [0]); SetAtt(9, 0); SetAtt(10, 0); SetAtt(11, 2001); SetExprAtt(12, [0]); SetExprAtt(13, [0]); SetAtt(14, 0); SetAtt(15, 1); SetExprAtt(16, [{**Random**} Primitives_RandomPoint(c, Agent_GetRadius(i), PDEnvAtom)]); SetExprAtt(17, [{**Continue from current location**} Points_Get(i, 1) ]); SetExprAtt(18, [0]); SetExprAtt(19, [0]); SetAtt(20, 1); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 16711680); SetAtt(24, 0); SetAtt(25, 0); SetAtt(26, 0); SetExprAtt(27, [0]); SetAtt(28, 0); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 1); SetAtt(32, 1); SetExprAtt(33, [0]); SetAtt(34, 100000); SetAtt(35, 13001); SetAtt(36, 0); SetAtt(37, 0); SetExprAtt(38, [1]); SetExprAtt(39, [0]); SetAtt(40, 0); SetExprAtt(41, [v {**current rotation**}]); SetExprAtt(42, [0]); SetAtt(43, 0); SetAtt(44, 0); SetAtt(45, 0); SetAtt(46, 0); SetAtt(47, 0); SetAtt(48, 0); SetAtt(49, 0); SetAtt(50, 0); SetAtt(51, 0.75); SetAtt(52, 0); SetAtt(53, 0); SetExprAtt(54, [0]); SetAtt(55, 0); SetAtt(56, 0); SetExprAtt(57, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(58, [0]); SetExprAtt(59, [0]); SetExprAtt(60, [4DS[{**Trigger first waiting agents in connected corridor**} do( var([valIndex], vbValue, 1 {indicative corridor index}), if( IcConnected(ActivityLocation_GetServerQueues(c) + valIndex, c), IndicativeCorridor_TriggerAllWaitingAgents(in(ActivityLocation_GetServerQueues(c) + valIndex, c), TRUE {condition}, c, 1 {nr to trigger}) ) )]4DS]); SetTextAtt(61, []); SetExprAtt(62, [0]); int023([Entry], 16711680, 533552); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([Activities])); SetChannelRanges(0, 0, 0, 999); int001(113); SetLoc(2.25, 17.5, 0); SetSize(4.5, 5, 1); SetTranslation(-2.25, -2.5, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(1, 4); int015(0, 64, [`` 1 ]); int015(1, 64, [`Start time` -1 ]); int015(2, 76, [`Time open` 0 ]); int015(3, 93, [`Trigger on start` 0 ]); int015(4, 115, [`Trigger on end` 0 ]); int037(4); int038(0, 0, 0, 0); int038(1, 4.5, 0, 0); int038(2, 4.5, 5, 0); int038(3, 0, 5, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(11); int018; {Atom: Entry} sets; AtomByName([ActivityLocation], Main); if(not(AtomExists), Error([Cannot find mother atom 'ActivityLocation'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Entry], 1, false); SetAtt(1, 14); SetExprAtt(2, [ACTIVITYTYPE_ENTRY_EXIT]); SetAtt(3, 2); SetExprAtt(4, [19 {with polygon and trapezoid: 31}]); SetAtt(5, 0); SetAtt(6, 7); SetAtt(7, 1); SetTextAtt(8, [0]); SetAtt(9, 0); SetAtt(10, 0); SetAtt(11, 2001); SetExprAtt(12, [0]); SetExprAtt(13, [0]); SetAtt(14, 0); SetAtt(15, 1); SetExprAtt(16, [{**Random**} Primitives_RandomPoint(c, Agent_GetRadius(i), PDEnvAtom)]); SetExprAtt(17, [{**Continue from current location**} Points_Get(i, 1) ]); SetExprAtt(18, [0]); SetExprAtt(19, [0]); SetAtt(20, 1); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 16711680); SetAtt(24, 0); SetAtt(25, 0); SetAtt(26, 0); SetExprAtt(27, [0]); SetAtt(28, 0); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 1); SetAtt(32, 1); SetExprAtt(33, [0]); SetAtt(34, 100000); SetAtt(35, 13001); SetAtt(36, 0); SetAtt(37, 0); SetExprAtt(38, [1]); SetExprAtt(39, [0]); SetAtt(40, 0); SetExprAtt(41, [v {**current rotation**}]); SetExprAtt(42, [0]); SetAtt(43, 0); SetAtt(44, 0); SetAtt(45, 0); SetAtt(46, 0); SetAtt(47, 0); SetAtt(48, 0); SetAtt(49, 0); SetAtt(50, 0); SetAtt(51, 0.75); SetAtt(52, 0); SetAtt(53, 0); SetExprAtt(54, [0]); SetAtt(55, 0); SetAtt(56, 0); SetExprAtt(57, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(58, [0]); SetExprAtt(59, [0]); SetExprAtt(60, [4DS[{**Trigger first waiting agents in connected corridor**} do( var([valIndex], vbValue, 1 {indicative corridor index}), if( IcConnected(ActivityLocation_GetServerQueues(c) + valIndex, c), IndicativeCorridor_TriggerAllWaitingAgents(in(ActivityLocation_GetServerQueues(c) + valIndex, c), TRUE {condition}, c, 1 {nr to trigger}) ) )]4DS]); SetTextAtt(61, []); SetExprAtt(62, [0]); int023([Entry], 16711680, 533552); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([Activities])); SetChannelRanges(0, 0, 0, 999); int001(114); SetLoc(7, 17.5, 0); SetSize(5, 0.5, 1); SetTranslation(-2.5, -0.25, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(1, 4); int015(0, 64, [`` 1 ]); int015(1, 64, [`Start time` -1 ]); int015(2, 76, [`Time open` 0 ]); int015(3, 93, [`Trigger on start` 0 ]); int015(4, 115, [`Trigger on end` 0 ]); int037(4); int038(0, 0, 0, 0); int038(1, 5, 0, 0); int038(2, 5, 0.5, 0); int038(3, 0, 0.5, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(11); int018; {Atom: Entry} sets; AtomByName([ActivityLocation], Main); if(not(AtomExists), Error([Cannot find mother atom 'ActivityLocation'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Entry], 1, false); SetAtt(1, 15); SetExprAtt(2, [ACTIVITYTYPE_ENTRY_EXIT]); SetAtt(3, 2); SetExprAtt(4, [19 {with polygon and trapezoid: 31}]); SetAtt(5, 0); SetAtt(6, 7); SetAtt(7, 1); SetTextAtt(8, [0]); SetAtt(9, 0); SetAtt(10, 0); SetAtt(11, 2001); SetExprAtt(12, [0]); SetExprAtt(13, [0]); SetAtt(14, 0); SetAtt(15, 1); SetExprAtt(16, [{**Random**} Primitives_RandomPoint(c, Agent_GetRadius(i), PDEnvAtom)]); SetExprAtt(17, [{**Continue from current location**} Points_Get(i, 1) ]); SetExprAtt(18, [0]); SetExprAtt(19, [0]); SetAtt(20, 1); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 16711680); SetAtt(24, 0); SetAtt(25, 0); SetAtt(26, 0); SetExprAtt(27, [0]); SetAtt(28, 0); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 1); SetAtt(32, 1); SetExprAtt(33, [0]); SetAtt(34, 100000); SetAtt(35, 13001); SetAtt(36, 0); SetAtt(37, 0); SetExprAtt(38, [1]); SetExprAtt(39, [0]); SetAtt(40, 0); SetExprAtt(41, [v {**current rotation**}]); SetExprAtt(42, [0]); SetAtt(43, 0); SetAtt(44, 0); SetAtt(45, 0); SetAtt(46, 0); SetAtt(47, 0); SetAtt(48, 0); SetAtt(49, 0); SetAtt(50, 0); SetAtt(51, 0.75); SetAtt(52, 0); SetAtt(53, 0); SetExprAtt(54, [0]); SetAtt(55, 0); SetAtt(56, 0); SetExprAtt(57, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(58, [0]); SetExprAtt(59, [0]); SetExprAtt(60, [4DS[{**Trigger first waiting agents in connected corridor**} do( var([valIndex], vbValue, 1 {indicative corridor index}), if( IcConnected(ActivityLocation_GetServerQueues(c) + valIndex, c), IndicativeCorridor_TriggerAllWaitingAgents(in(ActivityLocation_GetServerQueues(c) + valIndex, c), TRUE {condition}, c, 1 {nr to trigger}) ) )]4DS]); SetTextAtt(61, []); SetExprAtt(62, [0]); int023([Entry], 16711680, 533552); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([Activities])); SetChannelRanges(0, 0, 0, 999); int001(115); SetLoc(12, 17.5, 0); SetSize(5, 5, 1); SetTranslation(-2.5, -2.5, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(1, 4); int015(0, 64, [`` 1 ]); int015(1, 64, [`Start time` -1 ]); int015(2, 76, [`Time open` 0 ]); int015(3, 93, [`Trigger on start` 0 ]); int015(4, 115, [`Trigger on end` 0 ]); int037(4); int038(0, 0, 0, 0); int038(1, 5, 0, 0); int038(2, 5, 5, 0); int038(3, 0, 5, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(11); int018; {Atom: Entry} sets; AtomByName([ActivityLocation], Main); if(not(AtomExists), Error([Cannot find mother atom 'ActivityLocation'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Entry], 1, false); SetAtt(1, 16); SetExprAtt(2, [ACTIVITYTYPE_ENTRY_EXIT]); SetAtt(3, 2); SetExprAtt(4, [19 {with polygon and trapezoid: 31}]); SetAtt(5, 0); SetAtt(6, 7); SetAtt(7, 1); SetTextAtt(8, [0]); SetAtt(9, 0); SetAtt(10, 0); SetAtt(11, 2001); SetExprAtt(12, [0]); SetExprAtt(13, [0]); SetAtt(14, 0); SetAtt(15, 1); SetExprAtt(16, [{**Random**} Primitives_RandomPoint(c, Agent_GetRadius(i), PDEnvAtom)]); SetExprAtt(17, [{**Continue from current location**} Points_Get(i, 1) ]); SetExprAtt(18, [0]); SetExprAtt(19, [0]); SetAtt(20, 1); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 16711680); SetAtt(24, 0); SetAtt(25, 0); SetAtt(26, 0); SetExprAtt(27, [0]); SetAtt(28, 0); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 1); SetAtt(32, 1); SetExprAtt(33, [0]); SetAtt(34, 100000); SetAtt(35, 13001); SetAtt(36, 0); SetAtt(37, 0); SetExprAtt(38, [1]); SetExprAtt(39, [0]); SetAtt(40, 0); SetExprAtt(41, [v {**current rotation**}]); SetExprAtt(42, [0]); SetAtt(43, 0); SetAtt(44, 0); SetAtt(45, 0); SetAtt(46, 0); SetAtt(47, 0); SetAtt(48, 0); SetAtt(49, 0); SetAtt(50, 0); SetAtt(51, 0.75); SetAtt(52, 0); SetAtt(53, 0); SetExprAtt(54, [0]); SetAtt(55, 0); SetAtt(56, 0); SetExprAtt(57, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(58, [0]); SetExprAtt(59, [0]); SetExprAtt(60, [4DS[{**Trigger first waiting agents in connected corridor**} do( var([valIndex], vbValue, 1 {indicative corridor index}), if( IcConnected(ActivityLocation_GetServerQueues(c) + valIndex, c), IndicativeCorridor_TriggerAllWaitingAgents(in(ActivityLocation_GetServerQueues(c) + valIndex, c), TRUE {condition}, c, 1 {nr to trigger}) ) )]4DS]); SetTextAtt(61, []); SetExprAtt(62, [0]); int023([Entry], 16711680, 533552); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([Activities])); SetChannelRanges(0, 0, 0, 999); int001(116); SetLoc(17, 17.5, 0); SetSize(5, 0.5, 1); SetTranslation(-2.5, -0.25, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(1, 4); int015(0, 64, [`` 1 ]); int015(1, 64, [`Start time` -1 ]); int015(2, 76, [`Time open` 0 ]); int015(3, 93, [`Trigger on start` 0 ]); int015(4, 115, [`Trigger on end` 0 ]); int037(4); int038(0, 0, 0, 0); int038(1, 5, 0, 0); int038(2, 5, 0.5, 0); int038(3, 0, 0.5, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(11); int018; {Atom: Entry} sets; AtomByName([ActivityLocation], Main); if(not(AtomExists), Error([Cannot find mother atom 'ActivityLocation'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Entry], 1, false); SetAtt(1, 18); SetExprAtt(2, [ACTIVITYTYPE_ENTRY_EXIT]); SetAtt(3, 2); SetExprAtt(4, [19 {with polygon and trapezoid: 31}]); SetAtt(5, 0); SetAtt(6, 7); SetAtt(7, 1); SetTextAtt(8, [0]); SetAtt(9, 0); SetAtt(10, 0); SetAtt(11, 2001); SetExprAtt(12, [0]); SetExprAtt(13, [0]); SetAtt(14, 0); SetAtt(15, 1); SetExprAtt(16, [{**Random**} Primitives_RandomPoint(c, Agent_GetRadius(i), PDEnvAtom)]); SetExprAtt(17, [{**Continue from current location**} Points_Get(i, 1) ]); SetExprAtt(18, [0]); SetExprAtt(19, [0]); SetAtt(20, 1); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 16711680); SetAtt(24, 0); SetAtt(25, 0); SetAtt(26, 0); SetExprAtt(27, [0]); SetAtt(28, 0); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 1); SetAtt(32, 1); SetExprAtt(33, [0]); SetAtt(34, 100000); SetAtt(35, 13001); SetAtt(36, 0); SetAtt(37, 0); SetExprAtt(38, [1]); SetExprAtt(39, [0]); SetAtt(40, 0); SetExprAtt(41, [v {**current rotation**}]); SetExprAtt(42, [0]); SetAtt(43, 0); SetAtt(44, 0); SetAtt(45, 0); SetAtt(46, 0); SetAtt(47, 0); SetAtt(48, 0); SetAtt(49, 0); SetAtt(50, 0); SetAtt(51, 0.75); SetAtt(52, 0); SetAtt(53, 0); SetExprAtt(54, [0]); SetAtt(55, 0); SetAtt(56, 0); SetExprAtt(57, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(58, [0]); SetExprAtt(59, [0]); SetExprAtt(60, [4DS[{**Trigger first waiting agents in connected corridor**} do( var([valIndex], vbValue, 1 {indicative corridor index}), if( IcConnected(ActivityLocation_GetServerQueues(c) + valIndex, c), IndicativeCorridor_TriggerAllWaitingAgents(in(ActivityLocation_GetServerQueues(c) + valIndex, c), TRUE {condition}, c, 1 {nr to trigger}) ) )]4DS]); SetTextAtt(61, []); SetExprAtt(62, [0]); int023([Entry], 16711680, 533552); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([Activities])); SetChannelRanges(0, 0, 0, 999); int001(117); SetLoc(21.75, 17.5, 0); SetSize(4.5, 5, 1); SetTranslation(-2.25, -2.5, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(1, 4); int015(0, 64, [`` 1 ]); int015(1, 64, [`Start time` -1 ]); int015(2, 76, [`Time open` 0 ]); int015(3, 93, [`Trigger on start` 0 ]); int015(4, 115, [`Trigger on end` 0 ]); int037(4); int038(0, 0, 0, 0); int038(1, 4.5, 0, 0); int038(2, 4.5, 5, 0); int038(3, 0, 5, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(11); int018; Up; {Atom: lstUserActions} sets; AtomByName([lstUserActions], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstUserActions'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstUserActions], 1, false); int023([lstUserActions], 0, 527360); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([PD_Environment])); int001(48); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: ActionArea_1} sets; AtomByName([ActionArea], Main); if(not(AtomExists), Error([Cannot find mother atom 'ActionArea'. Inheriting from BaseClass.])); CreateAtom(a, s, [ActionArea_1], 1, false); SetExprAtt(1, [PRIMITIVETYPE_SQUARE+ PRIMITIVETYPE_RECTANGLE+ PRIMITIVETYPE_TRAPEZOID+ PRIMITIVETYPE_POLYGON+ PRIMITIVETYPE_DISK+ PRIMITIVETYPE_LINE+ PRIMITIVETYPE_POLYLINE]); SetAtt(2, 3); SetAtt(3, 64); SetAtt(4, 0); SetAtt(5, 0); SetAtt(6, 360); SetAtt(7, 3); SetAtt(8, 3); SetAtt(9, 65280); SetAtt(10, 0); SetAtt(11, 16384); SetAtt(12, 1); SetAtt(13, 5); SetExprAtt(14, [{**Start agent/Re-plan route**} Agent_StartRouting(i)]); SetExprAtt(15, [0]); SetExprAtt(16, [0]); SetExprAtt(17, [0]); SetExprAtt(18, [0]); SetExprAtt(19, [0]); SetExprAtt(20, [0]); SetAtt(21, 2.69544523223901); SetAtt(22, 0.75); SetExprAtt(23, [0]); SetAtt(24, 1); SetExprAtt(25, [1]); SetAtt(26, 0); SetAtt(27, 0); int023([ActionArea_1], 65280, 536624); Set(Icon(a), RegisterIcon(pDir([Media\Icons\ModelLayout\ActionArea.png]), [ActionArea.png], 1, 1, 16777215, 255, 255, false, 0)); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([UserActions])); SetChannelRanges(0, 0, 0, 255); int001(124); SetLoc(11.995, 17.32, 0); SetSize(4.99, 2.04, 0); SetTranslation(-2.495, -1.02, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 0.09, 0); int038(1, 0, 2.04, 0); int038(2, 4.99, 2.04, 0); int038(3, 4.98, 0, 0); int039; Set(Points_PrimitiveType(a), 3); SetStatus(0); int018; Up; {Atom: lstAgents} sets; AtomByName([lstAgents], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstAgents'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstAgents], 1, false); int023([lstAgents], 0, 527360); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(49); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstResources} sets; AtomByName([lstResources], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstResources'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstResources], 1, false); int023([lstResources], 0, 527360); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(50); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: ECM_Visualization} sets; AtomByName([ECM_Visualization], Main); if(not(AtomExists), Error([Cannot find mother atom 'ECM_Visualization'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [ECM_Visualization], 1, false); int023([ECM_Visualization], 0, 542768); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([ECMNetwork])); int001(51); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; Up; {Atom: HeightLayer_2} sets; AtomByName([HeightLayer], Main); if(not(AtomExists), Error([Cannot find mother atom 'HeightLayer'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [HeightLayer_2], 1, false); SetAtt(1, 2); SetAtt(2, 12); SetAtt(3, 6.25); SetAtt(4, 13); SetAtt(5, 6.25); SetAtt(6, 12); SetAtt(7, 6.25); SetAtt(8, 0.5); SetAtt(9, 14.4330350238611); Set(Att(10), 0); Set(Att(11), 0); Set(Att(12), 0); Set(Att(13), 0); SetAtt(14, 0); Set(Att(15), 0); Set(Att(16), 0); Set(Att(17), 0); SetAtt(18, 2); SetAtt(19, 2); SetAtt(20, 7); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 3); SetAtt(24, 0); SetAtt(25, 0); SetAtt(26, 1); SetAtt(27, 0); SetAtt(28, 0); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 2); SetAtt(32, 3); SetAtt(33, 1); SetAtt(34, 1); SetAtt(35, 0); SetAtt(36, 0); SetAtt(37, 8421504); SetAtt(38, 0); SetAtt(39, 0); SetAtt(40, 0); SetAtt(41, 0); SetAtt(42, 0); SetAtt(43, 0); SetAtt(44, 0); SetAtt(45, 7); SetExprAtt(46, [0]); SetExprAtt(47, [0]); SetAtt(48, 0); SetAtt(49, 0); SetAtt(50, 0); SetAtt(51, 3); Set(Att(52), 0); Set(Att(53), 0); SetAtt(54, 0.5); SetAtt(55, 0); SetExprAtt(56, [0]); int023([HeightLayer_2], 8421504, 533552); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([HeightLayers])); SetChannels(0, 2); SetChannelRanges(0, 0, 0, 999); int001(52); int013(1, 0, true, true, 0, 0, [], []); int013(2, 0, true, true, 0, 0, [], []); SetLoc(0, 0, 5); SetSize(26, 9, 0); SetTranslation(-1, 3.5, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 9, 0); int038(1, 26, 9, 0); int038(2, 26, 0, 0); int038(3, 0, 0, 0); int039; Set(Points_PrimitiveType(a), 2); SetStatus(0); int018; {Atom: lstWalkableAreas} sets; AtomByName([lstWalkableAreas], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstWalkableAreas'. Inheriting from BaseClass.])); CreateAtom(a, s, [lstWalkableAreas], 1, false); int023([lstWalkableAreas], 0, 527360); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([PD_Environment])); int001(53); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: WalkableArea_6} sets; AtomByName([WalkableArea], Main); if(not(AtomExists), Error([Cannot find mother atom 'WalkableArea'. Inheriting from BaseClass.])); CreateAtom(a, s, [WalkableArea_6], 1, false); SetAtt(1, 1); SetAtt(2, 7); SetAtt(3, 0); SetAtt(4, 0); SetAtt(5, 31); SetAtt(6, 0); SetAtt(7, 0); SetAtt(8, 7); SetAtt(9, 1); SetAtt(10, 1); SetAtt(11, 0); SetAtt(12, 0); SetAtt(13, 0); SetAtt(14, 3); SetExprAtt(15, [Color(c)]); SetAtt(16, 3); SetAtt(17, 0); SetExprAtt(18, [ColorBlack]); SetAtt(19, 0); SetAtt(20, 3.53553390593274); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 0); SetAtt(24, 0); SetAtt(25, 3); SetExprAtt(26, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(27, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_UP)]); SetExprAtt(28, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_DOWN)]); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 3); SetAtt(32, -1); SetAtt(33, -1); SetAtt(34, 0); SetAtt(35, 0); SetAtt(36, 0); SetAtt(37, 0); int020(1, false, false, true); int020(2, false, false, true); int020(3, false, false, true); int020(4, false, false, true); int020(6, false, false, true); int020(7, false, false, true); int020(8, false, false, true); int020(9, false, false, true); int020(10, false, false, true); int020(11, false, false, true); int020(12, false, false, true); int020(13, false, false, true); int020(14, false, false, true); int020(15, false, false, true); int020(16, false, false, true); int020(17, false, false, true); int020(18, false, false, true); int020(19, false, false, true); int020(20, false, false, true); int020(21, false, false, true); int020(23, false, false, true); int020(37, false, false, true); int023([WalkableArea_6], 16777215, 8240); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([WalkableAreas])); SetChannelRanges(0, 999, 0, 999); int001(54); SetLoc(12, 7.25, 0); SetSize(5, 5, 0); SetTranslation(-2.5, -2.5, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 5, 0); int038(1, 5, 5, 0); int038(2, 5, 0, 0); int038(3, 0, 0, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(0); int018; {Atom: WalkableArea_7} sets; AtomByName([WalkableArea], Main); if(not(AtomExists), Error([Cannot find mother atom 'WalkableArea'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [WalkableArea_7], 1, false); SetAtt(1, 2); SetAtt(2, 7); SetAtt(3, 0); SetAtt(4, 0); SetAtt(5, 31); SetAtt(6, 0); SetAtt(7, 0); SetAtt(8, 7); SetAtt(9, 1); SetAtt(10, 1); SetAtt(11, 0); SetAtt(12, 0); SetAtt(13, 0); SetAtt(14, 3); SetExprAtt(15, [Color(c)]); SetAtt(16, 3); SetAtt(17, 0); SetExprAtt(18, [ColorBlack]); SetAtt(19, 0); SetAtt(20, 1.39754248593737); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 0); SetAtt(24, 0); SetAtt(25, 3); SetExprAtt(26, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(27, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_UP)]); SetExprAtt(28, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_DOWN)]); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 3); SetAtt(32, -1); SetAtt(33, -1); SetAtt(34, 0); SetAtt(35, 0); SetAtt(36, 0); SetAtt(37, 0); int020(1, false, false, true); int020(2, false, false, true); int020(3, false, false, true); int020(4, false, false, true); int020(6, false, false, true); int020(7, false, false, true); int020(8, false, false, true); int020(9, false, false, true); int020(10, false, false, true); int020(11, false, false, true); int020(12, false, false, true); int020(13, false, false, true); int020(14, false, false, true); int020(15, false, false, true); int020(16, false, false, true); int020(17, false, false, true); int020(18, false, false, true); int020(19, false, false, true); int020(20, false, false, true); int020(21, false, false, true); int020(23, false, false, true); int020(37, false, false, true); int023([WalkableArea_7], 16777215, 8240); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([WalkableAreas])); SetChannelRanges(0, 999, 0, 999); int001(55); SetLoc(8.125, 7.25, 0); SetSize(2.75, 0.5, 0); SetTranslation(-1.375, -0.25, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 0.5, 0); int038(1, 2.75, 0.5, 0); int038(2, 2.75, 0, 0); int038(3, 0, 0, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(0); int018; {Atom: WalkableArea_8} sets; AtomByName([WalkableArea], Main); if(not(AtomExists), Error([Cannot find mother atom 'WalkableArea'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [WalkableArea_8], 1, false); SetAtt(1, 1); SetAtt(2, 7); SetAtt(3, 0); SetAtt(4, 0); SetAtt(5, 31); SetAtt(6, 0); SetAtt(7, 0); SetAtt(8, 7); SetAtt(9, 1); SetAtt(10, 1); SetAtt(11, 0); SetAtt(12, 0); SetAtt(13, 0); SetAtt(14, 3); SetExprAtt(15, [Color(c)]); SetAtt(16, 3); SetAtt(17, 0); SetExprAtt(18, [ColorBlack]); SetAtt(19, 0); SetAtt(20, 1.4142135623731); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 0); SetAtt(24, 0); SetAtt(25, 3); SetExprAtt(26, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(27, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_UP)]); SetExprAtt(28, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_DOWN)]); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 3); SetAtt(32, -1); SetAtt(33, -1); SetAtt(34, 0); SetAtt(35, 0); SetAtt(36, 0); SetAtt(37, 0); int020(1, false, false, true); int020(2, false, false, true); int020(3, false, false, true); int020(4, false, false, true); int020(6, false, false, true); int020(7, false, false, true); int020(8, false, false, true); int020(9, false, false, true); int020(10, false, false, true); int020(11, false, false, true); int020(12, false, false, true); int020(13, false, false, true); int020(14, false, false, true); int020(15, false, false, true); int020(16, false, false, true); int020(17, false, false, true); int020(18, false, false, true); int020(19, false, false, true); int020(20, false, false, true); int020(21, false, false, true); int020(23, false, false, true); int020(37, false, false, true); int023([WalkableArea_8], 16777215, 8240); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([WalkableAreas])); SetChannelRanges(0, 999, 0, 999); int001(56); SetLoc(5.75, 7.25, 0); SetSize(2, 2, 0); SetTranslation(-1, -1, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 2, 0); int038(1, 2, 2, 0); int038(2, 2, 0, 0); int038(3, 0, 0, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(0); int018; {Atom: Copy of WalkableArea_7} sets; AtomByName([WalkableArea], Main); if(not(AtomExists), Error([Cannot find mother atom 'WalkableArea'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Copy of WalkableArea_7], 1, false); SetAtt(1, 2); SetAtt(2, 7); SetAtt(3, 0); SetAtt(4, 0); SetAtt(5, 31); SetAtt(6, 0); SetAtt(7, 0); SetAtt(8, 7); SetAtt(9, 1); SetAtt(10, 1); SetAtt(11, 0); SetAtt(12, 0); SetAtt(13, 0); SetAtt(14, 3); SetExprAtt(15, [Color(c)]); SetAtt(16, 3); SetAtt(17, 0); SetExprAtt(18, [ColorBlack]); SetAtt(19, 0); SetAtt(20, 1.39754248593737); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 0); SetAtt(24, 0); SetAtt(25, 3); SetExprAtt(26, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(27, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_UP)]); SetExprAtt(28, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_DOWN)]); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 3); SetAtt(32, -1); SetAtt(33, -1); SetAtt(34, 0); SetAtt(35, 0); SetAtt(36, 0); SetAtt(37, 0); int020(1, false, false, true); int020(2, false, false, true); int020(3, false, false, true); int020(4, false, false, true); int020(6, false, false, true); int020(7, false, false, true); int020(8, false, false, true); int020(9, false, false, true); int020(10, false, false, true); int020(11, false, false, true); int020(12, false, false, true); int020(13, false, false, true); int020(14, false, false, true); int020(15, false, false, true); int020(16, false, false, true); int020(17, false, false, true); int020(18, false, false, true); int020(19, false, false, true); int020(20, false, false, true); int020(21, false, false, true); int020(23, false, false, true); int020(37, false, false, true); int023([Copy of WalkableArea_7], 16777215, 8240); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([WalkableAreas])); SetChannelRanges(0, 999, 0, 999); int001(57); SetLoc(15.875, 7.25, 0); SetSize(2.75, 0.5, 0); SetTranslation(-1.375, -0.25, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 0.5, 0); int038(1, 2.75, 0.5, 0); int038(2, 2.75, 0, 0); int038(3, 0, 0, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(0); int018; {Atom: Copy of WalkableArea_8} sets; AtomByName([WalkableArea], Main); if(not(AtomExists), Error([Cannot find mother atom 'WalkableArea'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Copy of WalkableArea_8], 1, false); SetAtt(1, 1); SetAtt(2, 7); SetAtt(3, 0); SetAtt(4, 0); SetAtt(5, 31); SetAtt(6, 0); SetAtt(7, 0); SetAtt(8, 7); SetAtt(9, 1); SetAtt(10, 1); SetAtt(11, 0); SetAtt(12, 0); SetAtt(13, 0); SetAtt(14, 3); SetExprAtt(15, [Color(c)]); SetAtt(16, 3); SetAtt(17, 0); SetExprAtt(18, [ColorBlack]); SetAtt(19, 0); SetAtt(20, 1.4142135623731); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 0); SetAtt(24, 0); SetAtt(25, 3); SetExprAtt(26, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(27, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_UP)]); SetExprAtt(28, [SlopeSpeed_DetermineHorizontalSpeedPerc(WalkableArea_GetSlope(c), DIRECTION_DOWN)]); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 3); SetAtt(32, -1); SetAtt(33, -1); SetAtt(34, 0); SetAtt(35, 0); SetAtt(36, 0); SetAtt(37, 0); int020(1, false, false, true); int020(2, false, false, true); int020(3, false, false, true); int020(4, false, false, true); int020(6, false, false, true); int020(7, false, false, true); int020(8, false, false, true); int020(9, false, false, true); int020(10, false, false, true); int020(11, false, false, true); int020(12, false, false, true); int020(13, false, false, true); int020(14, false, false, true); int020(15, false, false, true); int020(16, false, false, true); int020(17, false, false, true); int020(18, false, false, true); int020(19, false, false, true); int020(20, false, false, true); int020(21, false, false, true); int020(23, false, false, true); int020(37, false, false, true); int023([Copy of WalkableArea_8], 16777215, 8240); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([WalkableAreas])); SetChannelRanges(0, 999, 0, 999); int001(58); SetLoc(18.25, 7.25, 0); SetSize(2, 2, 0); SetTranslation(-1, -1, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(4); int038(0, 0, 2, 0); int038(1, 2, 2, 0); int038(2, 2, 0, 0); int038(3, 0, 0, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(0); int018; Up; {Atom: lstObstacles} sets; AtomByName([lstObstacles], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstObstacles'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstObstacles], 1, false); int023([lstObstacles], 0, 527360); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([PD_Environment])); int001(59); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstOpenings} sets; AtomByName([lstOpenings], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstOpenings'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstOpenings], 1, false); int023([lstOpenings], 0, 527360); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([PD_Environment])); int001(60); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstTransportation} sets; AtomByName([lstTransportation], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstTransportation'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstTransportation], 1, false); int023([lstTransportation], 0, 527360); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(61); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstActivities} sets; AtomByName([lstActivities], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstActivities'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstActivities], 1, false); int023([lstActivities], 0, 527360); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([PD_Environment])); int001(62); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: Entry} sets; AtomByName([ActivityLocation], Main); if(not(AtomExists), Error([Cannot find mother atom 'ActivityLocation'. Inheriting from BaseClass.])); CreateAtom(a, s, [Entry], 1, false); SetAtt(1, 8); SetExprAtt(2, [ACTIVITYTYPE_ENTRY_EXIT]); SetAtt(3, 2); SetExprAtt(4, [19 {with polygon and trapezoid: 31}]); SetAtt(5, 0); SetAtt(6, 7); SetAtt(7, 1); SetTextAtt(8, [0]); SetAtt(9, 0); SetAtt(10, 0); SetAtt(11, 2001); SetExprAtt(12, [0]); SetExprAtt(13, [0]); SetAtt(14, 0); SetAtt(15, 1); SetExprAtt(16, [{**Random**} Primitives_RandomPoint(c, Agent_GetRadius(i), PDEnvAtom)]); SetExprAtt(17, [{**Continue from current location**} Points_Get(i, 1) ]); SetExprAtt(18, [0]); SetExprAtt(19, [0]); SetAtt(20, 1); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 16711680); SetAtt(24, 0); SetAtt(25, 0); SetAtt(26, 0); SetExprAtt(27, [0]); SetAtt(28, 0); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 1); SetAtt(32, 1); SetExprAtt(33, [0]); SetAtt(34, 100000); SetAtt(35, 13001); SetAtt(36, 0); SetAtt(37, 0); SetExprAtt(38, [1]); SetExprAtt(39, [0]); SetAtt(40, 0); SetExprAtt(41, [v {**current rotation**}]); SetExprAtt(42, [0]); SetAtt(43, 0); SetAtt(44, 0); SetAtt(45, 0); SetAtt(46, 0); SetAtt(47, 0); SetAtt(48, 0); SetAtt(49, 0); SetAtt(50, 0); SetAtt(51, 0.75); SetAtt(52, 0); SetAtt(53, 0); SetExprAtt(54, [0]); SetAtt(55, 0); SetAtt(56, 0); SetExprAtt(57, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(58, [0]); SetExprAtt(59, [0]); SetExprAtt(60, [4DS[{**Trigger first waiting agents in connected corridor**} do( var([valIndex], vbValue, 1 {indicative corridor index}), if( IcConnected(ActivityLocation_GetServerQueues(c) + valIndex, c), IndicativeCorridor_TriggerAllWaitingAgents(in(ActivityLocation_GetServerQueues(c) + valIndex, c), TRUE {condition}, c, 1 {nr to trigger}) ) )]4DS]); SetTextAtt(61, []); SetExprAtt(62, [0]); int023([Entry], 16711680, 533552); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([Activities])); SetChannelRanges(0, 0, 0, 999); int001(68); SetLoc(12, 7.25, 0); SetSize(5, 5, 1); SetTranslation(-2.5, -2.5, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(1, 4); int015(0, 64, [`` 1 ]); int015(1, 64, [`Start time` -1 ]); int015(2, 76, [`Time open` 0 ]); int015(3, 93, [`Trigger on start` 0 ]); int015(4, 115, [`Trigger on end` 0 ]); int037(4); int038(0, 0, 0, 0); int038(1, 5, 0, 0); int038(2, 5, 5, 0); int038(3, 0, 5, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(11); int018; {Atom: Exit} sets; AtomByName([ActivityLocation], Main); if(not(AtomExists), Error([Cannot find mother atom 'ActivityLocation'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Exit], 1, false); SetAtt(1, 9); SetExprAtt(2, [ACTIVITYTYPE_ENTRY_EXIT]); SetAtt(3, 2); SetExprAtt(4, [19 {with polygon and trapezoid: 31}]); SetAtt(5, 0); SetAtt(6, 7); SetAtt(7, 1); SetTextAtt(8, [0]); SetAtt(9, 0); SetAtt(10, 0); SetAtt(11, 2001); SetExprAtt(12, [0]); SetExprAtt(13, [0]); SetAtt(14, 0); SetAtt(15, 1); SetExprAtt(16, [{**Random**} Primitives_RandomPoint(c, Agent_GetRadius(i), PDEnvAtom)]); SetExprAtt(17, [{**Continue from current location**} Points_Get(i, 1) ]); SetExprAtt(18, [0]); SetExprAtt(19, [0]); SetAtt(20, 1); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 16711680); SetAtt(24, 0); SetAtt(25, 0); SetAtt(26, 0); SetExprAtt(27, [0]); SetAtt(28, 0); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 1); SetAtt(32, 1); SetExprAtt(33, [0]); SetAtt(34, 100000); SetAtt(35, 13001); SetAtt(36, 0); SetAtt(37, 0); SetExprAtt(38, [1]); SetExprAtt(39, [0]); SetAtt(40, 0); SetExprAtt(41, [v {**current rotation**}]); SetExprAtt(42, [0]); SetAtt(43, 0); SetAtt(44, 0); SetAtt(45, 0); SetAtt(46, 0); SetAtt(47, 0); SetAtt(48, 0); SetAtt(49, 0); SetAtt(50, 0); SetAtt(51, 0.75); SetAtt(52, 0); SetAtt(53, 0); SetExprAtt(54, [0]); SetAtt(55, 0); SetAtt(56, 0); SetExprAtt(57, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(58, [0]); SetExprAtt(59, [0]); SetExprAtt(60, [4DS[{**Trigger first waiting agents in connected corridor**} do( var([valIndex], vbValue, 1 {indicative corridor index}), if( IcConnected(ActivityLocation_GetServerQueues(c) + valIndex, c), IndicativeCorridor_TriggerAllWaitingAgents(in(ActivityLocation_GetServerQueues(c) + valIndex, c), TRUE {condition}, c, 1 {nr to trigger}) ) )]4DS]); SetTextAtt(61, []); SetExprAtt(62, [0]); int023([Exit], 16711680, 533552); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([Activities])); SetChannelRanges(0, 0, 0, 999); int001(69); SetLoc(5.75, 7.25, 0); SetSize(1.5, 1.5, 1); SetTranslation(-0.75, -0.75, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(1, 4); int015(0, 64, [`` 1 ]); int015(1, 64, [`Start time` -1 ]); int015(2, 76, [`Time open` 0 ]); int015(3, 93, [`Trigger on start` 0 ]); int015(4, 115, [`Trigger on end` 0 ]); int037(4); int038(0, 0, 0, 0); int038(1, 1.5, 0, 0); int038(2, 1.5, 1.5, 0); int038(3, 0, 1.5, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(11); int018; {Atom: Exit} sets; AtomByName([ActivityLocation], Main); if(not(AtomExists), Error([Cannot find mother atom 'ActivityLocation'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Exit], 1, false); SetAtt(1, 10); SetExprAtt(2, [ACTIVITYTYPE_ENTRY_EXIT]); SetAtt(3, 2); SetExprAtt(4, [19 {with polygon and trapezoid: 31}]); SetAtt(5, 0); SetAtt(6, 7); SetAtt(7, 1); SetTextAtt(8, [0]); SetAtt(9, 0); SetAtt(10, 0); SetAtt(11, 2001); SetExprAtt(12, [0]); SetExprAtt(13, [0]); SetAtt(14, 0); SetAtt(15, 1); SetExprAtt(16, [{**Random**} Primitives_RandomPoint(c, Agent_GetRadius(i), PDEnvAtom)]); SetExprAtt(17, [{**Continue from current location**} Points_Get(i, 1) ]); SetExprAtt(18, [0]); SetExprAtt(19, [0]); SetAtt(20, 1); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 16711680); SetAtt(24, 0); SetAtt(25, 0); SetAtt(26, 0); SetExprAtt(27, [0]); SetAtt(28, 0); SetAtt(29, 0); SetAtt(30, 0); SetAtt(31, 1); SetAtt(32, 1); SetExprAtt(33, [0]); SetAtt(34, 100000); SetAtt(35, 13001); SetAtt(36, 0); SetAtt(37, 0); SetExprAtt(38, [1]); SetExprAtt(39, [0]); SetAtt(40, 0); SetExprAtt(41, [v {**current rotation**}]); SetExprAtt(42, [0]); SetAtt(43, 0); SetAtt(44, 0); SetAtt(45, 0); SetAtt(46, 0); SetAtt(47, 0); SetAtt(48, 0); SetAtt(49, 0); SetAtt(50, 0); SetAtt(51, 0.75); SetAtt(52, 0); SetAtt(53, 0); SetExprAtt(54, [0]); SetAtt(55, 0); SetAtt(56, 0); SetExprAtt(57, [DIRECTION_BIDIRECTIONAL]); SetExprAtt(58, [0]); SetExprAtt(59, [0]); SetExprAtt(60, [4DS[{**Trigger first waiting agents in connected corridor**} do( var([valIndex], vbValue, 1 {indicative corridor index}), if( IcConnected(ActivityLocation_GetServerQueues(c) + valIndex, c), IndicativeCorridor_TriggerAllWaitingAgents(in(ActivityLocation_GetServerQueues(c) + valIndex, c), TRUE {condition}, c, 1 {nr to trigger}) ) )]4DS]); SetTextAtt(61, []); SetExprAtt(62, [0]); int023([Exit], 16711680, 533552); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([Activities])); SetChannelRanges(0, 0, 0, 999); int001(70); SetLoc(18.25, 7.25, 0); SetSize(1.5, 1.5, 1); SetTranslation(-0.75, -0.75, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(1, 4); int015(0, 64, [`` 1 ]); int015(1, 64, [`Start time` -1 ]); int015(2, 76, [`Time open` 0 ]); int015(3, 93, [`Trigger on start` 0 ]); int015(4, 115, [`Trigger on end` 0 ]); int037(4); int038(0, 0, 0, 0); int038(1, 1.5, 0, 0); int038(2, 1.5, 1.5, 0); int038(3, 0, 1.5, 0); int039; Set(Points_PrimitiveType(a), 7); SetStatus(11); int018; Up; {Atom: lstUserActions} sets; AtomByName([lstUserActions], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstUserActions'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstUserActions], 1, false); int023([lstUserActions], 0, 527360); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([PD_Environment])); int001(71); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstAgents} sets; AtomByName([lstAgents], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstAgents'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstAgents], 1, false); int023([lstAgents], 0, 527360); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(72); SetLoc(0, 0, -5); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstResources} sets; AtomByName([lstResources], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstResources'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstResources], 1, false); int023([lstResources], 0, 527360); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(73); SetLoc(0, 0, -5); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: ECM_Visualization} sets; AtomByName([ECM_Visualization], Main); if(not(AtomExists), Error([Cannot find mother atom 'ECM_Visualization'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [ECM_Visualization], 1, false); int023([ECM_Visualization], 0, 542768); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([ECMNetwork])); int001(74); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; Up; Up; {Atom: AgentDrawInformation} sets; AtomByName([AgentDrawInformation], Main); if(not(AtomExists), Error([Cannot find mother atom 'AgentDrawInformation'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [AgentDrawInformation], 1, false); SetAtt(1, 14); SetAtt(2, 0); int023([AgentDrawInformation], 0, 546864); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([PD_Environment])); int001(75); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: RunClock} sets; AtomByName([RunClock], Main); if(not(AtomExists), Error([Cannot find mother atom 'RunClock'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [RunClock], 1, false); SetExprAtt(1, [4DS[DateTime(TimeFromNow(att([startTime], c)), [hh:mm:ss])]4DS]); SetExprAtt(2, [1]); SetExprAtt(3, [colorwhite]); SetAtt(4, 3); SetExprAtt(5, [4DS[[Calibri]]4DS]); SetAtt(6, 0); SetAtt(7, 0); SetAtt(8, 0); SetAtt(9, -45); SetAtt(10, 0); SetExprAtt(11, [Time > 0]); SetAtt(12, 0.2); SetExprAtt(13, [Time > 0]); SetAtt(14, 0); SetAtt(15, 0); SetAtt(16, 0); SetAtt(17, 0); int023([RunClock], 15, 542768); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Tools.ico])); Layer(LayerByName([PD_Environment])); SetChannels(1, 0); SetChannelRanges(1, 1, 0, 0); int001(76); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: MovieRecord} sets; AtomByName([MovieRecord], Main); if(not(AtomExists), Error([Cannot find mother atom 'MovieRecord'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [MovieRecord], 1, false); SetExprAtt(1, [4DS[WorkDir(Concat(ExtractPreName(TextAtt(1, Model)), [.avi]))]4DS]); SetAtt(2, 5); SetAtt(3, -1); SetAtt(4, 0); SetAtt(5, 0.2); SetAtt(6, 0); SetAtt(7, 1600); SetAtt(8, 900); SetExprAtt(9, [0]); SetAtt(10, 1); int023([MovieRecord], 15, 542720); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Tools.ico])); Layer(LayerByName([DoNotDraw])); SetChannels(1, 0); SetChannelRanges(1, 1, 0, 0); int001(77); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: SelectionPolygon} sets; AtomByName([SelectionPolygon], Main); if(not(AtomExists), Error([Cannot find mother atom 'SelectionPolygon'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [SelectionPolygon], 1, false); SetAtt(1, 8); int023([SelectionPolygon], 0, 528432); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(78); LockPosition(false); LockSize(false); DisableIconRotation(false); Set(Points_PrimitiveType(a), 10); SetStatus(0); int018; Up; {Atom: PD_Output} sets; AtomByName([PD_Output], Main); if(not(AtomExists), Error([Cannot find mother atom 'PD_Output'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [PD_Output], 1, false); SetExprAtt(1, [0]); SetExprAtt(2, [0]); SetAtt(3, 0); SetAtt(4, 1); SetAtt(5, 2.5); SetAtt(6, 0); SetAtt(7, 0); SetAtt(8, 0); SetAtt(9, 1); SetAtt(10, 0); Set(Att(11), 0); SetTextAtt(12, [0]); SetAtt(13, 0.25); SetAtt(14, 1); SetAtt(15, 1); SetAtt(16, 0.6); SetAtt(17, 8.38); SetTextAtt(18, [€]); SetAtt(19, 0.6667); SetAtt(20, 0.5); SetAtt(21, 2); SetAtt(22, 1); int041(0, 12, [`Walking`;2;0.5; `Walking`;2;0.5; `Walking`;2;0.5; `Stairs up`;4;0.5; `Stairs down`;2.5;0.5; `Escalator`;1.5;0; `Escalator`;1.5;0; `Stairs up`;4;0.5; `Stairs down`;2.5;0.5; `Stands`;2;0.5; `Stairs up`;4;0.5; `Stairs down`;2.5;0.5; ]); int042(0, 0); int042(1, 0); int023([PD_Output], 13158600, 541728); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([PD_Environment])); int001(79); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: OutputLayer_1} sets; AtomByName([OutputLayer], Main); if(not(AtomExists), Error([Cannot find mother atom 'OutputLayer'. Inheriting from BaseClass.])); CreateAtom(a, s, [OutputLayer_1], 1, false); Set(Att(1), 0); Set(Att(2), 0); Set(Att(3), 0); SetAtt(4, 1); int023([OutputLayer_1], 8421504, 533552); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([HeightLayers])); SetChannels(1, 0); SetChannelRanges(1, 255, 0, 0); int001(80); SetSize(24, 20, 0); LockPosition(true); LockSize(true); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstColorMaps} sets; AtomByName([lstColorMaps], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstColorMaps'. Inheriting from BaseClass.])); CreateAtom(a, s, [lstColorMaps], 1, false); int023([lstColorMaps], 0, 525312); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([HeightLayers])); int001(81); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstFlowCounters} sets; AtomByName([lstFlowCounters], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstFlowCounters'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstFlowCounters], 1, false); int023([lstFlowCounters], 0, 525312); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([HeightLayers])); int001(82); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstDensityAreas} sets; AtomByName([lstDensityAreas], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstDensityAreas'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstDensityAreas], 1, false); int023([lstDensityAreas], 0, 525312); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([HeightLayers])); int001(83); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstColorMaps} sets; AtomByName([lstColorMaps], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstColorMaps'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstColorMaps], 1, false); int023([lstColorMaps], 0, 525312); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([HeightLayers])); int001(84); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; Up; {Atom: OutputLayer_2} sets; AtomByName([OutputLayer], Main); if(not(AtomExists), Error([Cannot find mother atom 'OutputLayer'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [OutputLayer_2], 1, false); Set(Att(1), 0); Set(Att(2), 0); Set(Att(3), 0); SetAtt(4, 2); int023([OutputLayer_2], 8421504, 533552); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([HeightLayers])); SetChannels(1, 0); SetChannelRanges(1, 255, 0, 0); int001(85); SetLoc(0, 0, 5); SetSize(26, 9, 0); SetTranslation(-1, 3.5, 0); LockPosition(true); LockSize(true); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstColorMaps} sets; AtomByName([lstColorMaps], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstColorMaps'. Inheriting from BaseClass.])); CreateAtom(a, s, [lstColorMaps], 1, false); int023([lstColorMaps], 0, 525312); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); int001(86); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstFlowCounters} sets; AtomByName([lstFlowCounters], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstFlowCounters'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstFlowCounters], 1, false); int023([lstFlowCounters], 0, 525312); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(87); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: FlowCounter 1} sets; AtomByName([FlowCounter], Main); if(not(AtomExists), Error([Cannot find mother atom 'FlowCounter'. Inheriting from BaseClass.])); CreateAtom(a, s, [FlowCounter 1], 1, false); SetAtt(1, 32); SetAtt(2, 1); SetAtt(3, 32); SetAtt(4, 0); SetExprAtt(5, [RgbColor(68, 102, 163)]); SetExprAtt(6, [RgbColor(243, 156, 53)]); SetAtt(7, 0); SetAtt(8, 0); SetExprAtt(9, [FrequencyNorms_GetDefaultGraphType(atmFrequencyNorms)]); SetExprAtt(10, [FrequencyNorms_GetDefaultGraphView3D(atmFrequencyNorms)]); SetExprAtt(11, [FrequencyNorms_GetBottomLabelsAngle(atmFrequencyNorms)]); SetExprAtt(12, [FrequencyNorms_GetMinY(atmFrequencyNorms)]); SetExprAtt(13, [FrequencyNorms_GetMaxY(atmFrequencyNorms)]); SetAtt(14, 0); SetExprAtt(15, [FrequencyNorms_GetShowPerMeter(atmFrequencyNorms)]); SetTextAtt(16, []); SetTextAtt(17, [Left to Right]); SetTextAtt(18, [Right to Left]); int023([FlowCounter 1], 0, 8240); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\OutputLayout\draw_flowcounter16.ico])); Layer(LayerByName([Output])); SetChannelRanges(0, 999, 0, 999); int001(121); SetLoc(9.5, 7.25, 0.1); SetSize(0.5, 0, 0); SetTranslation(-0.25, 0, 0); Set(RotationAs, 270); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(2); int038(0, 0, 0, 0); int038(1, 0.5, 0, 0); int039; Set(Points_PrimitiveType(a), 1); SetStatus(0); int018; {Atom: FlowCounter 2} sets; AtomByName([FlowCounter], Main); if(not(AtomExists), Error([Cannot find mother atom 'FlowCounter'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [FlowCounter 2], 1, false); SetAtt(1, 32); SetAtt(2, 1); SetAtt(3, 32); SetAtt(4, 0); SetExprAtt(5, [RgbColor(68, 102, 163)]); SetExprAtt(6, [RgbColor(243, 156, 53)]); SetAtt(7, 0); SetAtt(8, 0); SetExprAtt(9, [FrequencyNorms_GetDefaultGraphType(atmFrequencyNorms)]); SetExprAtt(10, [FrequencyNorms_GetDefaultGraphView3D(atmFrequencyNorms)]); SetExprAtt(11, [FrequencyNorms_GetBottomLabelsAngle(atmFrequencyNorms)]); SetExprAtt(12, [FrequencyNorms_GetMinY(atmFrequencyNorms)]); SetExprAtt(13, [FrequencyNorms_GetMaxY(atmFrequencyNorms)]); SetAtt(14, 0); SetExprAtt(15, [FrequencyNorms_GetShowPerMeter(atmFrequencyNorms)]); SetTextAtt(16, []); SetTextAtt(17, [Left to Right]); SetTextAtt(18, [Right to Left]); int023([FlowCounter 2], 0, 8240); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\OutputLayout\draw_flowcounter16.ico])); Layer(LayerByName([Output])); SetChannelRanges(0, 999, 0, 999); int001(122); SetLoc(14.5, 7.25, 0.1); SetSize(0.5, 0, 0); SetTranslation(-0.25, 0, 0); Set(RotationAs, 90); LockPosition(false); LockSize(true); DisableIconRotation(false); int037(2); int038(0, 0, 0, 0); int038(1, 0.5, 0, 0); int039; Set(Points_PrimitiveType(a), 1); SetStatus(0); int018; Up; {Atom: lstDensityAreas} sets; AtomByName([lstDensityAreas], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstDensityAreas'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstDensityAreas], 1, false); int023([lstDensityAreas], 0, 525312); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(88); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstColorMaps} sets; AtomByName([lstColorMaps], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstColorMaps'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [lstColorMaps], 1, false); int023([lstColorMaps], 0, 525312); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(89); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; Up; {Atom: OutputSettings} sets; AtomByName([List], Main); if(not(AtomExists), Error([Cannot find mother atom 'List'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [OutputSettings], 1, false); int023([OutputSettings], 0, 4096); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(90); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstNorms} sets; AtomByName([List], Main); if(not(AtomExists), Error([Cannot find mother atom 'List'. Inheriting from BaseClass.])); CreateAtom(a, s, [lstNorms], 1, false); int023([lstNorms], 0, 1024); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(91); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: DensityNorms} sets; AtomByName([DensityNorms], Main); if(not(AtomExists), Error([Cannot find mother atom 'DensityNorms'. Inheriting from BaseClass.])); CreateAtom(a, s, [DensityNorms], 1, false); SetAtt(1, 0); SetAtt(2, 0); SetAtt(3, 30); SetAtt(4, 0); SetAtt(5, 0); SetAtt(6, 0); SetAtt(7, 0); SetAtt(8, 16001); SetAtt(9, 1); SetAtt(10, 0); SetAtt(11, 1); SetAtt(12, 17002); SetExprAtt(13, [{**>= Level E**} CellAsValue(6, DENSITYNORMS_COLUMN_LOWERBOUNDARY, atmDensityNorms)]); SetExprAtt(14, [{**No upper bound**} 0]); SetAtt(15, 0); int023([DensityNorms], 0, 528384); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(92); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(7, 5); int015(0, 64, [0 1 2 3 4 5 6 7 ]); int015(1, 64, [`LOS` `-` `A` `B` `C` `D` `E` `F` ]); int015(2, 98, [`Lower bound` 0 1E-6 0.308 0.431 0.718 1.076 2.153 ]); int015(3, 102, [`Upper bound` 1E-6 0.308 0.431 0.718 1.076 2.153 3 ]); int015(4, 64, [`Color` 16777215 16744448 65280 65535 33023 255 8388736 ]); int015(5, 105, [`Description` `empty` `few` `few/medium` `medium` `busy` `very busy` `congested` ]); SetStatus(0); int018; {Atom: DensityNorms_Walkways} sets; AtomByName([DensityNorms_Walkways], Main); if(not(AtomExists), Error([Cannot find mother atom 'DensityNorms_Walkways'. Inheriting from BaseClass.])); CreateAtom(a, s, [DensityNorms_Walkways], 1, false); int023([DensityNorms_Walkways], 0, 0); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(93); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(7, 5); int015(0, 64, [0 1 2 3 4 5 6 7 ]); int015(1, 64, [`LOS` `-` `A` `B` `C` `D` `E` `F` ]); int015(2, 98, [`Lower bound` 0 1E-6 0.308 0.431 0.718 1.076 2.153 ]); int015(3, 102, [`Upper bound` 1E-6 0.308 0.431 0.718 1.076 2.153 3 ]); int015(4, 64, [`Color` 16777215 16744448 65280 65535 33023 255 8388736 ]); int015(5, 105, [`Description` `empty` `few` `few/medium` `medium` `busy` `very busy` `congested` ]); SetStatus(0); int018; {Atom: DensityNorms_Stairways} sets; AtomByName([DensityNorms_Stairways], Main); if(not(AtomExists), Error([Cannot find mother atom 'DensityNorms_Stairways'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [DensityNorms_Stairways], 1, false); int023([DensityNorms_Stairways], 0, 0); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(94); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(7, 5); int015(0, 64, [0 1 2 3 4 5 6 7 ]); int015(1, 64, [`LOS` `-` `A` `B` `C` `D` `E` `F` ]); int015(2, 98, [`Lower bound` 0 1E-6 0.538 0.718 1.076 1.538 2.691 ]); int015(3, 102, [`Upper bound` 1E-6 0.538 0.718 1.076 1.538 2.691 3 ]); int015(4, 64, [`Color` 16777215 16744448 65280 65535 33023 255 8388736 ]); int015(5, 105, [`Description` `empty` `few` `few/medium` `medium` `busy` `very busy` `congested` ]); SetStatus(0); int018; {Atom: DensityTimeNorms} sets; AtomByName([DensityTimeNorms], Main); if(not(AtomExists), Error([Cannot find mother atom 'DensityTimeNorms'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [DensityTimeNorms], 1, false); int023([DensityTimeNorms], 0, 4096); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(95); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(7, 5); int015(0, 64, [0 1 2 3 4 5 6 7 ]); int015(1, 64, [`Level` 0 1 2 3 4 5 6 ]); int015(2, 98, [`Lower bound` 0 1E-6 60 120 180 240 300 ]); int015(3, 102, [`Upper bound` 1E-6 60 120 180 240 300 301 ]); int015(4, 64, [`Color` 16777215 16744448 65280 65535 33023 255 8388736 ]); int015(5, 64, [`Description` `` `A` `B` `C` `D` `E` `F` ]); SetStatus(0); int018; Up; {Atom: FrequencyNorms} sets; AtomByName([FrequencyNorms], Main); if(not(AtomExists), Error([Cannot find mother atom 'FrequencyNorms'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [FrequencyNorms], 1, false); SetAtt(1, 0); SetAtt(2, 0); SetAtt(3, 17002); SetAtt(4, 0); SetAtt(5, 0); SetAtt(6, 60); SetAtt(7, 0); SetAtt(8, 0); SetExprAtt(9, [GraphBar]); SetAtt(10, 0); SetAtt(11, 0); SetAtt(12, 0); SetAtt(13, 0); SetAtt(14, 0); SetAtt(15, 18001); SetAtt(16, 1); SetAtt(17, 0); int023([FrequencyNorms], 0, 528384); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(96); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(7, 5); int015(0, 64, [0 1 2 3 4 5 6 7 ]); int015(1, 64, [`Level` 0 1 2 3 4 5 6 ]); int015(2, 98, [`Lower bound` 0 1E-6 200 400 600 800 1000 ]); int015(3, 102, [`Upper bound` 1E-6 200 400 600 800 1000 1001 ]); int015(4, 64, [`Color` 16777215 16744448 65280 65535 33023 255 8388736 ]); int015(5, 105, [`Description` `` `A` `B` `C` `D` `E` `F` ]); SetStatus(0); int018; {Atom: TimeOccupiedNorms} sets; AtomByName([TimeOccupiedNorms], Main); if(not(AtomExists), Error([Cannot find mother atom 'TimeOccupiedNorms'. Inheriting from BaseClass.])); CreateAtom(a, s, [TimeOccupiedNorms], 1, false); int023([TimeOccupiedNorms], 0, 4096); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(97); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(7, 5); int015(0, 64, [0 1 2 3 4 5 6 7 ]); int015(1, 64, [`Level` 0 1 2 3 4 5 6 ]); int015(2, 98, [`Lower bound` 0 1E-6 60 120 180 240 300 ]); int015(3, 102, [`Upper bound` 1E-6 60 120 180 240 300 301 ]); int015(4, 64, [`Color` 16777215 16744448 65280 65535 33023 255 8388736 ]); int015(5, 64, [`Description` `` `A` `B` `C` `D` `E` `F` ]); SetStatus(0); int018; Up; {Atom: TravelTimeNorms} sets; AtomByName([TravelTimeNorms], Main); if(not(AtomExists), Error([Cannot find mother atom 'TravelTimeNorms'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [TravelTimeNorms], 1, false); SetAtt(1, 0); SetAtt(2, 17002); SetAtt(3, 0); SetAtt(4, 1); SetAtt(5, 0); int023([TravelTimeNorms], 0, 528384); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(98); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(7, 5); int015(0, 64, [0 1 2 3 4 5 6 7 ]); int015(1, 64, [`Level` 0 1 2 3 4 5 6 ]); int015(2, 98, [`Lower bound` 0 1E-6 120 240 360 480 600 ]); int015(3, 102, [`Upper bound` 1E-6 120 240 360 480 600 601 ]); int015(4, 64, [`Color` 16777215 16744448 65280 65535 33023 255 8388736 ]); int015(5, 64, [`Description` `` `A` `B` `C` `D` `E` `F` ]); SetStatus(0); int018; Up; {Atom: LstOutputActivityRoutes} sets; AtomByName([lstOutputActivityRoutes], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstOutputActivityRoutes'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [LstOutputActivityRoutes], 1, false); int023([LstOutputActivityRoutes], 0, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(99); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: EntryToExit} sets; AtomByName([ActivityRoute], Main); if(not(AtomExists), Error([Cannot find mother atom 'ActivityRoute'. Inheriting from BaseClass.])); CreateAtom(a, s, [EntryToExit], 1, false); SetAtt(1, 30); SetAtt(2, 40); SetAtt(3, 0); SetAtt(4, 0); SetAtt(5, 10); SetAtt(6, 20); SetExprAtt(7, [{**>= Level E**} Cell(6, DENSITYNORMS_COLUMN_LOWERBOUNDARY, atmDensityNorms)]); SetExprAtt(8, [{**No upper bound**} 0]); SetAtt(9, 30); SetAtt(10, 40); SetAtt(11, 10); SetAtt(12, 40); SetAtt(13, 60); SetTextAtt(14, []); SetTextAtt(15, []); SetTextAtt(16, []); SetTextAtt(17, []); SetTextAtt(18, []); SetTextAtt(19, []); SetAtt(20, 120); SetAtt(21, 40); SetTextAtt(22, []); SetTextAtt(23, []); SetTextAtt(24, []); int023([EntryToExit], 0, 4096); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(100); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(2, 6); int015(0, 64, [0 1 2 ]); int015(1, 81, [`TravelTimeType` 3331 3331 ]); int015(2, 78, [`ActivityType` 6001 6001 ]); int015(3, 72, [`ActivityGroup` `-1` `-1` ]); int015(4, 64, [`LayerID` 0 0 ]); int015(5, 64, [`ActivityID` -1 -1 ]); int015(6, 64, [`TimeIn` 0 0 ]); SetStatus(0); int018; {Atom: EntryToExit} sets; AtomByName([TravelTimes], Main); if(not(AtomExists), Error([Cannot find mother atom 'TravelTimes'. Inheriting from BaseClass.])); CreateAtom(a, s, [EntryToExit], 1, false); int023([EntryToExit], 0, 1218); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(101); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; Up; Up; {Atom: ResultPlayer} sets; AtomByName([ResultPlayer], Main); if(not(AtomExists), Error([Cannot find mother atom 'ResultPlayer'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [ResultPlayer], 1, false); Set(Att(1), 0); SetAtt(2, 0); SetAtt(3, 0); SetAtt(4, 0); SetAtt(5, 0); SetAtt(6, 1); SetAtt(7, 0); SetAtt(8, 0); int042(0, 0); int023([ResultPlayer], 0, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(102); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: lstUnsedAgents} sets; AtomByName([lstUnsedAgents], Main); if(not(AtomExists), Error([Cannot find mother atom 'lstUnsedAgents'. Inheriting from BaseClass.])); CreateAtom(a, s, [lstUnsedAgents], 1, false); int023([lstUnsedAgents], 0, 524288); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\List.ico])); Layer(LayerByName([DoNotDraw])); int001(103); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; Up; {Atom: AgentStatistics} sets; AtomByName([AgentStatistics], Main); if(not(AtomExists), Error([Cannot find mother atom 'AgentStatistics'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [AgentStatistics], 1, false); SetAtt(1, 0); SetTextAtt(2, [D:\My Documents\Pedestrian Dynamics\3.1\Models\Support\Community\Experiment1\]); int023([AgentStatistics], 0, 528384); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); Layer(LayerByName([DoNotDraw])); int001(104); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: TransportOutput} sets; AtomByName([TransportOutput], Main); if(not(AtomExists), Error([Cannot find mother atom 'TransportOutput'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [TransportOutput], 1, false); SetAtt(1, 0); SetAtt(2, 0); int023([TransportOutput], 0, 525450); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); int001(118); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); int018; {Atom: TransportOutput_TransportGenerator_1} sets; AtomByName([TransportOutput], Main); if(not(AtomExists), Error([Cannot find mother atom 'TransportOutput'. Inheriting from BaseClass.])); CreateAtom(a, s, [TransportOutput_TransportGenerator_1], 1, false); SetAtt(1, 0); SetAtt(2, 1); int023([TransportOutput_TransportGenerator_1], 0, 525450); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default.jpg])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); int001(119); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(0, 16); int015(0, 0, [`` ]); int015(1, 0, [1 ]); int015(2, 0, [2 ]); int015(3, 0, [3 ]); int015(4, 0, [4 ]); int015(5, 0, [5 ]); int015(6, 0, [6 ]); int015(7, 0, [7 ]); int015(8, 0, [8 ]); int015(9, 0, [9 ]); int015(10, 0, [10 ]); int015(11, 0, [11 ]); int015(12, 0, [12 ]); int015(13, 0, [13 ]); int015(14, 0, [14 ]); int015(15, 0, [15 ]); int015(16, 0, [16 ]); SetStatus(0); int018; Up; Up; Up; Up; int014(0, 26, 1, 33, 0); int014(0, 52, 2, 33, 0); int014(0, 26, 1, 39, 0); int014(0, 52, 2, 39, 0); int014(1, 52, 0, 43, 0); int014(2, 52, 0, 38, 0); int006(0, 3, 2, 1000000, 0, 0); int006(0, 105, 1, 1000001, 0, 0); int006(0, 18, 3, 10000000, 0, 0); int007;