首页/文章/ 详情

HyperWork 2024 -二次开发-插件集成Ribbons XML(3/5)

3天前浏览270

摘自帮助文档


自定义功能区页面.xml文件的格式。

XML Overview

功能区.xml结构由操作列表和页面选项卡组成。操作列表包含唯一操作的所有实例,然后在需要时在单个页面选项卡中引用这些操作。它们可以放在文件中的任何位置,只要它们出现在页面标记之外和引用它们的页面之前。页选项卡包含构建整个功能区所需的其余组、操作组和操作。

Changing Solver Interfaces

当更改求解器接口时,所有页面将被重新加载到菜单栏中,并根据该接口是否包含在可见属性中来过滤它们的可见性。关于使用可见属性的更多信息可以在下面找到。

Example

   

<root>
<actionlist>
<action tag="Ext_HM_Ribbon_Capture_Screen_to_Clipboard" text="To Clipboard"   tooltip="Save graphics area to clipboard"  image="save_to_clipboard_ribbon.png" command="tcl: ::ExtensionDemoGlobal::CaptureToClipboard"/>
<action tag="Ext_HM_Ribbon_Capture_Screen_to_File"      text="To File"        tooltip="Save graphics area to PNG file"   image="save_to_file_ribbon.png"      command="tcl: ::ExtensionDemoGlobal::CaptureToPNGFile"/>
<action tag="Ext_HM_Ribbon_Capture_Window_in_WorkDir"   text="Fix Resolution" tooltip="Save fixed resolution in workdir" image="save_to_file_ribbon.png"      command="tcl: ::ExtensionDemoGlobal::CaptureWindowToJPEGFileFixedResolution"/>
</actionlist>
<page tag="Ext_Ribbon_HM_Capture_Tools" text="Capture Tools">
<group tag="Ext_Ribbon_HM_Capture_General" text="Capture">
<action actiontag="Ext_HM_Ribbon_Capture_Screen_to_Clipboard"/>
<action actiontag="Ext_HM_Ribbon_Capture_Screen_to_File"/>
<action actiontag="Ext_HM_Ribbon_Capture_Window_in_WorkDir"/>
</group>
</page>
</root>



Tags


root

根标记必须始终是.xml层次结构的基标记,并将所有标记放在其中。

  • Attributes

  • translationcontext


  • Children

  • page, actionlist

page

表示功能区上的选项卡。

  • Attributes

  • tag, text, spotlighttext, tooltip, visible, homepage, helpcommand

  • Children

  • group

  • Example XML

  • <root>
       <page tag="HMX_Assembly" text="Assembly">
           ...
       </page>
       <page tag="HMX_Geometry" text="Geometry">
           ...
       </page>
       <page tag="HMX_Mesh" text="Mesh">
           ...
       </page>
    </root>

group

组容器,用于组织按垂直分隔符划分的操作组。

  • Attributes

  • tag, text, spotlighttext, tooltip, visible

  • Children

  • actiongroup, menu

  • Example XML

  • <page tag="HMX_Assembly" text="Assembly">
       <group tag="HMX_Organize_G" text="Organize">
           ...
       </group>
       <group tag="HMX_Parts_G" text="Parts">
           ...
       </group>
    </page>

actiongroup

用于组织一组操作的操作组容器。

  • Attributes

  • tag, text, spotlighttext, tooltip, visible, type, defaultaction, dropdownsmallicons

  • Children

  • spriteaction, secondaryribbon

  • Example XML

  • <page tag="HMX_Assembly" text="Assembly">
        <group tag="HMX_Organize_G" text="Organize">
            <actiongroup tag="HMX_Organize_AG" text="Organize">
                ...
            </actiongroup>
            <actiongroup tag="HMX_Collaborate_AG" text="Collaborate">
                ...
            </actiongroup>
            <actiongroup tag="HMX_ID_Manager_AG" text="ID Manager">
                ...
            </actiongroup>
        </group>
    </page>

actionlist

列出所有spriteaction标签的容器。任何新的动作都应该放在其中。

  • Attributes

  • None

  • Children

  • action

action

