青华模具培训学校

 找回密码
 注册

QQ登录

只需一步,快速开始

青华模具培训学院
查看: 1109|回复: 0

[疑难] 用C#做二次开发,在创建一个长方体时遇到的问题,急需解决,谢谢

[复制链接]
发表于 2011-12-14 22:32 | 显示全部楼层 |阅读模式
public void create_block()5 D4 y2 l  M. y+ ]9 Z
    {9 q$ T) v5 ?; \$ O- c1 W! s
        UFModl uf_modl = new UFModl();! v, @3 t: D5 W' L/ u
        FeatureSigns featureSign;
2 ^# e# ^1 }. e" Q, a        featureSign = FeatureSigns.Nullsign;* ~+ i' b& Z# z) q7 e
        double[] corner_pt = { 0, 0, 0 };
. w' b8 ?7 p. ~) I) C! C        string[] edge_len = { "50", "50", "50" };
; u+ S  d  r9 U: @3 B! X        Tag tag;
( ]6 P: u" X" M' V2 f- j8 L) J        uf_modl.CreateBlock1(featureSign, corner_pt, edge_len, out tag);% w( h& i0 h9 J, e5 F; `' n+ |
    }
0 w$ N, U: c  i' A) `
- H! W# P* l6 y  h6 S5 M在创建UFModl类的实例时,有错误,提示为The type 'NXOpen.UF.UFModl' has no constructors defined
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|关于我们|sitemap|小黑屋|Archiver|手机版|UG网-UG技术论坛-青华数控模具培训学校 ( 粤ICP备15108561号 )

GMT+8, 2025-5-14 02:38 , Processed in 0.049648 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表