How to use Document.CalcInformation(X,Y)

Discussion in 'Scripting and Programming' started by Don, Feb 8, 2017.

  1. Don

    Don Standard User

    Joined:
    Nov 16, 2015
    Messages:
    18
    I am still trying to learn scripting, and have some things working, but now I need to understand how to use Document.CalcInformation(X,Y). I don't know which commands or syntax I need to set up this statement.

    Earlier in the program, I defined DIM rowData(1) to get a variable with two values, so I can insert these into Excel (I am basing this on another script found on MaximDL Extras page). I then simply wrote rowData = Document.CalcInformation(X,Y), hoping it would fill my variable with X and Y values, but I get an error . Can anyone help me with the syntax?

    Thanks,
    Don Bruns
     
  2. northwolfwu

    northwolfwu Standard User

    Joined:
    Dec 23, 2015
    Messages:
    5
    You can try:
    Dim rawData as Object
     
  3. Don

    Don Standard User

    Joined:
    Nov 16, 2015
    Messages:
    18
    Thanks, but I could not get that to work. I need more examples to refer to.
     

Share This Page