Try This.
There is no need to set up blocks to find points.
If you are curious, check it with macro debug
ENTITY $fset = INPUT ENTITY FEATURESET "Select the Featureset to output positions from"
string $txtCheck = ""
FOREACH $feat IN components($fset) {
EDIT FEATURESET $fset DESELECT ALL
IF feat.type == 'hole' {
EDIT FEATURESET $fset SELECT $feat
//txt Initialize
$txtCheck = ""
//Hole Center Point
$txtCheck = $txtCheck + "Point X" +$feat.Point[0] + " "
$txtCheck = $txtCheck + "Y" +$feat.Point[1] + " "
$txtCheck = $txtCheck + "Z" +$feat.Point[2] + crlf
//Hole feature
$txtCheck = $txtCheck + "Dia" +$feat.Diameter + " "
$txtCheck = $txtCheck + "Depth" + $feat.Depth + " "
$txtCheck = $txtCheck + "Bottom" + $feat.Bottom + " "
$txtCheck = $txtCheck + "Draft" + $feat.Draft + crlf
//Text check
Message info $txtCheck
}
}
CAM-Fusion 360/Inventor
CAD-Fusion 360/Inventor
Before PowerMILL