Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [V8i - MDL/CPP] Bug in mdlPattern_addAssociative in V8i SS4 (8.11.09.832)

$
0
0

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


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>