高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】plot problems
plot problems
plot problems
hi,
using opendwg toolkit library, when a file was saved and opened in acad there was many options of '.ctb' files for plot style table. now, using dwgdirect 1.10 updated, appears only '.stb' files.
how can i save a file using dwgdirect and have '.ctb' files for plot style table in acad?
regards,
regina.
problem solved
hi,
problem was already solved by calling the function 'oddbsetpstylemode'. if '0' is passed as parameter generates .stb files. if '1' is passed as parameter generates .ctb files. (see code bellow)
regards,
regina.
code:
// indicates whether the current drawing is in a color-dependent or named plot style mode:
// 0 = uses color-dependent plot style tables in the current drawing (.stb files)
// 1 = uses named plot style tables in the current drawing (.ctb files)
oddbsetpstylemode(*database.get(), 1);
|