[quote user="Jon Summers"]That raises the question, "Why does the macro recorder record a different struct?"
SetCExpressionValue "regionInfo.interiorShapes", 0, "REGION""
Would anyone from Bentley Systems care to comment?[/quote]
It's because that item's hook sets the value of regionInfo.interiorShapes from two different settings.
if (tcb->msToolSettings.areaPattern.interiorShapes && tcb->msToolSettings.areaPattern.regionParity)
// Find alternating interior shapes...
else if (tcb->msToolSettings.areaPattern.interiorShapes)
// Find interior shapes...
else
// Don't find interior shapes...
In order to play nice with the macro recorder, item hooks either need to use an access string or send key-ins.
-B