![]() |
【转帖】get deep component from assembly
get deep component from assembly
hi! i have assembly a (a.sldasm). assembly a contain a component: b (b.sldasm). assembly b contain a component c (c.sldasm). i use the documentextension::selectbyid function tha get the b component from a. the name parameter of this function: "b-1@a" it is work, i get the b component. if i like th get the c component (from a!) i use the selectbyid function by this parameter: "c-1@b-1@a" but it not working. ( result == variant_ false) :-( i need the get th c component from a. i how access the c component? what is the parameter-naming convention in the solidworks? not a way me, that open b and get the a component. i need the x,y,z coord of c component (distance from origin) from a origin but not the b origin! i use c++ (vc++ 6.0) with com. regards: zszs. hi szost, have a look here 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 thanks!! working... :-) regards: zszs. quick |
所有的时间均为北京时间。 现在的时间是 09:23 AM. |