private void addHookInformation2Rebar( ArrayList data, Rebar rebar, int end ) { if( end != 0 && end != 1 ) return; ElementId hookId = rebar.GetHookTypeId( end ); if( hookId != null && hookId != ElementId.InvalidElementId ) { data.Add( new Snoop.Data.CategorySeparator( "HookType at end: " + end.ToString() ) ); data.Add( new Snoop.Data.ElementId( "Hook Type", hookId, rebar.Document ) ); data.Add( new Snoop.Data.String( "HookOrientation", rebar.GetHookOrientation( end ).ToString() ) ); } }