About this topic

  • Posted by Ling 1 year ago. There are 2 posts. The latest reply is from gustav.

No tags yet.

  1. I have an excel file with the x, y, z value of a list of points. I want to create coordinate system by using the above values in GC. I have the excel file read as excelRangeX, excelRangeY, excelRangeZ respectively. I thought I can create the coordinate system by "ByCartesianCooridinates" and assign the XTranslation as excelRangeX.Value, etc. It seems this is not a valid assignment in GC and I get the following error message:

    "Exception: Invalid assignment: coordinateSystem01.XTranslation = excelRangeX.Value. That value is not of the required type, double."

    I don't know what went wrong here and I am pretty stuck... Anyone who can help me out? Thanks in advance and best wishes for the new year!

    Attachments

    1. gcError7.jpg (90.7 KB, 7 downloads) 1 year old
  2. hi ling,
    don't really know what's up there to be honest. for me it's all working fine. are you getting the values in ok from the xls-columns? you sure you're assigning coordinatesystem01.xtranslation to the actual name of the feature in GC (i.e. what's shown in the symbolic view, not the name of your workbook/sheet)?

RSS feed for this topic

Reply

You must log in to post.