<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      創(chuàng)建注釋

       1 static void aa()
       2 {
       3     NXOpen::Session* theSession = NXOpen::Session::GetSession();
       4     NXOpen::Part* workPart(theSession->Parts()->Work());
       5     NXOpen::Part* displayPart(theSession->Parts()->Display());
       6     NXOpen::ModelingView* modelingView1(dynamic_cast<NXOpen::ModelingView*>(workPart->ModelingViews()->FindObject("Trimetric")));
       7     NXOpen::Matrix3x3 matrix1;
       8     matrix1.Xx = 1.0;
       9     matrix1.Xy = 0.0;
      10     matrix1.Xz = 0.0;
      11     matrix1.Yx = 0.0;
      12     matrix1.Yy = 1.0;
      13     matrix1.Yz = 0.0;
      14     matrix1.Zx = 0.0;
      15     matrix1.Zy = 0.0;
      16     matrix1.Zz = 1.0;
      17     modelingView1->Orient(matrix1);
      18     // ----------------------------------------------
      19     //   Menu: 插入(S)->注釋(A)->注釋(N)...
      20     // ----------------------------------------------
      21     NXOpen::Annotations::SimpleDraftingAid* nullNXOpen_Annotations_SimpleDraftingAid(NULL);
      22     NXOpen::Annotations::DraftingNoteBuilder* draftingNoteBuilder1;
      23     draftingNoteBuilder1 = workPart->Annotations()->CreateDraftingNoteBuilder(nullNXOpen_Annotations_SimpleDraftingAid);
      24     draftingNoteBuilder1->Origin()->SetInferRelativeToGeometry(true);
      25     draftingNoteBuilder1->Origin()->SetAnchor(NXOpen::Annotations::OriginBuilder::AlignmentPositionMidCenter);
      26     std::vector<NXOpen::NXString> text1(1);
      27     text1[0] = "a";
      28     draftingNoteBuilder1->Text()->TextBlock()->SetText(text1);
      29     draftingNoteBuilder1->Origin()->Plane()->SetPlaneMethod(NXOpen::Annotations::PlaneBuilder::PlaneMethodTypeXyPlane);
      30     draftingNoteBuilder1->Origin()->SetInferRelativeToGeometry(true);
      31     NXOpen::Annotations::LeaderData* leaderData1;
      32     leaderData1 = workPart->Annotations()->CreateLeaderData();
      33     leaderData1->SetArrowhead(NXOpen::Annotations::LeaderData::ArrowheadTypeFilledArrow);
      34     leaderData1->SetVerticalAttachment(NXOpen::Annotations::LeaderVerticalAttachmentCenter);
      35     draftingNoteBuilder1->Leader()->Leaders()->Append(leaderData1);
      36     leaderData1->SetArrowhead(NXOpen::Annotations::LeaderData::ArrowheadTypeClosedArrow);
      37     leaderData1->SetStubSide(NXOpen::Annotations::LeaderSideInferred);
      38     leaderData1->SetStubSize(6.3499999999999996);
      39     double symbolscale1;
      40     symbolscale1 = draftingNoteBuilder1->Text()->TextBlock()->SymbolScale();
      41     double symbolaspectratio1;
      42     symbolaspectratio1 = draftingNoteBuilder1->Text()->TextBlock()->SymbolAspectRatio();
      43     draftingNoteBuilder1->Origin()->SetInferRelativeToGeometry(true);
      44     // ----------------------------------------------
      45     //   Dialog Begin 注釋設(shè)置
      46     // ----------------------------------------------
      47     int fontIndex1;
      48     fontIndex1 = workPart->Fonts()->AddFont("hershey-sans", NXOpen::FontCollection::TypeNx);
      49     draftingNoteBuilder1->Style()->LetteringStyle()->SetGeneralTextFont(9);
      50     int fontIndex2;
      51     fontIndex2 = workPart->Fonts()->AddFont("hershey-sans", NXOpen::FontCollection::TypeNx);
      52     draftingNoteBuilder1->Style()->LetteringStyle()->SetGeneralTextLineWidth(NXOpen::Annotations::LineWidthThick);
      53     draftingNoteBuilder1->Style()->LetteringStyle()->SetGeneralTextSize(3.0);
      54     draftingNoteBuilder1->Style()->LetteringStyle()->SetGeneralTextCharSpaceFactor(0.1);
      55     draftingNoteBuilder1->Style()->LetteringStyle()->SetGeneralTextAspectRatio(0.6);
      56     NXOpen::Annotations::Annotation::AssociativeOriginData assocOrigin1;
      57     assocOrigin1.OriginType = NXOpen::Annotations::AssociativeOriginTypeDrag;
      58     NXOpen::View* nullNXOpen_View(NULL);
      59     assocOrigin1.View = nullNXOpen_View;
      60     assocOrigin1.ViewOfGeometry = nullNXOpen_View;
      61     NXOpen::Point* nullNXOpen_Point(NULL);
      62     assocOrigin1.PointOnGeometry = nullNXOpen_Point;
      63     NXOpen::Annotations::Annotation* nullNXOpen_Annotations_Annotation(NULL);
      64     assocOrigin1.VertAnnotation = nullNXOpen_Annotations_Annotation;
      65     assocOrigin1.VertAlignmentPosition = NXOpen::Annotations::AlignmentPositionTopLeft;
      66     assocOrigin1.HorizAnnotation = nullNXOpen_Annotations_Annotation;
      67     assocOrigin1.HorizAlignmentPosition = NXOpen::Annotations::AlignmentPositionTopLeft;
      68     assocOrigin1.AlignedAnnotation = nullNXOpen_Annotations_Annotation;
      69     assocOrigin1.DimensionLine = 0;
      70     assocOrigin1.AssociatedView = nullNXOpen_View;
      71     assocOrigin1.AssociatedPoint = nullNXOpen_Point;
      72     assocOrigin1.OffsetAnnotation = nullNXOpen_Annotations_Annotation;
      73     assocOrigin1.OffsetAlignmentPosition = NXOpen::Annotations::AlignmentPositionTopLeft;
      74     assocOrigin1.XOffsetFactor = 0.0;
      75     assocOrigin1.YOffsetFactor = 0.0;
      76     assocOrigin1.StackAlignmentPosition = NXOpen::Annotations::StackAlignmentPositionAbove;
      77     draftingNoteBuilder1->Origin()->SetAssociativeOrigin(assocOrigin1);
      78     NXOpen::Point3d point1(0.0, 0.0, 0.0);
      79     draftingNoteBuilder1->Origin()->Origin()->SetValue(NULL, nullNXOpen_View, point1);
      80     draftingNoteBuilder1->Origin()->SetInferRelativeToGeometry(true);
      81     NXOpen::NXObject* nXObject1;
      82     nXObject1 = draftingNoteBuilder1->Commit();
      83     draftingNoteBuilder1->Destroy();
      84 }

       

      posted @ 2020-08-27 17:42  老婆餅里有老婆  閱讀(379)  評(píng)論(3)    收藏  舉報(bào)
      主站蜘蛛池模板: 亚洲av成人在线一区| 午夜成人无码免费看网站| 亚洲一区二区精品极品| 狠狠躁夜夜躁人人爽天天69| 亚洲偷自拍国综合| 精品国产三级在线观看| 欧美日韩国产综合草草| 国产精品中文字幕综合| 国产伦精品一区二区三区免费迷| 亚洲的天堂在线中文字幕| 中文字幕国产精品资源| 色欲av无码一区二区人妻| 在线观看特色大片免费网站| 国产午夜福利免费入口| 化州市| 国产av一区二区三区精品| 国产曰批视频免费观看完| 四虎在线成人免费观看| 亚洲性日韩精品一区二区三区| 国产一精品一av一免费| 中文字幕人妻精品在线| 天堂资源国产老熟女在线| 亚洲av不卡电影在线网址最新| 亚洲第一无码AV无码专区| 国产精品剧情亚洲二区| 日韩精品亚洲精品第一页| 亚洲精品亚洲人成人网| 丝袜美腿诱惑之亚洲综合网| 欧美xxxxhd高清| 狠狠色丁香婷婷综合尤物| 国产av午夜精品福利| 额尔古纳市| 人妻中文字幕精品系列| 毛片亚洲AV无码精品国产午夜| 人妻系列无码专区69影院| 微山县| 91久久夜色精品国产网站| 樱花草视频www日本韩国| 亚洲国产精品一区二区第一页| 龙里县| 亚洲中文字幕精品一区二区三区|