hexagon logo

dimension deviation via c# --problem 4 help

Dear guys:

I use offline software to open programs that have been run online,and then i try to get the dimension deviation via c#.as a result i get 0.000.why?
anyone help me ?thx very much!
{"data-align":"none","data-size":"full","data-tempid":"temp_16885_1559746193347_11","title":"001.bmp"}
Parents
  • I'm not sure on the c# part of it, but if I'm reading it correctly then you're picking up commands which are dimensions (commandA.IsDimension) and where the ID contains "LOC" (commandA.ID.Contains("LOC").)


    Typically commands which have "LOC" in the ID are of the type Location and Position - for these commands the dimension header (the bit which contains "LOC") is a command in it's own right, i.e. it has no deviation.

    Like wise the End dimension bit is also a command



    Distance / Angle Concentricity etc are like so

    COMMAND - ID and settings AND Meas/Nom/Dev values all in one


    Location of position commands are like so

    Command : ID / settiings
    Command : Axis letter / Meas /Dev /Nom
    Command : Axis letter / Meas /Dev /Nom
    Command : Axis letter / Meas /Dev /Nom
    Command : End dimension






Reply
  • I'm not sure on the c# part of it, but if I'm reading it correctly then you're picking up commands which are dimensions (commandA.IsDimension) and where the ID contains "LOC" (commandA.ID.Contains("LOC").)


    Typically commands which have "LOC" in the ID are of the type Location and Position - for these commands the dimension header (the bit which contains "LOC") is a command in it's own right, i.e. it has no deviation.

    Like wise the End dimension bit is also a command



    Distance / Angle Concentricity etc are like so

    COMMAND - ID and settings AND Meas/Nom/Dev values all in one


    Location of position commands are like so

    Command : ID / settiings
    Command : Axis letter / Meas /Dev /Nom
    Command : Axis letter / Meas /Dev /Nom
    Command : Axis letter / Meas /Dev /Nom
    Command : End dimension






Children
No Data