|
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 |
|