I make an associative patterning in XM. That works.
Now I want to have the patterning a different color, syle and weight then the boundary. I tried the code below, but it does not work. Any hints?
John Schippers
paramsPattern.angle1 = ........; paramsPattern.space1 = .......; paramsPattern.space2 = .......; paramsPattern.scale = ..........; paramsPattern.weight = symb.weight; paramsPattern.color = symb.color; paramsPattern.style = symb.style;
paramsPattern.modifiers |= PATMOD_COLOR; paramsPattern.modifiers |= PATMOD_STYLE; paramsPattern.modifiers |= PATMOD_WEIGHT; paramsPattern.modifiers |= PATMOD_ANGLE1; paramsPattern.modifiers |= PATMOD_SPACE1; paramsPattern.modifiers |= PATMOD_SPACE2; paramsPattern.modifiers |= PATMOD_SCALE; paramsPattern.modifiers |= PATMOD_CELL;
patternOption = PATTERN_AREA;
status = mdlPattern_addAssociative (&pEd, -1, -1, ¶msPattern, &dataPoint, NULL, patternOption, ACTIVEMODEL); filePos = mdlElmdscr_rewrite (pEd, NULL, filePos);
The symbology stored in the pattern linkage only affects the display of point cells...is the cell you are using to pattern with a point cell?
-B
What do you mean by Point Cell?
A "point cell" is a type of a Type 2 cell with certain characteristics, the latter of which are identified in Help > Contents: