仅适用于

这些说明介绍发行任何对象的基本工作流程,并用单一零件进行了演示。

创建发布的步骤只能在浏览器上完成,但其余步骤(审阅、核准、拒绝等)可以在任何 Onshape 平台上完成。

启动发布流程有四种方式,该流程用于为选定实体打开“创建发布候选”对话框,此处通过单独的部分进行了说明:

  • In a Part Studio, from the Parts list: Right-click the part you want to release and select Release:

    在右键菜单中亮显了“发布”

    此方法使用选定零件预先填充“创建发布候选”对话框。

  • For any tab (Part Studio, Assembly, Drawing, Variable Studio, or imported file): Right-click on the tab and select Release:

    在选项卡右键菜单中亮显了“发布”

    此方法使用选项卡的内容预先填充“创建发布候选”对话框。就工程图而言,还会涉及工程图的零件或装配体。

  • From any Properties dialog: Right-click on a part, Part Studio, Assembly, Drawing, Variable Studio, or File tab and select Properties. In the top-left corner of the dialog, click 发布创建图标. This method pre-populates the Create Release candidate dialog with the part selected or the contents of the tab selected.
  • From the open Versions and history panel: Click 发布创建图标. This method pre-populates the Create Release candidate dialog with objects from the currently active tab.

用上面说明的方法开始发布过程时:

  1. “创建候选版本”对话框随即打开。

    “创建发布候选”对话框的屏幕截图

  2. 您可以通过单击并拖动边或角来调整此对话框及其区域的大小。
    新输入框或修改后的输入框在输入框左上角标有黄色三角形。在此对话框中,您可以使用“撤消”和“重做”按钮,或者使用操作系统的热键来撤消或重做更改。

  3. The part you selected in the Parts list is already listed in this dialog. (You can use the plus sign 加号 to add more objects.) If you selected an Assembly, all of the parts in the Assembly are listed. You can select items from the Part Studios, Assemblies, Variable Studios, Drawings, or Files., as shown below:

    “添加发布项”对话框

    您可以在提交之前通过单击列表中的对象名称来检查任何对象的设计。相应的选项卡将在另一个浏览器选项卡中打开。

    您可以通过单击对象名称旁边的红色 x 来移除不需要发布的任何对象。

  4. 系统会根据设置过程中进行的选择(字母、数字或自定义)以及此对象的任何以前发布自动提供修订。

    对于新版本,修订版会自动增加。请注意,修订仅应用于发布过程中的对象,而永远不会应用于工作区中的对象。一旦创建了发布候选,就会捕获一个版本,并且发布候选中的所有对象都是该版本中的对象。除非在“零件”特性中手动指定,否则工作区中的对象没有“修订”标签。

    在启用“版本管理”后进行初始修订时,Onshape 会尝试保留零件、部件和工程图的修订值。这在从 SOLIDWORKS 等外部来源导入对象时非常有用,其中修订已应用到对象。例如,如果导入的零件的修订值为 3,则第一个版本包会将零件的修订保留为 3。如果关联的修订与版本管理方案不同,则会生成一条警告消息,并且对象的修订值会调整以匹配版本管理修订方案。例如,下图中的零件 3 分配了数字修订值 6,而版本管理方案设置为字母。在第一个版本中,零件 3 的新修订值会设置为 A,且伴有警告消息。

    当您没有有效的修订方案条目时看到的警告消息的示例

    您可以更改修订,但不能按顺序倒退。例如,如果以前的修订是 B,则 Onshape 会建议 C。您也可以按字母顺序输入 C 之后的任意字母,但不能更改为 A。

  5. 该对象的当前状态也会自动提供:
    • 进行中反映首次正在发布的对象。
    • 待决中反映了其发布正在等待批准的对象。
    • 已发布反映先前发布的链接对象。
  6. 为零件提供唯一的零件编号:
    1. Onshape 追踪各发布中的零件编号,并防止重新发布现有零件编号的较低修订版本。
    2. If you have Sequential part number generation turned on in Release management settings click the 零件编号图标 icon to generate a part number. Clicking 零件编号图标 at the top of the dialog generates part numbers for all of the objects in the Release candidate.
    3. If you have Drawing can reuse part number from an assembly or part in the release turned on in Release management settings, and you click 零件编号图标 to Generate part numbers for all objects in the Release candidate, Onshape will generate a new part number for all Drawings which don't have a Part number assigned to both the Drawing and the object inserted in the drawing. If either the Drawing or object inserted in the drawing has an associated number, but the other does not, the associated part number is assigned to both. This only happens if a Drawing has only one object inserted. If multiple objects are inserted into the drawing, a new part number is generated. You can still generate individual part numbers by clicking the 零件编号图标 icon to the right of each item in the parts list.

    Click the Properties icon 特性图标 next to each object in the top half of the dialog to open the view displaying the properties in order to enter and record property information for the object. This allows you to begin editing properties of released objects

    单击“导出”图标导出图标 next to the Properties icon to export that release or entities in that release.

  7. 根据管理员设置规则的方式,有些输入框是强制性的,有些输入框可能不是。请在以下每个输入框提供信息(如果需要):
    1. 发布名称 - 这是 Onshape 必填项,将作为版本名称显示在“版本和历史记录”面板中(您稍后可以在其中查看版本信息)。
    2. 发布说明 - 公司管理员可能需要也可能不需要此信息,这是存放有关发布的具体信息或说明的绝佳位置。
      1. 审批者 - 输入在发布对象之前必须批准此发布候选的用户的电子邮件地址或用户团队的名称。(公司管理员可能需要此信息,也可能不需要此信息。如果将此输入框留空,则单击“发布”时会立即发布对象。)如果存在电子邮件地址或团队名称,则会创建发布候选,审批者会收到通知,并且在审批者表示批准之前不会发布对象。

        在“审批者”输入框中列出团队时,即使选择了需要所有审批者的审批(在发布管理工作流设置中),也只需要团队的一位成员的审批。

    3. 观察者 - 输入用户的电子邮件地址或您想要向发布候选(或发布)授予“仅查看”权限的用户的电子邮件地址或用户团队的姓名。即使您不需要批准,也可以输入观察员。观察者会收到通知。
  8. 根据所需结果,单击下列其中一项:
    • 保存草稿可将您当前正在处理的发布候选保存为草稿并关闭对话框。有关更多信息,请参见发布草稿
    • 提交(列出审批者时可见)可创建版本,并将版本图标、发布候选及其对象设置为待决中

      通知将发送到列出的每个批准者和观察者。蓝色消息气泡还会出现在图形区域的顶部,表明已提交(或其他操作)版本,并且包含指向操作条目页面的链接,您可以在其中监视发布过程并对其进行操作。

      发布已提交的通知示例

      该消息表明您可以在“操作条目”页面上查看状态

      “行动项”页面,显示了发布的列表

      操作条目页面

      要从“待决中”移动到“已发布”并完成发布工作流程,必须核准发布候选。

    • 单击关闭,以关闭对话框而不记录任何更改或不执行任何操作。