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

component2::getcorrespondingentity
hello all,
i was traveling through the api and i came across this function:
component2::getcorrespondingentity
i was wondering what the heck it does. i think this function might be able to help me solve the problem that i am having. if someone could explain what it actually does it would help me out alot.
here is the description:
"this method gets the entity that corresponds with the dispatch pointer in the context of the component."
brendan
hey brendan
the way i understand it is the following:
you have an entity in hand (vertex, face or edge) and by using this function you can get the entity object of the component/part that owns the entity we already have. (to use this you have to be in an assembly)
then using the entity object of the component/part you can get other information about the component/part.
hope this makes it more clear for you.
cheers,
--stav.
in this world i am nobody...
and nobody is perfect !!!
---------
solidworks office 2008 sp4.0
dell precision pws390
nvidia quadro fx 3450/4000 sdi
quick
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)