added attachedsensors to GetInstObjects