|
高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】point style
point style?
point style?
hi,
in autocad, i can use ddptype command to set the current point style for the drawing. is there any way to set the point style with the dwgdirect library?
thanks,
actually ddptype runs a dialog to set the pdmode and pdsize variables.
to set/get these variables, you should use oddbdatabase::getpdsize, oddbdatabase::setpdsize, oddbdatabase::getpdmode and oddbdatabase::setpdmode.
to gain access to any other system variables supported by dwgdirect, you should use oddbdatabase::set### or oddbdatabase::get### where ### is the name of the variable in capital letters.
you won't find these in the documentation i think, because they are generated through marcros. but you can see a list of the supported variables in the file "sysvardefs.h".
hope this helps.
regards
chudomir
it helps,
thank you very much.
hanh
|