查看单个帖子
旧 2009-05-04, 03:25 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】about the system uni

about the system unit.........
about the system unit.........
how can i set the system units ?such as "metric" and "english(feet and inches)". i found that if i do not set system units ,the default unit is "metric".
the functions oddbdatabase::initialize() and oddbhostappservices::createdatabase() take as an argument the measurement type.
i think there is also a variable which you can set and get after creating the drawing database:
oddbdatabase::setmeasurement() and oddbdatabase::getmeasurement();
hope this helps.
best regards
chudomir
note that some default database objects are created differently depending on measurement. for example dimension style "standard" or "iso-25".
it would be better to pass correct value to oddbdatabase::initialize().
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)