hexagon logo

Half angle problem

I have script which designed to check if measured feature was used to construct other features and for output. First thing what I need is to do list of features which was used for output. List should be in one column without blank cells.
Everything working ok except DIMENSION_START_LOCATION with full ANGLE of CONE. HALF ANGLE = NO working ok, HALF ANGLE = YES working wrong.
If feature was used for output but not in current list then feature ID should be added to end of list, code for that :
xlSheet.Cells(Count_N,21).Value = Cmd.GetText (REF_ID, 0) -add to list
Count_N=(Count_N + 1) -number in the list for next feature
Problem with full angle of cone (
HALF ANGLE = NO ) that some how it skipping two lines and I have no clue how to fix it.
Looks like this [[FONT=Calibri] Count_N=(Count_N + 1)[/FONT]] working like [[FONT=Calibri] Count_N=(Count_N + 3)] and it do not make sense[/FONT] . Any ideas how to avoid two blank cells?
.