I've now modified the setSymb function to test the suggestion from Jon and the extracted parameters:
rc = mdlPattern_addAssociative(edPP, -1, -1, &patPar, NULL, NULL, PATTERN_HATCH, mdlModelRef_getActive()); PatternParams extractedPatPar; char msg[80]; mdlPattern_extractAssociative(&extractedPatPar, NULL, &((*edPP)->el), mdlModelRef_getActive(), 0); sprintf(msg, "space1 = %f, angle1 = %f", extractedPatPar.space1, extractedPatPar.angle1); mdlDialog_dmsgsPrint(msg);
The result is exactly the same as if I used the "Show Pattern Attributes" tool: Pattern angle and distance is zero. In SS3 (8.11.09.752) it works just fine. There are no element->file callback registered.
Regards, Evan