hexagon logo

First time using B-C as a tertiary datum

Had just a quick question, it seems it may be as elementary to most on this forum about a B-C Tert. Datum
I need to know for sure if I did this correctly.
I have a flat part with datum A as the plane which I leveled and origin in Z
I have a center diameter that I origin in my X & Y
I am checking Datum C to Datum A&B
Then using Dat. A and Dat.B and then an axis Datum of B-C( which I constructed a two dimensional best fit line to To check true position of other holes located around the parts
I have constructed both the alignment (red x,y,z,) and DRF (yellow x,y,z) in display window. (they match perfectly)
I figured everyone asks for code so I will post some below, :

A1-DCC =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
ALIGNMENT/LEVEL,ZPLUS,DAT-A-DCC
ALIGNMENT/TRANS,ZAXIS,DAT-A-DCC
ALIGNMENT/TRANS,XAXIS,DAT-B-DCC
ALIGNMENT/TRANS,YAXIS,DAT-B,DCC
ALIGNMENT/END
DATDEF/FEATURE=DAT-A-DCC
DATDEF/FEATURE=DAT-B-DCC
DATDEF/FEATURE=DAT-C-DCC

HERE IS THE B-C ALIGNMENT


A-2 ALIGNMENT/START,RECALL:A1-DCC,LIST=YES
ALIGNMENT/LEVEL,ZPLUS,DAT-A-DCC
ALIGNMENT/TRANS,ZAXIS,DAT-A-DCC
ALIGNMENT/TRANS,XAXIS,DAT-B-DCC
ALIGNMENT/TRANS,YAXIS,DAT-B-DCC
ALIGNMENT/ROTATE,YPLUS,TO,LIN1,ABOUTZPLUS
ALIGNMENT/END
DATDEF/FEATURE=LIN1,BC