动作组中的单个动作。动作列表中的每个新spriteaction标签都应该包含来自现有标签的唯一属性。如果新的动作标记不是唯一的,那么应该在页面中需要的地方引用已经存在的标记。

  • Attributes

  • Inside actionlist tags: tag, text, tooltip, image, command, picmask, spotlighttext, enabled, linktoe

  • Inside page tags: actiontag, visible, assatellite, xoffset (with assatellite)

  • Children

  • none

  • Example XML

  • <root>
       <actionlist>
           <action tag="HMX_Collaborate" text="Collaborate" tooltip="Collaboration Tools"
               image="ribbonCollaborateStrip-80.png" command="tcl: ::hw::OpenDataManager"/>
           <action tag="HMX_Subscribe" text="Subscribe" tooltip="Subscribe"
               image="ribbonSatelliteSubscribeStrip-80.png" command="tcl: ::hw::InitSubscribe"/>
           ...
       </actionlist>
       <page tag="HMX_Assembly" text="Assembly">
           <group tag="HMX_Organize_G" text="Organize">
               ...
               <actiongroup tag="HMX_Collaborate_AG" text="Collaborate">
                   <action actiontag="HMX_Collaborate"/>
                   <action actiontag="HMX_Subscribe" assatellite="True"/>
               </actiongroup>
               ...
           </group>
       </page>
    </root>

secondaryribbon

扩展到次要操作组的单个操作。

  • Attributes

  • tag, text, spotlighttext, tooltip, visible, command, assatellite, enabled, linkto, picmask, image

  • Children

  • action

  • Example XML

  • <root>
       <actionlist>
           <action tag="HMX_Parts" text="Parts"
               image="ribbonPartsStrip-64.png"
               command="tcl:  ::hm::context::listentityreview::PostEE Part"/>
           <action tag="HMX_PartsAssems" text="Part Assems"
               image="ribbonAssembliesStrip-64.png"
               command="tcl:  ::hm::context::listentityreview::PostEE PartAssembly"/>
           ...
       </actionlist>
       <page tag="HMX_Assembly" text="Assembly">
           ...
           <group tag="HMX_Parts_G" text="Parts">
               ...
               <actiongroup tag="HMX_Parts_AG" text="Parts" tooltip="">
                   <secondaryribbon tag="HMX_Parts_SR" text="Parts"
                       image="ribbonPartsStrip-80.png">
                       <spriteaction actiontag="HMX_Parts"/>
                       <spriteaction actiontag="HMX_PartAssems"/>
                   </secondaryribbon>
               </actiongroup>
               ...
           </group>
           ...
       </page>
    </root>

menu

放置在组文本右侧的下拉菜单。

  • Attributes

  • Visible

  • Children

  • action, separator

separator

Horizontal separators inside of drop-down menus.

  • Attributes

  • Visible, text, tooltip

  • Children

  • None

  • Example XML

  • <page tag="HMX_Connectors" text="Connectors">
        <group tag="HMX_Create_G" text="Create">
            ...
            <menu>
                <action actiontag="HMX_ConnectorPanels"/>
                <separator/>
                <action actiontag="HMX_Absorption"/>
                <action actiontag="HMX_AutoPitch"/>
                <action actiontag="HMX_Comparison_1"/>
                <action actiontag="HMX_Quality"/>
                <action actiontag="HMX_HoleDetection"/>
                <separator/>
                <spriteaction actiontag="HMX_ConnectorOptions"/>
            </menu>
        </group>
    </page>

if

条件语句,根据提供的表达式显示/隐藏其中包含的所有标记。

  • Attributes

  • eval

  • Children

  • page, group, actiongroup, action, menu, separator

  • Operators

  • ==, !=, <, > <=, >=, in, ni

  • Format

  • eval="expr: $ENVIRONMENT_VARIABLE == VALUE"<br>
    eval="expr: $HM_UNITS > 1"<br>
    eval="tcl: ::HM_Framework::SomeProc %T"<br>
    eval="py: hwf.frwk.test()"
  • Example XML

  • <page tag="HMX_Assembly" text="Assembly">
        <if eval="expr: $PLATFORM == win64">
            <group tag="HMX_Parts_G" text="Parts">
            <if eval="tcl: ::HM_Framework::SomeProc %N %T">
                <action actiontag="HMX_Assemblies"/>
            </if>
            <if eval="py: hwf.frwk.test()">
                <action actiontag="HMX_Verification"/>
            </if>
            </group>
        </if>
    </page>
  • Output

  • 当环境变量platform设置为win64时,Parts组才会显示。只有当.tcl和Python命令返回true时,才会显示Assemblies和Verification操作。

