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

odavelight - remove
odavelight - remove
hi to all,
i work with the dwg library - version 1.12.1.
my question is : how can i remove a light from the drawing scene?
i use the global oddbgetlights() to obtain the lights, so i can change their behaviour by the functionality in the odavelight class, but i cannot find a way to delete any of them.
the question can be the same about the materials. but there, a material id is available, so i think it can be used for deleting.
all suggestions will be appreciated.
thanks in advance.
nino
hi,
the odavelight class has holderid() method which can be used for deleting as well.
regards,
sergey vishnevetsky
hi, sergey,
i saw it but i was not sure that it can be used for this purpose.
thanks a lot!
nino
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)