Whenever i try to make this:
That gets all the items in a certain group and puts them into a list. I get an execution exception that displays the following: Object reference not set to an instance of an object.
I know this error is common in C# when you put:
instead of
Rare exception when compiling code.
Code:
List<IMyTerminalBlock> ListName = new List<IMyTerminalBlock>();
GridTerminalSystem.GetBlockGroupWithName("Group of blocks to get").GetBlocks(ListName);
I know this error is common in C# when you put:
Code:
List<var> ListName;
Code:
List<var>...