Attributes


tag

标签的唯一标识符

text

显示在屏幕上的文本

spotlighttext

为显示的文本添加蓝色高亮的布尔值

tooltip

在区域悬停时显示的工具顶文本

visible

条件属性显示/隐藏包含在其中的任何标记,基于指定的配置文件可见条件可以嵌套

  • Format

  • visible="expr: $HMPROFILE in {Nastran, OptiStruct, Exodus}"


  • Example XML

  • <page tag="HMX_Analyze" text="Analyze" visible="expr: $HMPROFILE in {Abaqus, Ansys, Exodus}">
        <group tag="HMX_Structural_G" text="Structural">
            <actiongroup tag="HMX_Loads_AG" text="Loads" visible="expr: $HMPROFILE in {Abaqus}">
                <action actiontag="HMX_PressureBack"/>
                <action actiontag="HMX_Moments"/>
                <action actiontag="HMX_List_Loads" assatellite="True"/>
            </actiongroup>
            <actiongroup tag="HMX_Loads_AG" text="Loads" tooltip="">
                <action actiontag="HMX_BaseArc"/>
                <action actiontag="HMX_Forces"/>
            </actiongroup>
        </group>
    </page>
  • Result

  • 只有当求解器界面设置为Abaqus、ANSYS或EXODUS时,整个分析页面才会显示。第一个加载操作组只会在Abaqus中显示。

actiontag

页面中与动作列表中的动作标签相对应的动作标签的唯一标识符。

command

指定选择控件时执行的结果命令

  • Supported commands

  • Python, TCL, Panel, Context

  • Operators

  • ==, !=, <, > <=, >=, in, ni

  • Format

  • command="py: hwf.frwk.test()"<br>
    command="tcl: tcl: ::HM_Framework::Unity::PopUpPanel {config edit}"<br>
    command="panel: {count} {} {}"<br>
    command="context: Patch"
  • Example XML

  • <actionlist>
        <spriteaction tag="HMX_Open" text="Open" image="ribbonFilesOpenStrip-80.png"
        command="py: filemenu.OpenFile()"/>
        <action tag="HMX_Reorder" text="Reorder"
        command="tcl: ::HM_Framework::Unity::PopUpPanel {reorder}"/>
        <action tag="HMX_Count" text="Count" command="panel: {count} {} {}"/>
        <action tag="HMX_Patch" text="Patch" image="ribbonPatchStrip-64.png"
        command="context: Patch"/>
    </actionlist>

assatellite

将动作标记设置为satellite 图像的布尔值

xoffset

设置动作的水平偏移量,仅当assatellite处于活动状态时使用

enabled

禁用的操作在选择时显示为灰色且没有任何操作

linkto

根据标记属性值将一个操作链接到另一个操作,以便在选择时复 制其命令

image

用于动作和标签的图像文件

picmask

用于定义操作的选择区域的图像

type

当值设置为menu时,将下拉菜单添加到动作组标记

  • Example XML

  • <page tag="HMX_OptiStructModel" text="Model" visible="expr: $HMPROFILE in {OptiStruct}">
        <group tag="HMX_Setup_G" text="Setup">
            ...
            <actiongroup tag="HMX_Masses_AG" text="Masses"
                image="ribbonConcentratedMassesStrip-80.png"
                type="menu" defaultaction="HMX_Point_Mass_1" dropdownsmallicons="true">
                <action actiontag="HMX_Point_Mass_1"/>
                <action actiontag="HMX_NSM_1"/>
                <action actiontag="HMX_Rigid_Mass_1"/>
                <action actiontag="HMX_FE_Absorb_1"/>
                <action actiontag="HMX_Review_Masses_1" assatellite="True"/>
            </actiongroup>
            ...
        </group>
        ...
    </page>

