Sketches are new to at V10 in 1994. GRIP's last significant update in the area of modeling was long before that. There are very few GRIP routines that work with parametric modeling and sketches.
You will find some, like the entity type, but they may be for the V9 UG Concept sketch is is different from the V10+ sketcher. Also, the constraint manager has been replaced at least once since V10, so I doubt there are any GRIP routines to get constraint data.
UG has always said that the parametric and sketch data will not be added to GRIP and that you need to use UG/Open API programs to reada nd manipulate that data.
GRIP has been on its death bed since V16 and with the new VB journaling, it may be on its last breath.
"Wildfires are dangerous, hard to control, and economically catastrophic."
"Fixed in the next release" should replace "Product First" as the PTC slogan.
Ben Loosli
CAD/CAM System Analyst
Ingersoll-Rand