Jump to content

Component: Lift (Misc Shapes): Difference between revisions

From Flowcode Help
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead""
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
Line 101: Line 101:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CheckDoor'''
| width="90%" class="mtx-class-macrohead" | '''CheckDoor'''
|-
|-
| colspan="2" | Checks to see if the door is open, closed or moving. Returns 1 if the door is closed or 0 if the door is open. Returns 255 if the door is moving. 
| colspan="2" | Checks to see if the door is open, closed or moving. Returns 1 if the door is closed or 0 if the door is open. Returns 255 if the door is moving. 
Line 115: Line 115:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ControlDoor'''
| width="90%" class="mtx-class-macrohead" | '''ControlDoor'''
|-
|-
| colspan="2" | Controls the lift door.   
| colspan="2" | Controls the lift door.   
Line 134: Line 134:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetCameraPosition'''
| width="90%" class="mtx-class-macrohead" | '''GetCameraPosition'''
|-
|-
| colspan="2" | Gets the location of the camera objects to allow for automated 3D panel inside or outside tracking and views. Returns a Flowcode handle variable containing the position. 
| colspan="2" | Gets the location of the camera objects to allow for automated 3D panel inside or outside tracking and views. Returns a Flowcode handle variable containing the position. 
Line 154: Line 154:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|-
|-

Latest revision as of 14:23, 13 July 2026

Author Ben Rowland
Version 1.0
Category Misc Shapes


Lift component

Simple lift created using panel primitives with functioning doors. Includes camera controls to simplify simulations.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_Lift.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_Lift.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples






Macro reference

CheckDoor

CheckDoor
Checks to see if the door is open, closed or moving. Returns 1 if the door is closed or 0 if the door is open. Returns 255 if the door is moving. 
- BYTE Return


ControlDoor

ControlDoor
Controls the lift door.  
- BOOL State
State to move to 0=Open 1=Closed 
- VOID Return


GetCameraPosition

GetCameraPosition
Gets the location of the camera objects to allow for automated 3D panel inside or outside tracking and views. Returns a Flowcode handle variable containing the position. 
- BYTE View
Range: 0-1 Where 0 = Inside and 1 = Outside 
- HANDLE Return


Property reference

Properties
Viewpoint
Some useful camera positions 
Door Movement Period
Amount of time in milliseconds for the doors to open and close.