高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】recomputedimblock problem 9with 1.10 libraries0
recomputedimblock problem (with 1.10 libraries)
recomputedimblock problem (with 1.10 libraries)
hello,
i see, that some bugs have been fixed in recomputedimblock method for 1.10 libraries.
but i have two questions:
1.
why i get exception:
oderror_duplicaterecordname @ 0x0012cb1c
when recomputedimblock() occurs.
this exception happens only when user-defined dimension style is set to current dimension (and it does not happen allways). i have added the dimension style to the correct table and name of the style is unique.
2.
since there are still problems in method recomputedimblock(), and guys from opendwg promissed, that in new version (1.10) we could tell the library not to recompute dimension block, when new dimension is added to the database, i would like to know how to do this?
i could not find the solution to avoid recomputing of dimension block each time, when new dimension is added to the database.
can anyone please help?
regards, tomaz
if you create dimension block yourself and do not want recomputedimblock() to be invoked, after setting all properties to the dimension call
pdim->recordgraphicsmodified(false)
sergey slezkin
btw, it would be helpful you provide more information so that we could reproduce the exception you wrote about to fix it.
sergey slezkin
hello,
now i can avoid recomputedimblock() at creating dimensions, but i have another problem regarding this issue.
when i create a hatch, with a contour, which is associated to dimension object, dimension gets automatically recalculated.
when i call:
phatent->setassocobjidsat(1, dim_obj)
and after the object phatent is released, recomputedimblock() is automatically called.
i really need a way to prevent recalculation of dimension block.
is there a way to do it?
or do you intend to add this feature in the next maintenance release?
regards, tomaz
this is to be fixed by maintenance release.
sergey slezkin
|