/// <summary>
/// 获得单个组件的体(非工作组件)
/// </summary>
/// <param name="component">组件对象</param>
/// <param name="bodies">组件包括的实体</param>
public static void GetComponentBodies(Component component, out Body[] bodies)
{
bodies = new Body[0];
Tag objectTag = Tag.Null;
uFAssem.CycleObjsInComp(component.Tag, ref objectTag);
while (objectTag != Tag.Null)
{
int type;
int subType;
uFObj.AskTypeAndSubtype(objectTag, out type, out subType);
if (
UG二次开发-获取装配体中的所有体对象
最新推荐文章于 2024-05-04 00:45:42 发布