SteveVan
Mechanical
- Dec 10, 2002
- 16
Model background
I have a Skeleton part with datum planes an datum axis.
I'm using pro-program to move 2 different datum plane angle dimensions. Here is my program
Dimension d14 is the dimension I'm inputting the change on, D46 is the datum i'm moving from D14
Input
drum_ang number
"enter drum ang, load or dump"
End Input
Relations
load=17
dump=-93
$d14=drum_ang
IF (d14==17)
$d46=31
END IF
IF(d14<17)
$d46=-83
END IF
This works, Except I have to regenerate twice. This causes the asm to fail. Does anyone know how to force a regeneration in the If statement, or how i can program this so it only needs one regeneration.
Thanks
Steve
$d14=
I have a Skeleton part with datum planes an datum axis.
I'm using pro-program to move 2 different datum plane angle dimensions. Here is my program
Dimension d14 is the dimension I'm inputting the change on, D46 is the datum i'm moving from D14
Input
drum_ang number
"enter drum ang, load or dump"
End Input
Relations
load=17
dump=-93
$d14=drum_ang
IF (d14==17)
$d46=31
END IF
IF(d14<17)
$d46=-83
END IF
This works, Except I have to regenerate twice. This causes the asm to fail. Does anyone know how to force a regeneration in the If statement, or how i can program this so it only needs one regeneration.
Thanks
Steve
$d14=