点击查看详细介绍

[UG GRIP求助]如何在GRIP程序中选择对象?

happyljg2002 19年前 16094 5

购买与咨询 NX 二次开发视频教程,请联系微信号:13890821008  QQ号:85585969  


我用GRIP写了一个程序,生成了四条直线,现在想把这四条首尾相连的直线拉伸成一个实体,如何能让程序自动选择这四条直线,然后拉伸?请大家帮帮忙,不胜感激.

0

最新回复 (5)
  • TWC-168 19年前
    1

    期待...高手...

  • hgjuice 19年前
    2

    首先定义数组,ln(4),
    然后:ln(1)=

  • happyljg2002 19年前
    3

    已经用了,完全实现了功能,现在一个新的问题是拉伸的实体现在需要倒角或者圆角,应该怎么实现,请DX赐教。

  • khzx 19年前
    4

    Blend/Chamfer

    语法
    BLEND/obj,{RADIUS|CHAMFR},num[,obj list1][,VERT,obj list2][IFERR,label:]

    功能
    Allows you to modify a solid by either rounding (blend) or beveling (chamfer) specified edges of the solid.

    The BLEND statement works in much the same way as the Blend option in the Modeling application except that you may only do fixed radius blends. See the Modeling Help.

    Parameters

    obj
    The solid to be modified.

    RADIUS
    Minor word indicating that a blend operation is to be performed on the solid.

    CHAMFR
    Minor word indicating that a chamfer operation is to be performed on the solid.

    num
    When used with the RADIUS minor word, num is the positive radius of the blend.

    When used with the CHAMFR minor word, num is the offset distance between the intersection of the specified edges. When one edge is curved, the offset is measured along the path of the curved edge.

    obj list1
    First list of point objects which identify the edges of the solid to blend/chamfer. The points identify the edges by distance. If neither list of points is specified, then the system blends/chamfers every edge in the solid.

    VERT
    Optional minor word specifies that the following list of points identifies vertices on the solid.

    obj list2
    Second list of point objects which identify vertices on the solid. The points identify the vertices by distance. The edges involved in these vertices are blended/chamfered. If you do not specify either list of points, then the system blends/chamfers every edge in the solid.

    IFERR,label:
    Specifies a label to which program execution jumps if an error occurs. Possible errors include: illegal object specified; radius values must be positive, etc.

  • xszlz 19年前
    5

    原帖由

请登录后发表新帖