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

creating light objects
creating light objects
hi,
i am trying to find example to create "light" objects in oda. i was not able to find any example except odaveex that allows to iterate through odavelights.
i also tried using oddblight. but after inserting new oddblight entity into database, i was not able to browse or render it in odamfcapp.
apparently, i am missing some information on "how to create lights in oda?". should i be using odavelights or oddblights to create light objects? does oda have any examples for creating lights?
thanks in advance.
ave lights are used by old autocad versions. since ac2007 oddblights are used.
oddblights should be added to model space using oddbblocktablerecord::appendoddbentity()
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)