hexagon logo

Word Automation

Hi guys,

I was wondering if there is a script out there
that might be similar to PCD2EXCEL but
would write data to a word document.
For example, I'd like to write the min/max values
of a feature set to specific fields of a word document.

Any help would be appreciated.

Thanks in advance
Parents
  • Like this (pseudocode):

    If (cmd.IsMeasuredFeature or cmd.IsDCCFeature) Then 
      TI = Cmd.GetText(THEO_I, 0)
      TJ = Cmd.GetText(THEO_J, 0)
      TK = Cmd.GetText(THEO_K, 0)
      MI = Cmd.GetText(MEAS_I, 0)
      MJ = Cmd.GetText(MEAS_J, 0)
      MK = Cmd.GetText(MEAS_K 0)
      ' Do what you need to do with TI,TJ...
    End If
    
    


    Place it just after "for each cmd..."
Reply
  • Like this (pseudocode):

    If (cmd.IsMeasuredFeature or cmd.IsDCCFeature) Then 
      TI = Cmd.GetText(THEO_I, 0)
      TJ = Cmd.GetText(THEO_J, 0)
      TK = Cmd.GetText(THEO_K, 0)
      MI = Cmd.GetText(MEAS_I, 0)
      MJ = Cmd.GetText(MEAS_J, 0)
      MK = Cmd.GetText(MEAS_K 0)
      ' Do what you need to do with TI,TJ...
    End If
    
    


    Place it just after "for each cmd..."
Children
No Data