hexagon logo

GeoTol Axis Data Extraction

Is there a way to pull the data from the axis measurements in Geometric Tolerances? I cannot seem to find the correct method to get that data. Is it possible?

Parents
  • somewhat of a hack workaround:

    ASSIGN/V2=GETTEXTEX(1133, 1, "SEG=1", "FCFLOC2")
    1133 =
    REPORT_LABEL_MEAS
    1 is the feature index starting at 1
    "SEG=1" is the segment desired starting at 1
    "FCFLOC2" is the dimension name

    This will return a string containing ALL of the measured values with at least 1 spaced between the items.

    1131 would return the REPORT_LABEL_AXIS in a single string but no spaces.

    I think the above FCF has 4 features so each set of values would be something like this?

    ASSIGN/V1=GETTEXTEX(1133, 1, "SEG=1", "FCFLOC2")
    ASSIGN/V2=GETTEXTEX(1133, 2, "SEG=1", "FCFLOC2")
    ASSIGN/V3=GETTEXTEX(1133, 3, "SEG=1", "FCFLOC2")
    ASSIGN/V4=GETTEXTEX(1133, 4, "SEG=1", "FCFLOC2")



    The returned string may have a chr(13) as a delimiter? Can't tell with the expression popup window.



    OK. That's an amazing find! And I see the angle and the TP measurements in the same line, separated by spaces. When put into a comment, they are stacked on top each other like the FCF shows.

    Now, how would I pull the angle number out of that as it's own value? I am trying to figure that out with the spaces that are within that variable.

    _____________________________________________________________

    SOLUTION (for now): Took those variables, wrote it to a CSV. Opened the CSV to read the first line, as the CSV eliminates the spaces. Then applied that line to a variable.

    If someone knows a better way...please share!
Reply
  • somewhat of a hack workaround:

    ASSIGN/V2=GETTEXTEX(1133, 1, "SEG=1", "FCFLOC2")
    1133 =
    REPORT_LABEL_MEAS
    1 is the feature index starting at 1
    "SEG=1" is the segment desired starting at 1
    "FCFLOC2" is the dimension name

    This will return a string containing ALL of the measured values with at least 1 spaced between the items.

    1131 would return the REPORT_LABEL_AXIS in a single string but no spaces.

    I think the above FCF has 4 features so each set of values would be something like this?

    ASSIGN/V1=GETTEXTEX(1133, 1, "SEG=1", "FCFLOC2")
    ASSIGN/V2=GETTEXTEX(1133, 2, "SEG=1", "FCFLOC2")
    ASSIGN/V3=GETTEXTEX(1133, 3, "SEG=1", "FCFLOC2")
    ASSIGN/V4=GETTEXTEX(1133, 4, "SEG=1", "FCFLOC2")



    The returned string may have a chr(13) as a delimiter? Can't tell with the expression popup window.



    OK. That's an amazing find! And I see the angle and the TP measurements in the same line, separated by spaces. When put into a comment, they are stacked on top each other like the FCF shows.

    Now, how would I pull the angle number out of that as it's own value? I am trying to figure that out with the spaces that are within that variable.

    _____________________________________________________________

    SOLUTION (for now): Took those variables, wrote it to a CSV. Opened the CSV to read the first line, as the CSV eliminates the spaces. Then applied that line to a variable.

    If someone knows a better way...please share!
Children
No Data