查看单个帖子
旧 2009-05-05, 09:53 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】errors meaning

errors meaning
errors meaning
hello,
could explain me the cause and the meaning of the following errors :
emakemeproxy : "make me proxy"
enodocument : "odax no document"
thank you.
makemeproxy - is status which custom entity can return from its dwginfields() or dxfinfields(). for example if version of object in file is higher than known to the implementation. in such case framework makes the custom entity proxy instead of loading it as entity of original class.
enodocument - where is no active document which is required to perform some operation in dwgdirectx. for example you ask for active viewport and where is no database loaded.
emakemeproxy is returned by the entity from dwginfields() or dxfinfields() when it perceives that the data in the file is of higher version than reading software. dwgdirect then turns that object to a proxy.
enodocument is currently not used by dd.
(many error codes were uncommented in 2.6 for future use, because adding an error code breaks binary compatiblity)
enodocument should be used in the situation when some operation requires a document, but cannot access it. (currently "document" notion is totally application dependent.)
vladimir
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)