首页 > 其他 > 详细

已知体的最大尺寸在一堆实体里面找这个体

时间:2020-03-07 23:53:24      阅读:167      评论:0      收藏:0      [点我收藏+]
 1         double LL=expression0->Value();
 2         double W=expression01->Value();
 3         double H=expression02->Value();
 4         
 5         UF_initialize();    
 6         tag_t ObjectTag = NULL_TAG;
 7         int Type, SubType,pp=0;
 8         UF_OBJ_cycle_objs_in_part(UF_PART_ask_display_part(), UF_solid_type, &ObjectTag);
 9         UF_LAYER_set_status(1,1);
10         while (ObjectTag != NULL_TAG)
11         {            
12             
13             UF_OBJ_set_blank_status(ObjectTag,UF_OBJ_BLANKED);//隐藏所有体
14             UF_OBJ_ask_type_and_subtype(ObjectTag, &Type, &SubType);
15             if (SubType == UF_solid_body_subtype )
16             {
17                 //测量
18                 double min_corner[3]={0,0,0};
19                 double directions[3][3];
20                 double distances[3]={0,0,0};
21                 UF_MODL_ask_bounding_box_exact(
22                     ObjectTag,    //输入实体
23                     NULL_TAG,      //输入坐标 【NULL_TAG=默认工作坐标】
24                     min_corner,    //输出 x,y,z 最小值【最小坐标】
25                     directions,    //输出 边界框的方向向量
26                     distances);    //输出 大小
27                 if (        distances[0]<=LL+0.02&&distances[0]>=LL-0.02 && distances[1]<=W+0.02&&distances[1]>=W-0.02 && distances[2]<=H+0.02&&distances[2]>=H-0.02 
28                         ||    distances[1]<=LL+0.02&&distances[1]>=LL-0.02 && distances[2]<=W+0.02&&distances[2]>=W-0.02 && distances[0]<=H+0.02&&distances[0]>=H-0.02 
29                         ||    distances[2]<=LL+0.02&&distances[2]>=LL-0.02 && distances[0]<=W+0.02&&distances[0]>=W-0.02 && distances[1]<=H+0.02&&distances[1]>=H-0.02 
30                 )
31                 //if (        distances[0]==LL&& distances[1]==W&& distances[2]==H                )
32                 {
33                     UF_OBJ_set_blank_status(ObjectTag,UF_OBJ_NOT_BLANKED);//显示这个体
34                 }
35 
36                 
37 
38             }
39             UF_OBJ_cycle_objs_in_part(UF_PART_ask_display_part(), UF_solid_type, &ObjectTag);
40             
41         }    
42       //bug就是体必须放正,如果是个斜的就找不出来了
43         UF_terminate();
 1 #include <uf.h>
 2 #include <uf_ui.h>
 3 #include <uf_obj.h>
 4 #include <uf_modl_primitives.h>
 5 #include <uf_csys.h>
 6 #include <uf_layer.h>
 7 #include <uf_object_types.h>
 8 #include <uf_modl_utilities.h>
 9 #include <uf_part.h>
10 #include <uf_modl.h>
11 #include <uf_group.h>
12 #include <uf_ui.h>
13 #include <uf_layer.h>
14 #include <uf_obj.h>
15 #include <uf_object_types.h>
16 #include <uf_defs.h>
17 #include <libufun_exports.h>

 

<?xml version="1.0" encoding="UTF-8"?>

