几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】simulating Autocad Isometric Views Of Modelspace (http://www.dimcax.com/hust/showthread.php?t=18595)

yang686526 2009-05-07 03:58 PM

【转帖】simulating Autocad Isometric Views Of Modelspace
 
simplest way to detect if an dwg contains adt objects?
simplest way to detect if an dwg contains adt objects?
i would like to detect that a dwg contains adt objects (which do not display well without the adt toolkit). if so the user would get this info:
"this dwg contains adt objects. they will not display properly. to receive an appropriate 2d dwg ask the adt user to create a dwg using the exporttoautocad command."
what is the fastest way to test for this? the test should not trigger if the adt user has exported to 2d dwg using exporttoautocad.
-rune jorgensen
hello, rune
in dwg database with aec content there is aec_vars dictionary with aec_vars_dwg_setup entry of type aecdbvarsdwgsetup.
regards,
vladimir alekseev
as i understand aec_vars presenting in drawing means that drawing was created/saved by adt.
that means that drawing may contain aec entities "not displayed properly". but may not contain.
the exact answer requires scaning all the drawing (slow method).
sergey slezkin


所有的时间均为北京时间。 现在的时间是 11:57 AM.