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

RE: [CONNECT C++] Converting old hidden line removal code using mdlView_findNamedElmdscr.

$
0
0
The problem is not about finding named view, but writing the saved view to hidden line file. That is, replacing code like below where removed function mdlView_findNamedElmdscr is used to get saved view filePos and mdlElmdscr_read and 
mdlWorkDgn_write are used to save it to work file.

UInt32 filePos; MSElementDescr *eldP; mdlView_findNamedElmdscr(&eldP, &filePos, viewName, NULL, mdlModelRef_getActive()); mdlElmdscr_read(&eldP, filePos, MASTERFILE, FALSE, NULL); mdlWorkDgn_write(eldP, -1, hln_file);


Viewing all articles
Browse latest Browse all 7260

Latest Images

Trending Articles



Latest Images

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