{"id":8126,"date":"2026-08-20T18:54:00","date_gmt":"2026-08-20T10:54:00","guid":{"rendered":"http:\/\/pipingpig.com\/index.php\/2026\/08\/20\/s3d%e4%ba%8c%e6%ac%a1%e5%bc%80%e5%8f%91%e4%b8%ad%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89%e5%a4%8d%e6%9d%82%e8%bf%87%e6%bb%a4%e5%99%a8\/"},"modified":"2026-08-20T21:33:32","modified_gmt":"2026-08-20T13:33:32","slug":"s3dercikaifazhongruhedingyifuzaguolvqi","status":"publish","type":"post","link":"https:\/\/www.pipingpig.com\/2026\/08\/20\/s3dercikaifazhongruhedingyifuzaguolvqi\/","title":{"rendered":"S3D\u4e8c\u6b21\u5f00\u53d1\u4e2d\u5982\u4f55\u5b9a\u4e49\u590d\u6742\u8fc7\u6ee4\u5668"},"content":{"rendered":"<div class=\"content\">\n<div>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\">\u6211\u4eec\u7ecf\u5e38\u9700\u8981\u5728\u4ee3\u7801\u4e2d\u6839\u636e\u7279\u5b9a\u6761\u4ef6\u6765\u8fc7\u6ee4\u67d0\u4e9b\u5bf9\u8c61\uff0c\u5c31\u50cf\u57283D\u91cc\u9762\u8c03\u7528\u4e00\u4e9b\u590d\u6742\u7684\u8fc7\u6ee4\u5668\u4e00\u6837\uff0c\u7ecf\u8fc7\u8fc7\u6ee4\u7684\u6570\u636e\u6e90\uff0c\u53ef\u4ee5\u5927\u5927\u589e\u52a0\u7a0b\u5e8f\u7684\u8fd0\u884c\u6548\u7387\u3002<\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span><em><span style=\"background-color: transparent;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\">Dim oFilter As New Filter<\/span><\/em><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span style=\"background-color: transparent;color: inherit;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\"><br \/><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\">\u9996\u5148\u5b9e\u4f8b\u5316\u4e00\u4e2aFilter\u5bf9\u8c61\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230Filter\u5bf9\u8c61\u7684Definition\u5c5e\u6027\u4e2d\u6709\u5f88\u591a\u65b9\u6cd5\uff0c\u91cd\u70b9\u4ecb\u7ecd\u4e0b\u9762\u8fd9\u51e0\u4e2a\u5e38\u7528\u7684\u3002<\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span><em><span style=\"background-color: transparent;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\">oFilter.Definition.AddHierarchy(HierarchyTypes.XXX, objCol, bIncludeNested)<\/span><\/em><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span><em><span style=\"background-color: transparent;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\">oFilter.Definition.AddObjectType(PipingPipingPartsPipeComponents)<\/span><\/em><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span><em><span style=\"background-color: transparent;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\">oFilter.Definition.AddWhereProperty()<\/span><\/em><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span><em><span style=\"background-color: transparent;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\">oFilter.Definition.MatchAllProperties = True or False<\/span><\/em><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span style=\"background-color: transparent;color: inherit;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\"><br \/><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><strong><span>AddHierarchy<\/span><\/strong>\u662f\u6dfb\u52a0System\u6216Assembly\u6216Space\u6216WBS\u7b49\u76ee\u5f55\u6811\u8fc7\u6ee4\u6761\u4ef6\uff0c\u5177\u4f53\u7684HierarchyTypes\u6709\uff1aSystem\uff0cAssembly\uff0cWBS\uff0cAnalysis\uff0cSpace\uff0cPermissionGroup\uff0cVolume_NamedSpace\u3002\u540e\u9762\u63a5\u4e00\u4e2aReadOnly\u7684Business Object\u7684\u96c6\u5408\uff0c\u5c31\u662f\u76ee\u5f55\u6811\u8282\u70b9\u7684\u96c6\u5408\uff0c\u6ce8\u610f\u8fd9\u91cc\u4e00\u5b9a\u8981\u8f6c\u6362\u6210\u4e3a\u8fd9\u79cd\u6027\u8d28\u7684\u96c6\u5408\u3002\u6700\u540e\u4e00\u4e2aBoolean\u7c7b\u578b\u7684\u610f\u601d\u662f\u662f\u5426\u5305\u542b\u76ee\u5f55\u6811\u8282\u70b9\u7684\u5b50\u96c6\u3002<\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><strong><span>AddObjectType<\/span><\/strong>\u662f\u8bbe\u7f6e\u8fc7\u6ee4\u7684\u5bf9\u8c61\u7c7b\u578b\uff0c\u8fd9\u4e2a\u57283D\u91cc\u505a\u8fc7\u8fc7\u6ee4\u5668\u7684\u5e94\u8be5\u4e5f\u5f88\u719f\u6089\u4e86\uff0c\u53ea\u4e0d\u8fc7\u8fd9\u91cc\u7684\u5199\u6cd5\u9700\u8981\u6ce8\u610f\u4e00\u4e0b\u4e86\uff0c\u5177\u4f53\u4f60\u60f3\u8fc7\u6ee4\u4ec0\u4e48\u7c7b\u578b\u7684\u5bf9\u8c61\uff0c\u8def\u5f84\u8981\u6309\u7167Metadata Browser\u91cc\u9762\u7684ClassificationTopNodes\u7684\u76ee\u5f55\u586b\u5199\u3002<\/p>\n<figure style=\"margin-top: 1em;margin-bottom: 1em;font-family: Lora, sans-serif;font-size: 16px;text-align: left;white-space: normal\"><img loading=\"lazy\" decoding=\"async\" data-ratio=\"0.41408114558472553\" data-type=\"jpeg\" data-w=\"838\" height=\"347\" src=\"https:\/\/www.pipingpig.com\/wp-content\/uploads\/2026\/08\/img_0000-13.jpg\" style=\"border-width: 0px;border-style: initial;border-color: initial;vertical-align: middle\" width=\"838\" \/><\/figure>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><strong><span>AddWhereProperty<\/span><\/strong>\u662f\u6dfb\u52a0\u5c5e\u6027\u8fc7\u6ee4\u6761\u4ef6\uff0c\u8fd9\u4e2a\u5c31\u6bd4\u8f83\u96be\u4e86\u3002\u8fd9\u4e2a\u65b9\u6cd5\u6709\u591a\u91cd\u5b9a\u4e49\uff0c\u6211\u4eec\u5e38\u7528\u7684\u662f\u76f4\u63a5\u7684\u5c5e\u6027\u8fc7\u6ee4\uff1aAddWhereProperty(oPropValue, iOperator)\uff0c\u8fd9\u4e2a\u5c31\u76f8\u5f53\u4e8e\u6211\u4eec\u57283D\u4e2d\u505aCOM\u5c5e\u6027\u8fc7\u6ee4\u65f6\u7684Direct Property of Object Type\uff0c\u80fd\u76f4\u63a5\u4ece\u5bf9\u8c61\u4e0a\u62ff\u5230\u8fd9\u4e2a\u5c5e\u6027\u5c31\u53ef\u4ee5\u8fd9\u4e48\u5199\u3002\u5f53\u7136\u4f60\u9700\u8981\u5148\u5b9a\u4e49\u4e00\u4e2a\u6709\u5177\u4f53\u503c\u7684oPropValue\u3002<\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\">\u5982\u679c\u8981\u901a\u8fc7\u5173\u8054\u5173\u7cfb\u627e\u5230\u4e0b\u4e00\u5c42\u5bf9\u8c61\u4e0a\u7684\u5c5e\u6027\uff0c\u5c31\u7528\u5230\u4e86AddWhereProperty(oPropValue, iOperator, RelationshipInfo, sRoleName), \u8fd9\u91cc\u591a\u4e86\u4e24\u4e2a\u53c2\u6570\uff0c\u505a\u8fc7\u5f00\u53d1\u7684\u53ef\u80fd\u4f1a\u6bd4\u8f83\u719f\u6089\uff0c\u6211\u4eec\u4f7f\u7528GetRelationhship\u65b9\u6cd5\u7684\u65f6\u5019\uff0c\u5c31\u9700\u8981\u7ed9\u4e00\u4e2aRelationship\u7684\u540d\u5b57\u548c\u4e00\u4e2aRole\u7684\u540d\u5b57\u3002\u8fd9\u91cc\u7684RelationshipInfo\u7684\u5b9a\u4e49\u7c7b\u4f3c\u4e8e\u7ba1\u9053\u7b49\u7ea7\u6216\u4fdd\u6e29\u7b49\u7ea7\u7684\u83b7\u53d6\u65b9\u6cd5\uff0c\u6211\u4eec\u5f88\u96be\u53bb\u81ea\u5df1\u5b9a\u4e49\u4e00\u4e2aRelationship Information\u5bf9\u8c61\uff0c\u6700\u76f4\u63a5\u7684\u65b9\u6cd5\u662f\u4ece\u67d0\u4e2a\u6709\u8fd9\u79cd\u5173\u8054\u5173\u7cfb\u7684\u5bf9\u8c61\u8eab\u4e0a\u53bb\u83b7\u53d6\u5230\u3002\u8fd9\u53ef\u80fd\u9700\u8981\u6211\u4eec\u57283D\u91cc\u5efa\u7acb\u4e00\u4e9b\u7279\u5b9a\u7c7b\u578b\u7684\u5bf9\u8c61\uff0c\u4e13\u95e8\u7528\u6765\u5728\u4ee3\u7801\u4e2d\u5b9e\u4f8b\u5316\uff0c\u7136\u540e\u83b7\u53d6\u8fd9\u4e9b\u5173\u8054\u5173\u7cfb\u6216\u8bf8\u5982\u6b64\u7c7b\u7684\u5bf9\u8c61\u3002<\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span><em><span style=\"background-color: transparent;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\">Dim oRelationInfo as RelationshipInformation = Nothing<\/span><\/em><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span><em><span style=\"background-color: transparent;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\">Dim sOD As String = &#8220;{XXXXXXXXXXXXXXXXXXXXXX}&#8221;<\/span><\/em><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span><em><span style=\"background-color: transparent;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\">Dim oBMoniker = ActivePlant.PlantModel.GetBOMonikerFromDbIdentifier(sOID)<\/span><\/em><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span><em><span style=\"background-color: transparent;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\">Dim oBO As BusinessObject = ActivePlant.PlantModel.WrapSP3DBO(oBMoniker)<\/span><\/em><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span><em><span style=\"background-color: transparent;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\">For Each item in oBO.Relationships<\/span><\/em><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span><em><span style=\"background-color: transparent;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\"> \u00a0 \u00a0oRealtionInfo = item.RelationshipInfo<\/span><\/em><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span><em><span style=\"background-color: transparent;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\"> \u00a0 \u00a0If oRelationInfo.DisplayName = &#8220;XXXXXXXXX&#8221; Then<\/span><\/em><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span><em><span style=\"background-color: transparent;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\"> \u00a0 \u00a0 \u00a0 \u00a0Exit For<\/span><\/em><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span><em><span style=\"background-color: transparent;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\"> \u00a0 \u00a0End If<\/span><\/em><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span><em><span style=\"background-color: transparent;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\">Next<\/span><\/em><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span style=\"background-color: transparent;color: inherit;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\"><br \/><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><strong><span>MatchAllProperties<\/span><\/strong>\u5c31\u5f88\u597d\u7406\u89e3\u4e86\uff0c\u6211\u4eec\u57283D\u7684\u8fc7\u6ee4\u5668\u4e2d\u5b9a\u4e49\u5c5e\u6027\u8fc7\u6ee4\u7684\u65f6\u5019\uff0c\u6709\u4e2aAll\u548cAny\uff0c\u4e5f\u5c31\u662f\u4e0e\u548c\u6216\u7684\u9009\u62e9\u3002<\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span style=\"font-family: &quot;Noto Serif&quot;;font-size: 16px;text-align: start;white-space: pre-wrap\">\u6700\u540e\u5c31\u662f\u83b7\u53d6\u8fd9\u4e2a\u8fc7\u6ee4\u5668\u7684\u7ed3\u679c\u4e86\u3002<\/span><span style=\"background-color: transparent;color: inherit;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\"><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><span><em><span style=\"background-color: transparent;font-family: &quot;Droid Sans&quot;, sans-serif;font-size: inherit;white-space: pre-wrap\">Dim rcolBOs As ReadOnlyCollection(of BusinessObject) = oFilter.Apply()<\/span><\/em><\/span><\/p>\n<p style=\"margin-bottom: 0em;font-size: 16px;line-height: 28px;font-family: Lora, sans-serif;text-align: left;white-space: normal\"><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u4eec\u7ecf\u5e38\u9700\u8981\u5728\u4ee3\u7801\u4e2d\u6839\u636e\u7279\u5b9a\u6761\u4ef6\u6765\u8fc7\u6ee4\u67d0\u4e9b\u5bf9\u8c61\uff0c\u5c31\u50cf\u57283D\u91cc\u9762\u8c03\u7528\u4e00\u4e9b\u590d\u6742\u7684\u8fc7\u6ee4\u5668\u4e00\u6837\uff0c\u7ecf\u8fc7\u8fc7\u6ee4\u7684\u6570\u636e\u6e90\uff0c\u53ef\u4ee5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[9,28],"tags":[],"class_list":["post-8126","post","type-post","status-publish","format-standard","hentry","category-smart3d","category-dev"],"_links":{"self":[{"href":"https:\/\/www.pipingpig.com\/wp-json\/wp\/v2\/posts\/8126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pipingpig.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pipingpig.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pipingpig.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pipingpig.com\/wp-json\/wp\/v2\/comments?post=8126"}],"version-history":[{"count":1,"href":"https:\/\/www.pipingpig.com\/wp-json\/wp\/v2\/posts\/8126\/revisions"}],"predecessor-version":[{"id":8234,"href":"https:\/\/www.pipingpig.com\/wp-json\/wp\/v2\/posts\/8126\/revisions\/8234"}],"wp:attachment":[{"href":"https:\/\/www.pipingpig.com\/wp-json\/wp\/v2\/media?parent=8126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pipingpig.com\/wp-json\/wp\/v2\/categories?post=8126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pipingpig.com\/wp-json\/wp\/v2\/tags?post=8126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}