<Dialog NX="8.5.3" id="Dialog" name="Dialog" type="uicomp" Saved="Sat Mar 07 20:19:50 2020
" class="" notes="" title="D:\MY_tool\APPLICATION\find_body.dlx" creator="Administrator" version="1.0.0" Expanded="1" languageInfo="Language and Codeset: simpl_chinese 13" ContainerItems="1"><item id="group0" name="group0" type="uicomp" class="UGS::UICOMP_group" notes="" Expanded="1" hierarchy="" presentation="Group" ContainerItems="1"><PropertyList><Property id="Members" mask="0" name="Members" type="array" class="UGS::UI::Comp::Container" group="Block Specific::" sname="Members" source="1" dynamic="1" hierarchy="UGS::UICOMP_group"><PropertyList id="ContainerItems" mode="1" class="UGS::UI::Comp::Container" Expanded="1" hierarchy="UGS::UICOMP_group"><Property id="expression0" mask="256" name="expression0" type="uicomp" class="UICOMP_expression" hierarchy="" presentation="Expression"><item id="expression0" icon="equals.bmp" name="expression0" type="uicomp" class="UICOMP_expression" notes="" Expanded="1" hierarchy="" presentation="Expression"><PropertyList id="id" mode="0"><Property id="API Name" mask="16400" name="API Name" type="string" group="General::" sname="BlockID" value="expression0" source="3" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Visibility" mask="0" name="Visibility" type="logical" group="General::" sname="Show" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Sensitivity" mask="0" name="Sensitivity" type="logical" group="General::" sname="Enable" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Group" mask="16384" name="Group" type="logical" group="General::" sname="Group" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Expanded" mask="4" name="Expanded" type="logical" group="General::" sname="Expanded" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="HideGroup" mask="69636" name="HideGroup" type="logical" group="General::" sname="HideGroup" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Focus" mask="69636" name="Focus" type="logical" group="General::" sname="Focus" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="CanFocus" mask="69636" name="CanFocus" type="logical" group="General::" sname="CanFocus" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="KeyboardFocus" mask="69636" name="KeyboardFocus" type="logical" group="General::" sname="KeyboardFocus" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="CanKeyboardFocus" mask="69636" name="CanKeyboardFocus" type="logical" group="General::" sname="CanKeyboardFocus" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Value" mask="2" name="Value" type="double" group="Block Specific::" sname="Value" value="0" source="4" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="HasUnitsMenu" mask="16384" name="HasUnitsMenu" type="logical" group="Block Specific::" sname="HasUnitsMenu" value="False" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="Formula" mask="0" name="Formula" type="utfstring" group="Block Specific::" sname="Formula" value="0" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="UserLockable" mask="69632" name="UserLockable" type="logical" group="Block Specific::" sname="UserLockable" value="False" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="UserLocked" mask="69634" name="UserLocked" type="logical" group="Block Specific::" sname="UserLocked" value="False" source="2" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="BalloonTooltipText" mask="0" name="BalloonTooltipText" type="utfstring" group="Block Specific::" sname="BalloonTooltipText" value="" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="BalloonTooltipImage" mask="0" name="BalloonTooltipImage" type="string" group="Block Specific::" sname="BalloonTooltipImage" value="" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="BalloonTooltipLayout" mask="0" name="BalloonTooltipLayout" type="enum" brief="0" group="Block Specific::" sname="BalloonTooltipLayout" source="1" ClassID="UGS::UICOMP_expression" dynamic="0" selected="0" hierarchy="UGS::UICOMP_expression"><Option name="Horizontal" value="0"/><Option name="Vertical" value="1"/></Property><Property id="Top" loc="1" mask="16384" name="Top" type="attachment" group="Other::Attachments::" sname="Top" offset="0" source="3" target="Default" ClassID="UGS::UIFW_dialog_layout" hierarchy="UGS::UIFW_dialog_layout"/><Property id="Left" loc="2" mask="16384" name="Left" type="attachment" group="Other::Attachments::" sname="Left" offset="0" source="3" target="Default" ClassID="UGS::UIFW_dialog_layout" hierarchy="UGS::UIFW_dialog_layout"/><Property id="Right" loc="3" mask="16384" name="Right" type="attachment" group="Other::Attachments::" sname="Right" offset="0" source="3" target="Default" ClassID="UGS::UIFW_dialog_layout" hierarchy="UGS::UIFW_dialog_layout"/><Property id="Bottom" loc="4" mask="16384" name="Bottom" type="attachment" group="Other::Attachments::" sname="Bottom" offset="0" source="3" target="Default" ClassID="UGS::UIFW_dialog_layout" hierarchy="UGS::UIFW_dialog_layout"/><Property id="Title" mask="256" name="Title" type="utfstring" group="General::" sname="Label" value="" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Dimensionality" mask="24832" name="Dimensionality" type="enum" brief="1" group="Block Specific::" sname="Dimensionality" source="1" ClassID="UGS::UICOMP_expression" dynamic="0" selected="0" hierarchy="UGS::UICOMP_expression"/><Property id="MaximumValue" mask="0" name="MaximumValue" type="double" group="Block Specific::" sname="MaximumValue" value="1.79769313486232e+308" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="MinimumValue" mask="256" name="MinimumValue" type="double" group="Block Specific::" sname="MinimumValue" value="0" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="MaxInclusive" mask="256" name="MaxInclusive" type="logical" group="Block Specific::" sname="MaxInclusive" value="True" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="MinInclusive" mask="256" name="MinInclusive" type="logical" group="Block Specific::" sname="MinInclusive" value="False" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="WithScale" mask="16640" name="WithScale" type="logical" group="Block Specific::" sname="WithScale" value="False" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/></PropertyList></item></Property><Property id="expression01" mask="256" name="expression01" type="uicomp" class="UICOMP_expression" hierarchy="UGS::UICOMP_group" presentation="Expression"><item id="expression01" icon="equals.bmp" name="expression01" type="uicomp" class="UICOMP_expression" notes="" Expanded="1" hierarchy="" presentation="Expression"><PropertyList id="id" mode="0"><Property id="API Name" mask="16400" name="API Name" type="string" group="General::" sname="BlockID" value="expression01" source="3" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Visibility" mask="0" name="Visibility" type="logical" group="General::" sname="Show" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Sensitivity" mask="0" name="Sensitivity" type="logical" group="General::" sname="Enable" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Group" mask="16384" name="Group" type="logical" group="General::" sname="Group" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Expanded" mask="4" name="Expanded" type="logical" group="General::" sname="Expanded" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="HideGroup" mask="69636" name="HideGroup" type="logical" group="General::" sname="HideGroup" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Focus" mask="69636" name="Focus" type="logical" group="General::" sname="Focus" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="CanFocus" mask="69636" name="CanFocus" type="logical" group="General::" sname="CanFocus" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="KeyboardFocus" mask="69636" name="KeyboardFocus" type="logical" group="General::" sname="KeyboardFocus" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="CanKeyboardFocus" mask="69636" name="CanKeyboardFocus" type="logical" group="General::" sname="CanKeyboardFocus" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Value" mask="2" name="Value" type="double" group="Block Specific::" sname="Value" value="0" source="4" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="HasUnitsMenu" mask="16384" name="HasUnitsMenu" type="logical" group="Block Specific::" sname="HasUnitsMenu" value="False" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="Formula" mask="0" name="Formula" type="utfstring" group="Block Specific::" sname="Formula" value="0" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="UserLockable" mask="69632" name="UserLockable" type="logical" group="Block Specific::" sname="UserLockable" value="False" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="UserLocked" mask="69634" name="UserLocked" type="logical" group="Block Specific::" sname="UserLocked" value="False" source="2" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="BalloonTooltipText" mask="0" name="BalloonTooltipText" type="utfstring" group="Block Specific::" sname="BalloonTooltipText" value="" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="BalloonTooltipImage" mask="0" name="BalloonTooltipImage" type="string" group="Block Specific::" sname="BalloonTooltipImage" value="" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="BalloonTooltipLayout" mask="0" name="BalloonTooltipLayout" type="enum" brief="0" group="Block Specific::" sname="BalloonTooltipLayout" source="1" ClassID="UGS::UICOMP_expression" dynamic="0" selected="0" hierarchy="UGS::UICOMP_expression"><Option name="Horizontal" value="0"/><Option name="Vertical" value="1"/></Property><Property id="Top" loc="1" mask="16384" name="Top" type="attachment" group="Other::Attachments::" sname="Top" offset="0" source="3" target="Default" ClassID="UGS::UIFW_dialog_layout" hierarchy="UGS::UIFW_dialog_layout"/><Property id="Left" loc="2" mask="16384" name="Left" type="attachment" group="Other::Attachments::" sname="Left" offset="0" source="3" target="Default" ClassID="UGS::UIFW_dialog_layout" hierarchy="UGS::UIFW_dialog_layout"/><Property id="Right" loc="3" mask="16384" name="Right" type="attachment" group="Other::Attachments::" sname="Right" offset="0" source="3" target="Default" ClassID="UGS::UIFW_dialog_layout" hierarchy="UGS::UIFW_dialog_layout"/><Property id="Bottom" loc="4" mask="16384" name="Bottom" type="attachment" group="Other::Attachments::" sname="Bottom" offset="0" source="3" target="Default" ClassID="UGS::UIFW_dialog_layout" hierarchy="UGS::UIFW_dialog_layout"/><Property id="Dimensionality" mask="24832" name="Dimensionality" type="enum" brief="1" group="Block Specific::" sname="Dimensionality" source="1" ClassID="UGS::UICOMP_expression" dynamic="0" selected="0" hierarchy="UGS::UICOMP_expression"/><Property id="MaximumValue" mask="0" name="MaximumValue" type="double" group="Block Specific::" sname="MaximumValue" value="1.79769313486232e+308" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="MinimumValue" mask="256" name="MinimumValue" type="double" group="Block Specific::" sname="MinimumValue" value="0" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="MaxInclusive" mask="256" name="MaxInclusive" type="logical" group="Block Specific::" sname="MaxInclusive" value="True" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="MinInclusive" mask="256" name="MinInclusive" type="logical" group="Block Specific::" sname="MinInclusive" value="False" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="WithScale" mask="16640" name="WithScale" type="logical" group="Block Specific::" sname="WithScale" value="False" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="Title" mask="256" name="Title" type="utfstring" group="General::" sname="Label" value="" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/></PropertyList></item></Property><Property id="expression02" mask="256" name="expression02" type="uicomp" class="UICOMP_expression" hierarchy="UGS::UICOMP_group" presentation="Expression"><item id="expression02" icon="equals.bmp" name="expression02" type="uicomp" class="UICOMP_expression" notes="" Expanded="1" hierarchy="" presentation="Expression"><PropertyList id="id" mode="0"><Property id="API Name" mask="16400" name="API Name" type="string" group="General::" sname="BlockID" value="expression02" source="3" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Visibility" mask="0" name="Visibility" type="logical" group="General::" sname="Show" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Sensitivity" mask="0" name="Sensitivity" type="logical" group="General::" sname="Enable" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Group" mask="16384" name="Group" type="logical" group="General::" sname="Group" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Expanded" mask="4" name="Expanded" type="logical" group="General::" sname="Expanded" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="HideGroup" mask="69636" name="HideGroup" type="logical" group="General::" sname="HideGroup" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Focus" mask="69636" name="Focus" type="logical" group="General::" sname="Focus" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="CanFocus" mask="69636" name="CanFocus" type="logical" group="General::" sname="CanFocus" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="KeyboardFocus" mask="69636" name="KeyboardFocus" type="logical" group="General::" sname="KeyboardFocus" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="CanKeyboardFocus" mask="69636" name="CanKeyboardFocus" type="logical" group="General::" sname="CanKeyboardFocus" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/><Property id="Value" mask="2" name="Value" type="double" group="Block Specific::" sname="Value" value="0" source="4" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="HasUnitsMenu" mask="16384" name="HasUnitsMenu" type="logical" group="Block Specific::" sname="HasUnitsMenu" value="False" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="Formula" mask="0" name="Formula" type="utfstring" group="Block Specific::" sname="Formula" value="0" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="UserLockable" mask="69632" name="UserLockable" type="logical" group="Block Specific::" sname="UserLockable" value="False" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="UserLocked" mask="69634" name="UserLocked" type="logical" group="Block Specific::" sname="UserLocked" value="False" source="2" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="BalloonTooltipText" mask="0" name="BalloonTooltipText" type="utfstring" group="Block Specific::" sname="BalloonTooltipText" value="" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="BalloonTooltipImage" mask="0" name="BalloonTooltipImage" type="string" group="Block Specific::" sname="BalloonTooltipImage" value="" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="BalloonTooltipLayout" mask="0" name="BalloonTooltipLayout" type="enum" brief="0" group="Block Specific::" sname="BalloonTooltipLayout" source="1" ClassID="UGS::UICOMP_expression" dynamic="0" selected="0" hierarchy="UGS::UICOMP_expression"><Option name="Horizontal" value="0"/><Option name="Vertical" value="1"/></Property><Property id="Top" loc="1" mask="16384" name="Top" type="attachment" group="Other::Attachments::" sname="Top" offset="0" source="3" target="Default" ClassID="UGS::UIFW_dialog_layout" hierarchy="UGS::UIFW_dialog_layout"/><Property id="Left" loc="2" mask="16384" name="Left" type="attachment" group="Other::Attachments::" sname="Left" offset="0" source="3" target="Default" ClassID="UGS::UIFW_dialog_layout" hierarchy="UGS::UIFW_dialog_layout"/><Property id="Right" loc="3" mask="16384" name="Right" type="attachment" group="Other::Attachments::" sname="Right" offset="0" source="3" target="Default" ClassID="UGS::UIFW_dialog_layout" hierarchy="UGS::UIFW_dialog_layout"/><Property id="Bottom" loc="4" mask="16384" name="Bottom" type="attachment" group="Other::Attachments::" sname="Bottom" offset="0" source="3" target="Default" ClassID="UGS::UIFW_dialog_layout" hierarchy="UGS::UIFW_dialog_layout"/><Property id="Dimensionality" mask="24832" name="Dimensionality" type="enum" brief="1" group="Block Specific::" sname="Dimensionality" source="1" ClassID="UGS::UICOMP_expression" dynamic="0" selected="0" hierarchy="UGS::UICOMP_expression"/><Property id="MaximumValue" mask="0" name="MaximumValue" type="double" group="Block Specific::" sname="MaximumValue" value="1.79769313486232e+308" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="MinimumValue" mask="256" name="MinimumValue" type="double" group="Block Specific::" sname="MinimumValue" value="0" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="MaxInclusive" mask="256" name="MaxInclusive" type="logical" group="Block Specific::" sname="MaxInclusive" value="True" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="MinInclusive" mask="256" name="MinInclusive" type="logical" group="Block Specific::" sname="MinInclusive" value="False" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="WithScale" mask="16640" name="WithScale" type="logical" group="Block Specific::" sname="WithScale" value="False" source="1" ClassID="UGS::UICOMP_expression" hierarchy="UGS::UICOMP_expression"/><Property id="Title" mask="256" name="Title" type="utfstring" group="General::" sname="Label" value="" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_expression"/></PropertyList></item></Property></PropertyList></Property><Property id="API Name" mask="16400" name="API Name" type="string" group="General::" sname="BlockID" value="group0" source="3" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_group"/><Property id="Title" mask="1" name="Title" type="utfstring" group="General::" sname="Label" value="No Title" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_group"/><Property id="Visibility" mask="0" name="Visibility" type="logical" group="General::" sname="Show" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_group"/><Property id="Sensitivity" mask="0" name="Sensitivity" type="logical" group="General::" sname="Enable" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_group"/><Property id="Group" mask="86020" name="Group" type="logical" group="General::" sname="Group" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_group"/><Property id="Expanded" mask="0" name="Expanded" type="logical" group="General::" sname="Expanded" value="True" source="2" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_group"/><Property id="HideGroup" mask="69636" name="HideGroup" type="logical" group="General::" sname="HideGroup" value="False" source="2" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_group"/><Property id="Focus" mask="69636" name="Focus" type="logical" group="General::" sname="Focus" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_group"/><Property id="CanFocus" mask="69636" name="CanFocus" type="logical" group="General::" sname="CanFocus" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_group"/><Property id="KeyboardFocus" mask="69636" name="KeyboardFocus" type="logical" group="General::" sname="KeyboardFocus" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_group"/><Property id="CanKeyboardFocus" mask="69636" name="CanKeyboardFocus" type="logical" group="General::" sname="CanKeyboardFocus" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::UICOMP_group"/><Property id="UIOnly" mask="69636" name="UIOnly" type="logical" group="Other::" sname="RetainValueInUIOnly" value="False" source="1" ClassID="UGS::UICOMP_widget" hierarchy="UGS::UICOMP_group"/><Property id="Translated" mask="16384" name="Translated" type="logical" group="Other::" sname="Localize" value="True" source="1" ClassID="UGS::UICOMP_widget" hierarchy="UGS::UICOMP_group"/><Property id="Column" mask="16384" name="Column" type="integer" group="Block Specific::" sname="Column" value="1" source="1" ClassID="UGS::UICOMP_group" hierarchy="UGS::UICOMP_group"/><Property id="Top" loc="1" mask="16384" name="Top" type="attachment" group="Other::Attachments::" sname="Top" offset="0" source="3" target="Default" ClassID="UGS::UIFW_dialog_layout" hierarchy="UGS::UIFW_dialog_layout"/><Property id="Left" loc="2" mask="16384" name="Left" type="attachment" group="Other::Attachments::" sname="Left" offset="0" source="3" target="Default" ClassID="UGS::UIFW_dialog_layout" hierarchy="UGS::UIFW_dialog_layout"/><Property id="Right" loc="3" mask="16384" name="Right" type="attachment" group="Other::Attachments::" sname="Right" offset="0" source="3" target="Default" ClassID="UGS::UIFW_dialog_layout" hierarchy="UGS::UIFW_dialog_layout"/><Property id="Bottom" loc="4" mask="16384" name="Bottom" type="attachment" group="Other::Attachments::" sname="Bottom" offset="0" source="3" target="Default" ClassID="UGS::UIFW_dialog_layout" hierarchy="UGS::UIFW_dialog_layout"/></PropertyList></item><PropertyList id="id" mode="0"><Property id="Title" mask="0" name="Title" type="utfstring" group="General::" sname="Label" value="无标题" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::Styler::DialogItem"/><Property id="Sensitivity" mask="0" name="Sensitivity" type="logical" group="General::" sname="Enable" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::Styler::DialogItem"/><Property id="Cue" mask="0" name="Cue" type="utfstring" group="General::" sname="Cue" value="" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::Styler::DialogItem"/><Property id="Group" mask="16384" name="Group" type="logical" group="General::" sname="Group" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::Styler::DialogItem"/><Property id="Expanded" mask="4" name="Expanded" type="logical" group="General::" sname="Expanded" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::Styler::DialogItem"/><Property id="HideGroup" mask="4100" name="HideGroup" type="logical" group="General::" sname="HideGroup" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::Styler::DialogItem"/><Property id="Focus" mask="4100" name="Focus" type="logical" group="General::" sname="Focus" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::Styler::DialogItem"/><Property id="CanFocus" mask="4100" name="CanFocus" type="logical" group="General::" sname="CanFocus" value="True" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::Styler::DialogItem"/><Property id="KeyboardFocus" mask="4100" name="KeyboardFocus" type="logical" group="General::" sname="KeyboardFocus" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::Styler::DialogItem"/><Property id="CanKeyboardFocus" mask="4100" name="CanKeyboardFocus" type="logical" group="General::" sname="CanKeyboardFocus" value="False" source="1" ClassID="UGS::UICOMP" hierarchy="UGS::Styler::DialogItem"/><Property id="DockPolicy" mask="0" name="DockPolicy" type="enum" brief="0" group="General::Other::" sname="Dialog Sizing" source="1" ClassID="UGS::UICOMP" dynamic="0" selected="1" hierarchy="UGS::Styler::DialogItem"><Option name="Allow Resize" value="0"/><Option name="Follow Policy" value="1"/></Property><Property id="NavigationStyle" mask="393216" name="NavigationStyle" type="enum" brief="0" group="General::Other::" sname="Navigation Style" source="1" ClassID="UGS::UICOMP" dynamic="0" selected="2" hierarchy="UGS::Styler::DialogItem"><Option name="OK Cancel" value="0"/><Option name="Close" value="1"/><Option name="OK Apply Cancel" value="2"/></Property><Property id="CommandSnapToggleMask" mask="4100" name="CommandSnapToggleMask" type="bits" group="General::" sname="CommandSnapToggleMask" value="0x298" source="2" ClassID="UGS::UICOMP" dynamic="1" hierarchy="UGS::Styler::DialogItem" AskForcedBits="0" AskRequiresSetting="0"/></PropertyList><AutoGenData><PropertyList id="id" mode="0"><Property id="Generate Comment" mask="0" name="Generate Comment" type="logical" group="##43General::" sname="Generate Comment" value="True" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="Generate Partial Classes" mask="4" name="Generate Partial Classes" type="logical" group="##43General::" sname="Generate Partial Classes" value="True" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="Generate Block Specific Code" mask="0" name="Generate Block Specific Code" type="logical" group="##43General::" sname="Generate Block Specific Code" value="True" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="EPCallback" mask="0" name="EPCallback" type="logical" group="Entry Points::" sname="Callback" value="False" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="EPMenu" mask="0" name="EPMenu" type="logical" group="Entry Points::" sname="Menu" value="False" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="EPUserEntry" mask="0" name="EPUserEntry" type="logical" group="Entry Points::" sname="User Exit" value="True" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="Filter" mask="0" name="Filter" type="logical" group="Dialog Callbacks::" sname="Filter" value="False" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="Update" mask="0" name="Update" type="logical" group="Dialog Callbacks::" sname="Update" value="True" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="OK" mask="0" name="OK" type="logical" group="Dialog Callbacks::" sname="OK" value="True" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="Apply" mask="2" name="Apply" type="logical" group="Dialog Callbacks::" sname="Apply" value="True" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="Cancel" mask="0" name="Cancel" type="logical" group="Dialog Callbacks::" sname="Cancel" value="False" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="Close" mask="4" name="Close" type="logical" group="Dialog Callbacks::" sname="Close" value="False" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="Initialize" mask="2" name="Initialize" type="logical" group="Dialog Callbacks::" sname="Initialize" value="True" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="Dialog Shown" mask="0" name="Dialog Shown" type="logical" group="Dialog Callbacks::" sname="Dialog Shown" value="True" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="Focus Notify" mask="0" name="Focus Notify" type="logical" group="Dialog Callbacks::" sname="Focus Notify" value="False" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="Keyboard Focus Notify" mask="0" name="Keyboard Focus Notify" type="logical" group="Dialog Callbacks::" sname="Keyboard Focus Notify" value="False" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="Enable OK/Apply Button" mask="0" name="Enable OK/Apply Button" type="logical" group="Dialog Callbacks::" sname="Enable OK/Apply Button" value="False" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="Block Name" mask="132" name="Block Name" type="utfstring" group="Catalog Specific::" sname="Block Name" value="" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="Block Icon" mask="132" name="Block Icon" type="string" group="Catalog Specific::" sname="Block Icon" value="hand" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="Catalog Tooltip" mask="132" name="Catalog Tooltip" type="utfstring" group="Catalog Specific::" sname="Catalog Tooltip" value="User Defined UI Block" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="Catalog Category" mask="132" name="Catalog Category" type="utfstring" group="Catalog Specific::" sname="Catalog Category" value="User Defined UI Block" source="3" ClassID="Bad Class Id (OM_invalid)" hierarchy="NULL"/><Property id="Automation Language" mask="384" name="Automation Language" type="enum" brief="0" group="##43General::" sname="Language" source="3" ClassID="Bad Class Id (OM_invalid)" dynamic="0" selected="1" hierarchy="NULL"><Option name="VB.NET" value="0"/><Option name="C++" value="1"/><Option name="Java" value="2"/><Option name="C#" value="3"/><Option name="VB.NET for SNAP" value="5"/></Property></PropertyList></AutoGenData>
</Dialog>

 

已知体的最大尺寸在一堆实体里面找这个体

原文:https://www.cnblogs.com/liuxiaoqing1/p/12439031.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!