| IMyPistonBase Properties |
[This is preliminary documentation and is subject to change.]
The IMyPistonBase type exposes the following members.
| Name | Description | |
|---|---|---|
| BlockDefinition | (Inherited from IMyCubeBlock.) | |
| CheckConnectionAllowed | (Inherited from IMyCubeBlock.) | |
| Components | (Inherited from IMyEntity.) | |
| CubeGrid | (Inherited from IMyCubeBlock.) | |
| CurrentPosition |
Gets the current position of the piston head relative to the base.
| |
| CustomData |
Gets or sets the Custom Data string.
NOTE: Only use this for user input. For storing large mod configs, create your own MyModStorageComponent
(Inherited from IMyTerminalBlock.) | |
| CustomInfo | (Inherited from IMyTerminalBlock.) | |
| CustomName | (Inherited from IMyTerminalBlock.) | |
| CustomNameWithFaction | (Inherited from IMyTerminalBlock.) | |
| DefinitionDisplayNameText | (Inherited from IMyCubeBlock.) | |
| DetailedInfo | (Inherited from IMyTerminalBlock.) | |
| DisassembleRatio | (Inherited from IMyCubeBlock.) | |
| DisplayName | (Inherited from IMyEntity.) | |
| DisplayNameText | (Inherited from IMyCubeBlock.) | |
| Enabled | (Inherited from IMyFunctionalBlock.) | |
| EntityId | (Inherited from IMyEntity.) | |
| HasInventory | (Inherited from IMyEntity.) | |
| HighestPosition |
Gets the highest position the piston is capable of moving to.
| |
| InventoryCount | (Inherited from IMyEntity.) | |
| IsAttached |
Gets if the block base is attached to something
(Inherited from IMyMechanicalConnectionBlock.) | |
| IsBeingHacked | (Inherited from IMyCubeBlock.) | |
| IsFunctional | (Inherited from IMyCubeBlock.) | |
| IsLocked | Obsolete.
Gets if the block is safety locked (welded)
(Inherited from IMyMechanicalConnectionBlock.) | |
| IsWorking | (Inherited from IMyCubeBlock.) | |
| LowestPosition |
Gets the lowest position the piston is capable of moving to.
| |
| Mass | (Inherited from IMyCubeBlock.) | |
| Max | (Inherited from IMyCubeBlock.) | |
| MaxLimit |
Gets or sets the maximum position the piston can extend to. See LowestPosition and HighestPosition for the limits of this value.
| |
| MaxVelocity |
Gets the maximum velocity this piston is capable of moving at.
| |
| Min | (Inherited from IMyCubeBlock.) | |
| MinLimit |
Gets or sets the minimum position the piston can retract to. See LowestPosition and HighestPosition for the limits of this value.
| |
| Name | (Inherited from IMyEntity.) | |
| NumberInGrid | (Inherited from IMyCubeBlock.) | |
| Orientation | (Inherited from IMyCubeBlock.) | |
| OwnerId | (Inherited from IMyCubeBlock.) | |
| PendingAttachment |
Gets if the block is looking for a top part
(Inherited from IMyMechanicalConnectionBlock.) | |
| Position | (Inherited from IMyCubeBlock.) | |
| SafetyLock |
Gets if the block is safety locked (welded)
(Inherited from IMyMechanicalConnectionBlock.) | |
| SafetyLockSpeed |
Gets or sets the speed at which this device will engage it's safety lock (IsLocked).
(Inherited from IMyMechanicalConnectionBlock.) | |
| ShowInTerminal | (Inherited from IMyTerminalBlock.) | |
| ShowInToolbarConfig | (Inherited from IMyTerminalBlock.) | |
| ShowOnHUD | (Inherited from IMyTerminalBlock.) | |
| Status |
Gets the current status.
| |
| Top |
Gets the attached top part entity
(Inherited from IMyMechanicalConnectionBlock.) | |
| TopGrid |
Gets the grid of the attached top part
(Inherited from IMyMechanicalConnectionBlock.) | |
| Velocity |
Gets or sets the velocity of the piston as it extends or retracts. This value can be between negative and positive MaxVelocity.
| |
| WorldAABB | (Inherited from IMyEntity.) | |
| WorldAABBHr | (Inherited from IMyEntity.) | |
| WorldMatrix | (Inherited from IMyEntity.) | |
| WorldVolume | (Inherited from IMyEntity.) | |
| WorldVolumeHr | (Inherited from IMyEntity.) |