defaultaction

根据actiontag属性设置要在动作组下拉菜单中选择的默认动作

dropdownsmallicons

布尔值,在动作组下拉菜单的动作文本旁边启用小的动作图标

eval

与if标记一起使用的条件属性,用于根据环境变量显示/隐藏其中包含的所有标记

homepage

将页面标记设置为主组的布尔值

该组将保持在每页的开头可见


helpcommand

支持页级帮助命令与F1

在空闲上下文中,它将执行此命令而不是默认帮助

遵循与command属性相同的格式


Mesh Page Example


<root>
   <actionlist>
        <action tag="HMX_criteria" text="criteria" tooltip="Open the Criteria Editor"
                image="ribbonMeshParametersCriteriaCriteriaStrip-80.png"
                command="tcl: ::hwt::Source CriteriaEditor.tcl;
                ::CriteriaEditor::OpenDialogWithArgs
                -open_mode hm -show_mode crit_both"/>
        <action tag="HMX_Parameters" text="Parameters" tooltip="Review Parameters"
                command="tcl: ::hm::context::listentityreview::OnSatelliteButtonClick parameters"/>
        <action tag="HMX_Mesh" text="Mesh Controls" tooltip="Mesh Controls"
                image="ribbonMeshControlsStrip-80.png"
                command="tcl: ::hm::br::PostBrowser meshcontrols"/>
        <action tag="HMX_LineMesh" text="Line Mesh" tooltip="Create 1D Element Mesh"
            image="hwd1DMeshing-80.png" command="panel: {line mesh} {} {}"/>
        <action tag="HMX_BatchMesher" text="BatchMesher" tooltip="Altair
            BatchMesher" image="ribbonSurfaceMeshBatchStrip-80.png"
            command="context: 2DMCSBatchMesher" spotlighttext="True"/>
        <action tag="HMX_CFD_2D_Mesh" text="CFD 2D Mesh" tooltip="Generate 2D CFD Meshes"
            image="ribbonSurfaceMeshCFDStrip-80.png" command="context: 2DMCSCfd"
            spotlighttext="True"/>
        <action tag="HMX_Selection_General" text="Create" enabled="True"
            tooltip="Mesh Surfaces" image="ribbonMeshSelectionStrip-64.png"
            command="context: 2DMCSGeneral" spotlighttext="True"/>
        <action tag="HMX_Density_General" text="Density" enabled="False"
            tooltip="Edit Edge Density Values" image="ribbonMeshDensityStrip-64.png"
            command="context: 2DMCEEDensity_General" spotlighttext="True"/>
        <action tag="HMX_Biasing_General" text="Biasing" enabled="False"
            tooltip="Edit Edge Biasing Values" image="ribbonMeshBiasStrip-64.png"
            command="context: 2DMCEEBiasing_General" spotlighttext="True"/>
        <action tag="HMX_FaceEdit_General" text="Face Edit" enabled="False"
            tooltip="Edit Surface Mesh Properties" image="ribbonMeshTypeStrip-64.png"
            command="context: 2DMCFaceEdit_General" spotlighttext="True"/>
        <action tag="HMX_Selection_Panel" text="Create" enabled="True"
            tooltip="Mesh Surfaces" image="ribbonMeshSelectionStrip-64.png"
            command="context: 2DMCSPanelMesh" spotlighttext="True"/>
        <action tag="HMX_Density_Panel" text="Density" enabled="False"
            tooltip="Edit Edge Density Values" image="ribbonMeshDensityStrip-64.png"
            command="context: 2DMCEEDensity_Panel" spotlighttext="True"/>
        <action tag="HMX_Biasing_Panel" text="Biasing" enabled="False"
            tooltip="Edit Edge Biasing Values" image="ribbonMeshBiasStrip-64.png"
            command="context: 2DMCEEBiasing_Panel" spotlighttext="True"/>
        <action tag="HMX_FaceEdit_Panel" text="Face Edit" enabled="False"
            tooltip="Edit Surface Mesh Properties" image="ribbonMeshTypeStrip-64.png"
            command="context: 2DMCFaceEdit_Panel" spotlighttext="True"/>
        <action tag="HMX_Rigid_Body_Mesh" text="Rigid Body Mesh"
            tooltip="Generate 2D Rigid Body Meshes"
            image="ribbonSurfaceMeshRigidBodyStrip-80.png"
            command="context: 2DMCSRigidBody" spotlighttext="True"/>
        <action tag="HMX_Create" text="Automatic" tooltip="Create Midmesh"
            image="ribbonMidmeshCreateStrip-64.png" command="context: 2DMidmeshCreate"
            spotlighttext="True"/>
        <action tag="HMX_Repair" text="Repair/Fill" tooltip="Repair/Fill"
            image="ribbonMidmeshRepairStrip-64.png" command="context: 2DMidmeshRepair"
            spotlighttext="True"/>
        <action tag="HMX_CreateMidedge" text="Create Midedge"
            tooltip="Create Midedge" image="ribbonMidmeshMidedgeStrip-64.png"
            command="context: 2DMidmeshCreateMidedge" spotlighttext="True"/>
        <action tag="HMX_EditTopology" text="Edit Topology"
            tooltip="Edit Midmesh Topology" image="ribbonMidmeshEditStrip-64.png"
            command="context: 2DMidmeshEditTopology" spotlighttext="True"/>
        <action tag="HMX_Align" text="Align" tooltip="Align Midmesh"
            image="ribbonMidmeshAlignStrip-64.png"
            command="context: 2DMidmeshAlign" spotlighttext="True"/>
        <action tag="HMX_Create_1" text="Create" tooltip="Create Feature Edges"
            image="ribbonFeatureEdgesCreateStrip-64.png"
            command="context: FeatureEdgesCreate" spotlighttext="True"/>
        <action tag="HMX_Edit" text="Edit" tooltip="Edit Feature Edges"
            image="ribbonFeatureEdgesEditStrip-64.png"
            command="context: FeatureEdgesEdit" spotlighttext="True"/>
        <action tag="HMX_Rebuild" text="Rebuild" tooltip="Rebuild Mesh"
            image="ribbonMeshRebuildStrip-80.png"
            command="context: 2DMeshRebuild" spotlighttext="True"/>
        <action tag="HMX_AdaptiveWrap" text="Adaptive Wrap"
            tooltip="Adaptive Wrap" command="tcl: ::hwt::Source AdaptiveWrap.tcl"/>
        <action tag="HMX_EMLattice" text="EM Lattice" tooltip="EM Lattice"
            command="tcl: ::hwt::Source VoxelLattice.tcl"/>
        <action tag="HMX_ShrinkWrap" text="Shrink Wrap" tooltip="Shrink Wrap"
        command="tcl: ::HM_Framework::Unity::PopUpPanel {shrink wrap}"/>
        <action tag="HMX_Create_2" text="Create" tooltip="Create Tetra Meshes"
            image="ribbonSolidMeshTetraCreateStrip-64.png"
            command="context: 3DTetrameshCreate" spotlighttext="True"/>
        <action tag="HMX_Remesh" text="Remesh" tooltip="Remesh Tetra Meshes"
            image="ribbonSolidMeshTetraRemeshStrip-64.png"
            command="context: 3DTetrameshRemesh" spotlighttext="True"/>
        <action tag="HMX_Hex" text="Hex" tooltip="Hex Mesh"
            image="ribbonSolidMeshHexStrip-80.png"
            command="panel: {solid map} {multi solids} {}"/>
        <action tag="HMX_Create_3" text="Create" tooltip="Create Voxel Meshes"
            image="ribbonVoxelCreateStrip-64.png"
            command="context: 3DVoxelMeshCreate" spotlighttext="True"/>
        <action tag="HMX_Edit_1" text="+/-" tooltip="Edit Voxel Meshes"
            image="ribbonVoxelEditStrip-64.png" command="context: 3DVoxelMeshEdit"
            spotlighttext="True"/>
        <action tag="HMX_AcousticCavity" text="Acoustic Cavity" tooltip="Acoustic Cavity"
            command="tcl: ::hwt::Source ACM/hmAcousticMeshGUI.tcl;
            ::hmAcousticMeshGui::PostAcousticMesh;"/>
        <action tag="HMX_Morph_Freehand_Nodes" text="Morph Mesh"
            tooltip="Morph Meshes by Moving Nodes or Mapping to Geometry"
            image="ribbonMorphingMeshStrip-80.png"
            command="context: MorphFreehandNodes" spotlighttext="True"/>
        <action tag="HMX_Morph_Shapes" text="Morph Shapes"
            tooltip="Create, Edit, and Apply Shapes" image="ribbonMorphShapesMainStrip-80.png"
            command="context: MorphShapes"/>
        <action tag="HMX_Morph_Shapes_List" text="Morph Shapes List"
            tooltip="Create Shapes" image="ribbonMorphShapesSaveNewStrip-80.png"
            command="tcl: ::hm::context::shapetable::CreateEntity"/>
        <action tag="HMX_Morph_Shapes_Record" text="Morph Shapes Record"
            tooltip="Record Node Movements" image="ribbonMorphShapesRecordStrip-80.png"
            command="tcl: ::hm::context::shapetable::MorphRecord 0"/>
   <actionlist>

   <page tag="HMX_Mesh" text="Mesh" spotlighttext="True">
       <group tag="HMX_Controls_G" text="Controls">
           <actiongroup tag="HMX_Param_Criteria_AG" text="Param/Criteria" tooltip="">
               <action actiontag="HMX_criteria"/>
               <action actiontag="HMX_param"/>
           </actiongroup>
           <actiongroup tag="HMX_Mesh_AG" text="Mesh Controls">
               <action actiontag="HMX_Mesh"/>
           </actiongroup>
       </group>
       <group tag="HMX_1D_Mesh_G" text="1D Mesh">
           <actiongroup tag="HMX_LineMesh_AG" text="Line Mesh">
               <action actiontag="HMX_LineMesh"/>
           </actiongroup>
       </group>
       <group tag="HMX_2D_Mesh_G" text="2D Mesh">
           <actiongroup tag="HMX_SurfaceMesh_AG" text="Surface Mesh" tooltip="" type="menu"
               dropdownsmallicons="true" defaultaction="HMX_General_2D_Mesh_SR"
               image="ribbonSurfaceMeshGeneralStrip-80.png" spotlighttext="True">
               <action actiontag="HMX_BatchMesher"/>
               <action actiontag="HMX_CFD_2D_Mesh"/>
               <secondaryribbon tag="HMX_General_2D_Mesh_SR" text="General 2D Mesh"
                   defaultaction="HMX_Selection_General" tooltip="Generate 2D Meshes"
                   image="ribbonSurfaceMeshGeneralStrip-80.png" spotlighttext="True">
                   <action actiontag="HMX_Selection_General"/>
                   <action actiontag="HMX_Density_General"/>
                   <action actiontag="HMX_Biasing_General"/>
                   <action actiontag="HMX_FaceEdit_General"/>
               </secondaryribbon>
               <secondaryribbon tag="HMX_Panel_Mesh_SR" text="Panel Mesh"
                   defaultaction="HMX_Selection_Panel" tooltip="Generate 2D mapped meshes"
                   image="ribbonSurfaceMeshPanelStrip-80.png" spotlighttext="True">
                   <action actiontag="HMX_Selection_Panel"/>
                   <action actiontag="HMX_Density_Panel"/>
                   <action actiontag="HMX_Biasing_Panel"/>
                   <action actiontag="HMX_FaceEdit_Panel"/>
               </secondaryribbon>
               <action actiontag="HMX_Rigid_Body_Mesh"/>
           </actiongroup>
           <secondaryribbon tag="HMX_Midmesh_SR" text="Midmesh" tooltip="Create Edit Midmesh"
               image="ribbonMidsurfaceMidmeshStrip-80.png" defaultaction="HMX_Create"
               spotlighttext="True">
               <action actiontag="HMX_Create"/>
               <action actiontag="HMX_Repair"/>
               <action actiontag="HMX_CreateMidedge"/>
               <action actiontag="HMX_EditTopology"/>
               <action actiontag="HMX_Align"/>
           </secondaryribbon>
           <secondaryribbon tag="HMX_FeatureEdges_SR" text="Feature Edges"
               tooltip="Create and Edit Mesh Feature Edges"
               image="ribbonFeatureEdgesStrip-80.png"
               defaultaction="HMX_Create_1" spotlighttext="True">
               <action actiontag="HMX_Create_1"/>
               <action actiontag="HMX_Edit"/>
           </secondaryribbon>
           <actiongroup tag="HMX_Rebuild_AG" text="Rebuild" spotlighttext="True">
               <action actiontag="HMX_Rebuild"/>
           </actiongroup>
           <menu>
               <action actiontag="HMX_AdaptiveWrap"/>
               <action actiontag="HMX_EMLattice"/>
               <action actiontag="HMX_ShrinkWrap"/>
           </menu>
       </group>
       <group tag="HMX_3D_Mesh_G" text="3D Mesh">
           <secondaryribbon tag="HMX_Tetra_SR" text="Tetra" tooltip="Create Edit Tetra Meshes"
               image="ribbonSolidMeshTetraStrip-80.png" defaultaction="HMX_Create_2"
               spotlighttext="True">
               <action actiontag="HMX_Create_2"/>
               <action actiontag="HMX_Remesh"/>
           </secondaryribbon>
           <actiongroup tag="HMX_Hex_AG" text="Hex">
               <action actiontag="HMX_Hex"/>
           </actiongroup>
           <secondaryribbon tag="HMX_Voxel_SR" text="Voxel" tooltip="Create Edit Voxel Meshes"
               image="ribbonVoxelStrip-80.png" defaultaction="HMX_Create_3"
               spotlighttext="True">
               <action actiontag="HMX_Create_3"/>
               <action actiontag="HMX_Edit_1"/>
           </secondaryribbon>
           <menu>
               <action actiontag="HMX_AcousticCavity"/>
           </menu>
       </group>
       <group tag="HMX_Morph_G" text="Morph">
           <actiongroup tag="HMX_Morph_Freehand_Nodes_AG" text="Morph Mesh"
               spotlighttext="True">
               <action actiontag="HMX_Morph_Freehand_Nodes"/>
           </actiongroup>
           <actiongroup tag="HMX_Morph_Shapes_AG" text="Shapes"
               tooltip="Create, Edit, and Apply Shapes"
               spotlighttext="True">
               <action actiontag="HMX_Morph_Shapes"/>
               <action actiontag="HMX_Morph_Shapes_List" assatellite="True"/>
               <action actiontag="HMX_Morph_Shapes_Record" assatellite="True"/>
           </actiongroup>
       </group>
   </page>
</root>





来源:TodayCAEer
MeshingACTOptiStructNastranAbaqus二次开发
著作权归作者所有,欢迎分享,未经许可,不得转载
首次发布时间:2024-09-15
最近编辑:3天前
TodayCAEer
本科 签名征集中
获赞 16粉丝 11文章 170课程 0
点赞
收藏
作者推荐

编辑求解器文件-UltraEdit设置每8个字符的列标记

在编辑网格模型文件时,以Nastran或OptiStruct求解器的格式为例,标准格式都是以八个字符分割的字符。我们可以为UltraEdit文本编辑器设置列标记,对于查看和编辑数据非常有帮助。能够避免修改串行。1. 打开UltraEdit软件。2. 点击菜单栏中的“视图”(View)选项。3. 在“列标记”的下拉菜单中选择“设置列标记”。4. 在弹出的对话框中,可以设置多个列标记组。例如,如果希望每八个字符显示一列,可以在第一个编辑框中输入数字8,在后续的列编号输入以数字8为增量的数值。来源:TodayCAEer

未登录
还没有评论
课程
培训
服务
行家
VIP会员 学习 福利任务 兑换礼品
下载APP
联系我们
帮助与反馈