3D注释

符号

ProDtlsymdef

Detail symbol definition(自定义符号,在模型库中)

ProDtlsyminst

Detail symbol instance(符号实例,已标注在模型中)

遍历

遍历3D尺寸

函数:ProSolidDimensionVisit

  1. ProErr error;
  2. ptkSolid solid;
  3. solid.InitByCurrent();
  4. _DefineObjectHasScopeAndAlloc(ptkArray<ProDimension>, dimensions);
  5. error = solid.DimensionVisit(PRO_B_FALSE, _action::DrivenDimensionVisitAction,nullptr, &dimensions);

遍历3D符号

ProSolidDtlsyminstVisit

  1. ProErr error;
  2. ptkSolid solid;
  3. solid.InitByCurrent();
  4. _DefineObjectHasScopeAndAlloc(ptkArray<ProDtlitem>, syminst);
  5. error = solid.DtlsyminstVisit(syminst);

遍历3D注释

ProMdlNoteVisit

  1. ProErr error;
  2. ptkSolid solid;
  3. solid.InitByCurrent();
  4. _DefineObjectHasScopeAndAlloc(ptkArray<ProNote>, notes);
  5. error = solid.NoteVisit(notes);

注:_DefineObjectHasScopeAndAlloc