vault backup: 2025-02-25 09:16:10

This commit is contained in:
SeedList
2025-02-25 09:16:10 +08:00
parent 60ee8c383f
commit 0b2ca1fd1c
7 changed files with 88 additions and 23 deletions

View File

@ -13,30 +13,58 @@
"state": {
"type": "markdown",
"state": {
"file": "SanPinPLM/相关操作/1.EDM/80.文档分类设置.md",
"file": "SanPinPLM/相关操作/2.PDM/30.图号、物料编码唯一性设置.md",
"mode": "source",
"source": false
},
"icon": "lucide-file",
"title": "80.文档分类设置"
"title": "30.图号、物料编码唯一性设置"
}
},
{
"id": "030a55f32abd7bd8",
"id": "c313f5d4e06a1d40",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "SanPinPLM/相关操作/1.EDM/200.Delphi脚本.md",
"file": "SanPinPLM/相关操作/2.PDM/57.图号、文档编码关联.md",
"mode": "source",
"source": false
},
"icon": "lucide-file",
"title": "200.Delphi脚本"
"title": "57.图号、文档编码关联"
}
},
{
"id": "61a8f9252d642ef0",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "SanPinPLM/相关操作/2.PDM/31.图号与物料编码一致性设置.md",
"mode": "source",
"source": false
},
"icon": "lucide-file",
"title": "31.图号与物料编码一致性设置"
}
},
{
"id": "3d418cf13e2ff47f",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "SanPinPLM/相关操作/4.other/25.编码器设置.md",
"mode": "source",
"source": false
},
"icon": "lucide-file",
"title": "25.编码器设置"
}
}
],
"currentTab": 1
"currentTab": 3
}
],
"direction": "vertical"
@ -109,13 +137,13 @@
"state": {
"type": "outline",
"state": {
"file": "SanPinPLM/相关操作/1.EDM/200.Delphi脚本.md",
"file": "SanPinPLM/相关操作/4.other/25.编码器设置.md",
"followCursor": false,
"showSearch": false,
"searchQuery": ""
},
"icon": "lucide-list",
"title": "200.Delphi脚本 的大纲"
"title": "25.编码器设置 的大纲"
}
},
{
@ -190,10 +218,21 @@
"hidden-folder-obsidian:显示文件夹": false
}
},
"active": "030a55f32abd7bd8",
"active": "262fdb4633fcf55d",
"lastOpenFiles": [
"SanPinPLM/相关操作/2.PDM/31.图号与物料编码一致性设置.md",
"SanPinPLM/相关操作/2.PDM/57.图号、文档编码关联.md",
"SanPinPLM/相关操作/2.PDM/59.把零部件放入标准物料库.md",
"SanPinPLM/相关操作/2.PDM/54.借用与编辑借用物料.md",
"SanPinPLM/相关操作/2.PDM/50.创建与编辑物料.md",
"SanPinPLM/相关操作/2.PDM/30.图号、物料编码唯一性设置.md",
"SanPinPLM/相关操作/2.PDM/32.物料排序.md",
"SanPinPLM/相关操作/2.PDM/56.文档关联物料.md",
"SanPinPLM/相关操作/2.PDM/61.BOM导出.md",
"SanPinPLM/相关操作/2.PDM/60.BOM搭建.md",
"SanPinPLM/相关操作/1.EDM/80.文档分类设置.md",
"SanPinPLM/相关操作/1.EDM/200.Delphi脚本.md",
"SanPinPLM/相关操作/1.EDM/assets/Pasted image 20250225085445.png",
"SanPinPLM/相关操作/4.other/25.编码器设置.md",
"SanPinPLM/相关操作/1.EDM/28.AutoCAD图纸模板制作.md",
"AutoCAD/7.属性定义.md",
@ -211,23 +250,12 @@
"SanPinPLM/相关操作/1.EDM/205.窗体表单查询.md",
"SanPinPLM/相关操作/1.EDM/75.文档审批流程模板制作.md",
"SanPinPLM/相关操作/1.EDM/100.执行文档变更流程.md",
"SanPinPLM/相关操作/0.SETOUT/20.浏览器安装、调试.md",
"SanPinPLM/相关操作/1.EDM/30.CAXA图纸模板制作.md",
"SanPinPLM/相关操作/1.EDM/29.中望CAD图纸模板制作.md",
"各软件安装教程/assets/Pasted image 20250224150653.png",
"各软件安装教程/assets/Pasted image 20250224150600.png",
"各软件安装教程/assets/Pasted image 20250224145445.png",
"各软件安装教程/assets/Pasted image 20250224145337.png",
"各软件安装教程/CAXA2020安装破解.md",
"各软件安装教程/CAXA2022安装破解.md",
"各软件安装教程/assets/Pasted image 20250224145244.png",
"各软件安装教程/Altium Designer 16安装破解.md",
"KMmpm/系统介绍/安全管理/功能授权.md",
"KMmpm/相关操作/容器目录管理/10.容器管理.md",
"KMmpm/相关操作/容器目录管理/20.目录管理.md",
"KMmpm/相关操作/容器目录管理/assets/Pasted image 20250224142515.png",
"KMmpm/系统介绍/系统定制/目录模板.md",
"KMmpm/相关操作/容器目录管理/assets/Pasted image 20250224133923.png",
"未命名.canvas",
"KMmpm/系统介绍/数据建模/对象类定义/assets",
"KMmpm/系统介绍/数据建模/对象类定义",

View File

@ -80,6 +80,8 @@ end.
显示系统支持的变量和函数,双击节点时,在 **脚本编辑区** 的当前光标位置增加变量或函数名称,鼠标移到树节点时,提示信息窗显示变量类型或函数原型,支持节点拖动
![](assets/Pasted%20image%2020250225085445.png)
### 错误提示区
执行 **保存****检查语法正确性** 命令时,如果脚本存在错误,则错误信息被显示在 **错误提示区**,双击错信息行时,在 **脚本编辑区** 中对于的错误行用红色背景标记

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 KiB

View File

@ -22,12 +22,14 @@
![image-20240723172306925](assets/image-20240723172306925.png)
同样的,在物料属性中,也不允许多个物料绑定到同一张图纸上
同样的,在物料属性中,也不允许多个物料绑定到同一张图纸上,即不允许出现一图多物料的情况
![image-20240723172701416](assets/image-20240723172701416.png)
## 一图多物料
考虑到 **一图多物料** 的情况,即一张图纸可能会对应多个物料,那么需要根据具体情况关闭 **图号唯一性设置**,不过这样做可能会导致重复图号的产生(仅在手动编辑图号的时候会出现重复图号)
考虑到 **一图多物料** 的情况,即一张图纸可能会对应多个物料,那么需要根据具体情况关闭 **图号唯一性设置**,不过这样做可能会导致重复图号的产生
不同物料可能关联同一张图纸,那么这些物料的代号都是一样的。或者手动修改代号导致代号出现重复
![](assets/Pasted%20image%2020240723193348.png)

View File

@ -0,0 +1,24 @@
# 介绍
脚本如下:
```Delphi
uses MyClass,Variables,BaseUtil,CommonFunc,DataConst,CFFrm,CFSimplePropFrm,Forms,StdCtrls,Variants,SysUtils,Classes,Controls,Dialogs,
CHostIntf,ProductClas,DocClas,LoginClas,VirtualTrees,CEntClas,PathClas;
begin
//注释:在下面添加您的脚本代码
// 检查 物料编码 是否为空
if Trim(fedtItemCode.Text) <> '' then
begin
// 如果 物料编码 不为空,则将 代号 的值设置为 物料编码 的值
fedtDrawId.Text := fedtItemCode.Text;
end
else
begin
// 如果 物料编码 为空,则清空 代号
fedtDrawId.Text := '';
end;
end.
```

View File

@ -0,0 +1,3 @@
# 介绍
系统中物料属性上的 **代号** 指的就是图号,

View File

@ -280,4 +280,10 @@
### 附件编码
### 父对象属性
### 父对象属性
# 编码器使用补充
前文中已经介绍过 [流水号](#流水号) 的补充事项,即无 **约束码段** 的情况下,流水号可能会出现 **跳码**
而在此,进一步补充编码器在使用过程中