首页 > TAG信息列表 > workPart

nxopen UG8.5 vb.net 点到面的距离

Function PointToFaceDis(ByVal face1 As Face, ByVal Point1 As Point) As Double '点到面的距离 Dim workPart As Part = theSession.Parts.Work Dim direction1 As Direction direction1 = workPart.Directions.CreateDirection(face1,

nxopen 点到面的距离 vb.net

Function PointToFaceDis(ByVal face1 As Face, ByVal Point1 As Point) Dim workPart As Part = theSession.Parts.Work Dim direction1 As Direction direction1 = workPart.Directions.CreateDirection(face1, Sense.Forward, SmartObje

UG二次开发 移除参数(C#)

1      public void RemoveObjParameters() 2 { 3 NXOpen.Session theSessions = NXOpen.Session.GetSession(); 4 NXOpen.Part workPart = theSessions.Parts.Work; 5 NXOpen.Features.RemoveParametersBuilder removePa

NXOPEN创建组,并加入对象

Part *workPart(theSession->Parts()->Work()); GroupBuilder* groupBuilder1 = workPart->CreateGatewayGroupBuilder(NULL); groupBuilder1->SetGroupName("123");//设置组的名字 std::vector<TaggedObject *> objectsTag = selection0->GetSe

NXOpen测量柱面两条边的最近距离

  #include <NXOpen/MeasureDistanceBuilder.hxx>#include <NXOpen/MeasureManager.hxx>#include <NXOpen/SelectDisplayableObject.hxx>#include <NXOpen/SelectDisplayableObjectList.hxx>#include <NXOpen/Unit.hxx>#include <NXOpen/Uni

NXOpen 一键移除参数

C++ 2010 #include <uf.h>#include <uf_object_types.h>#include <uf_obj.h>#include <uf_modl.h>#include <uf_assem.h>#include <uf_kf.h>#include <uf_ui.h>#include <NXOpen/Body.hxx>#include <NXOpen/BodyCollectio

NX/UG二次开发—分析—测量面的面积的两种方法介绍

第一种方法(C#): public static double GetFaceArea(Tag t_face) { Face face = (Face)theNXManager.GetTaggedObject(t_face); NXOpen.Part workPart = theSession.Parts.Work; NXOpen.MeasureFaces measureFace1; NXOpen.IParameterize