|
public void create_block()- t- s1 L4 N" `* q' s8 q
{
3 u# n/ F% `) D6 ] UFModl uf_modl = new UFModl();
& Y( z3 h) Y6 I6 W" Y# P/ ^ FeatureSigns featureSign;3 o, w6 s& d/ ?1 m$ W9 a5 E
featureSign = FeatureSigns.Nullsign;% v7 t7 C; A2 Z: Y) y4 v$ H2 I4 [6 z
double[] corner_pt = { 0, 0, 0 };4 U) b! C, T6 Y. j8 @
string[] edge_len = { "50", "50", "50" };
% M, A) G* L# F- j$ u Tag tag;- v. f, ]* b5 b% z
uf_modl.CreateBlock1(featureSign, corner_pt, edge_len, out tag);' j/ p# l( k) `. S ~, T7 u
}% _7 A- n# h" o0 T
& ]& _0 k% P( B- |# \+ A" k在创建UFModl类的实例时,有错误,提示为The type 'NXOpen.UF.UFModl' has no constructors defined |
|