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

RE: [V8i SS4, MDL] How do I get an element from the Clip Boundary?

$
0
0

[quote user="Nabil Kherouf"]I'm interested in the clip boundary of the reference file[/quote]

Why not get that from the ReferenceInfo of the attachment?

#include <msreffile.fdf>
#include <refernce.h>
ReferenceFile* pInfo = mdlRefFile_getInfo (oAttachment);
int nVertices = pInfo->clip.clip_vertices;
DPoint2d* clipPoints = pInfo->clip.clipP;

Note that the clip points are 2D.


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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