![]() |
【转帖】dwf export nested xrefs
dwf export nested xrefs
dwf export nested xrefs first, thanks for an outstandig toolkit! i'm trying to export to dwf and it works "almost". i don't get nested xrefs in the output. i have the following files: 1) house (root file) referencing a door and a window 2) the door is referencing a door-knob 3) the window the output contains the house with a door and a window but the door doesn't have the knob, so i can't get in... i copied the mfc sample code: oddbdatabaseptr pdb; // create a database and load the drawing into it. pdb = svcs.readfile( spath ); void onexport( oddbdatabaseptr pdb, const tstring& ssavefilename, long nfilterindex = 1 ) { dwexportparams params; params.pdb = pdb; params.sdwffilename = ssavefilename; params.background = 0; //params.ppalette = 0; //params.ssourcefilename = ssourcefilename; dwfpagedata pagedata; switch( nfilterindex ) { case 1: params.format = dw_uncompressed_binary; params.version = ndwf_v60; pagedata.slayout = pdb->findactivelayout(true); params.arpagedata.append(pagedata); break; am i missing something or is it a feature? thanks in advance! /jonas ignore prevoius post the xref not being displayed contained only text, after adding other content the xref was rendered (and the text). /jonas can you send a file? misha kuzinets |
所有的时间均为北京时间。 现在的时间是 02:55 AM. |