几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】about the system uni (http://www.dimcax.com/hust/showthread.php?t=14994)

yang686526 2009-05-04 03:25 PM

【转帖】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


所有的时间均为北京时间。 现在的时间是 04:19 PM.