Getting Started Common Acronyms FAQ Forum Help Forum Tips FTP Site Helpful GuidelinesInserting and Attaching images, videos, or files to postsProduct Community Directory SELECTsupport
I just wondered if there is a more elegant way to do this since modifying elements directly in this fashion seems to be discurraged as of lately.
Ray:
In V8 2004 edition, I did it thusly:
mdlElement_read(dgnBuf,ACTIVEMODEL,elemAddr[j]); /* 0==snappable, 1==not snappable */ /* .isGraphics must be true for .dhdr to be valid */ if (dgnBuf->hdr.dhdr.props.b.s && (dgnBuf->hdr.ehdr.isGraphics)) { dgnBuf->hdr.dhdr.props.b.s=FALSE; mdlElement_rewrite(dgnBuf,NULL,elemAddr[j]); }
Speaking of snappable, does anyone else remember when IGDS shapes were NOT snappable? And when shapes were identified by a data point INSIDE, not ON, the shape element?
HTH,
Paul Mueller, City of Milwaukee
What is the mdl function for setting the snappable attribute of an element?
Thanks Ray