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

Re: Change Elements Elevation with in the drawn polygon and break lines (Microstation V8i Using MDL Language or C#.Net)

$
0
0

Hi DanPaul,

Yes polygon is always Planar.

mdlElement_add(&PolygonMsElm);

mdlElmdscr_new(&PolygonMSElmDescr,NULL,&PolygonMsElm);

mdlLinear_extract(PolyElmVer,&PolyElmNoVer,&PolygonMsElm,MASTERFILE);  ------ Polygon Element

mdlLinear_extract(FenceElmVer,&FenceElmNoVer,&FenceMsElm,MASTERFILE);  ------ Polygon inside fence elm

mdlMeasure_polygonProperties(NULL,NULL,&Normal,NULL,NULL,NULL,NULL,NULL,PolyElmVer,PolyElmNoVer);  ------ Polygon Element

mdlVec_linePlaneIntersect(&IntersectPt,&FenceElmVer[0],&FenceNormal,&PolyElmVer[0],&Normal,TRUE);

please correct my code.


Viewing all articles
Browse latest Browse all 1677

Trending Articles



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