老师,你好!
关于BodyFromLoft函数,能否不输入CurveVector[] guidesIn, int nGuidesIn参数?我在代码中将guidesIn设置为null,nGuidesIn设置为-1时,调用的时候直接报错。
public static BentleyStatus BodyFromLoft(out SolidKernelEntity entityOut, CurveVector[] profilesIn, int nProfilesIn, CurveVector[] guidesIn, int nGuidesIn, DgnModelRef modelRefIn, bool periodicIn, bool segmentIn);
我主要想完成https://communities.bentley.com/communities/other_communities/chinafirst/f/microstation-projectwise/192181/msce-c-createdgnruledsweep/568025#568025 的问题。我创建模型时没有引导线。
不要给null,试试给一个成员数为0的数组。