几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   【转帖】help required - mating (http://www.dimcax.com/hust/showthread.php?t=5011)

yang686526 2009-04-13 08:28 AM

【转帖】help required - mating
 
help required - mating
ok,
i have created a subroutine that will insert a part into an assembly and mate the part to the fixed part in the assembly (three sets of coincident mates to planes). i have created another subroutine that calls this procedure in a loop so that i can build my assembly.
the problem i have is that after inserting the first part, the second part i insert i get the an overdefined problem between the second part and the fixed part. i to see what's wrong manually go into the model suppress the mate causing the problem and then un-suppress the mate and the parts mate without a problem. why am i getting this error when manually this is not an issue? plus when constraining a part with planes you need to have three orthogonal plane mates in order to fullly constrain the part.
thanks,
ed
quick


所有的时间均为北京时间。 现在的时间是 09:39 AM.