Half angle problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 [Count_N=(Count_N + 1)] working like [Count_N=(Count_N + 3)] and it do not make sense . Any ideas how to avoid two blank cells?HALF angle problem.JPG
    .
    Last edited by Darius11; 09-10-2020, 08:00 AM.

  • #2
    Probably nothing to do with it, but

    Code:
    Count_F = "1"
    (string)
    should be changed to
    Code:
    Count_F = 1
    (integer)
    PC-DMIS CAD++ 2o19 R1 SP10

    Comment


    • Darius11
      Darius11 commented
      Editing a comment
      Could be that you are right and it should be only number but practically I don't see difference. "Dim Count_F As Double " and Count_F = Count_F + 1 working well except problem which I described.

      Thanks, I will bear given info in the mind.
      Last edited by Darius11; 09-10-2020, 11:00 AM.

Related Topics

Collapse

Working...
X