hello guys

I am a novice programmer from Russia. Sorry for my English.

I have been programming with Sharp.
I want to get the size of cable tray and remove the console.
And also on pressing the button to change the line type in the selected sections of the cable tray.

I wrote the code, but the cable tray is not responsible for the size of properties.
Help me.

DBObject cabelTrayObj = cableTray.GetObject(OpenMode.ForRead);
Autodesk.Aec.Building.Elec.DatabaseServices.CableTray cT = cabelTrayObj as Autodesk.Aec.Building.Elec.DatabaseServices.CableTray;

a cT is not responsible for the properties of its height and width