高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|