| IMyProgrammableBlock Interface | 
[This is preliminary documentation and is subject to change.]
Namespace: Sandbox.ModAPI.Ingame
 Syntax
SyntaxThe IMyProgrammableBlock type exposes the following members.
 Methods
Methods| Name | Description | |
|---|---|---|
|  | GetActions | (Inherited from IMyTerminalBlock.) | 
|  | GetActionWithName | (Inherited from IMyTerminalBlock.) | 
|  | GetInventory | (Inherited from IMyEntity.) | 
|  | GetInventory(Int32) | (Inherited from IMyEntity.) | 
|  | GetOwnerFactionTag | (Inherited from IMyCubeBlock.) | 
|  | GetPlayerRelationToOwner | Obsolete. (Inherited from IMyCubeBlock.) | 
|  | GetPosition | (Inherited from IMyEntity.) | 
|  | GetProperties | (Inherited from IMyTerminalBlock.) | 
|  | GetProperty | (Inherited from IMyTerminalBlock.) | 
|  | GetUserRelationToOwner | (Inherited from IMyCubeBlock.) | 
|  | HasLocalPlayerAccess | (Inherited from IMyTerminalBlock.) | 
|  | HasPlayerAccess | (Inherited from IMyTerminalBlock.) | 
|  | RequestEnable | Obsolete. (Inherited from IMyFunctionalBlock.) | 
|  | SearchActionsOfName | (Inherited from IMyTerminalBlock.) | 
|  | SetCustomName(String) | Obsolete. (Inherited from IMyTerminalBlock.) | 
|  | SetCustomName(StringBuilder) | Obsolete. (Inherited from IMyTerminalBlock.) | 
|  | TryRun | 
            Attempts to run this programmable block using the given argument. An already running
            programmable block cannot be run again.
            This is equivalent to running block.ApplyAction("Run", argumentsList);
            This should be called from an ingame script. Do not use in mods.
             | 
|  | UpdateIsWorking | Obsolete. (Inherited from IMyCubeBlock.) | 
|  | UpdateVisual | Obsolete. (Inherited from IMyCubeBlock.) | 
 Extension Methods
Extension Methods Properties
Properties| Name | Description | |
|---|---|---|
|  | BlockDefinition | (Inherited from IMyCubeBlock.) | 
|  | CheckConnectionAllowed | (Inherited from IMyCubeBlock.) | 
|  | Components | (Inherited from IMyEntity.) | 
|  | CubeGrid | (Inherited from IMyCubeBlock.) | 
|  | 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.) | 
|  | InventoryCount | (Inherited from IMyEntity.) | 
|  | IsBeingHacked | (Inherited from IMyCubeBlock.) | 
|  | IsFunctional | (Inherited from IMyCubeBlock.) | 
|  | IsRunning | 
            This programmable block is currently running its program.
             | 
|  | IsWorking | (Inherited from IMyCubeBlock.) | 
|  | Mass | (Inherited from IMyCubeBlock.) | 
|  | Max | (Inherited from IMyCubeBlock.) | 
|  | Min | (Inherited from IMyCubeBlock.) | 
|  | Name | (Inherited from IMyEntity.) | 
|  | NumberInGrid | (Inherited from IMyCubeBlock.) | 
|  | Orientation | (Inherited from IMyCubeBlock.) | 
|  | OwnerId | (Inherited from IMyCubeBlock.) | 
|  | Position | (Inherited from IMyCubeBlock.) | 
|  | ShowInTerminal | (Inherited from IMyTerminalBlock.) | 
|  | ShowInToolbarConfig | (Inherited from IMyTerminalBlock.) | 
|  | ShowOnHUD | (Inherited from IMyTerminalBlock.) | 
|  | TerminalRunArgument | 
            Contains the value of the default terminal argument.
             | 
|  | WorldAABB | (Inherited from IMyEntity.) | 
|  | WorldAABBHr | (Inherited from IMyEntity.) | 
|  | WorldMatrix | (Inherited from IMyEntity.) | 
|  | WorldVolume | (Inherited from IMyEntity.) | 
|  | WorldVolumeHr | (Inherited from IMyEntity.) | 
 See Also
See Also