当前位置: 首页 > news >正文

3DEXPERIENCE参考属性和实例属性的获取

利用VBA接口,通过函数方法进行零件参考属性和实例属性的获取。

Reference属性:

在这里插入图片描述

Instance属性:

在这里插入图片描述

VPMInstance vpmInstL1 = vpmInstsL1.Item(1) as VPMInstance;
string x1 = vpmInstL1. GetAttributeValue("V_nature");//
string x2 = vpmInstL1.GetAttributeValue("V_user");//当前编辑人员
string x3 = vpmInstL1.GetAttributeValue("V_description");//实例描述
string x4 = vpmInstL1.get_Name(); //实例名称
string x5 = vpmInstL1.GetAttributeValue("PLM_ExternalID");//实例名称
string x6 = vpmInstL1.GetAttributeValue("Name");//实例名称
string x7 = vpmInstL1.GetAttributeValue("modified");//修改时间
string x8 = vpmInstL1.GetAttributeValue("owner");//作者
string x9 = vpmInstL1.GetAttributeValue("project");//协作区VPMReference vpmRefInstL1 = vpmInstL1.ReferenceInstanceOf;
string xx1 = vpmRefInstL1.GetAttributeValue("V_Name");//参考标题
string xx2 = vpmRefInstL1.GetAttributeValue("Name");//参考标题
string xx3 = vpmRefInstL1.GetAttributeValue("name");//参考名称
string xx4 = vpmRefInstL1.GetAttributeValue("V_description");//参考描述
string xx5 = vpmRefInstL1.GetAttributeValue("modified");//修改时间
string xx6 = vpmRefInstL1.GetAttributeValue("owner");//作者
string xx7 = vpmRefInstL1.GetAttributeValue("project");//协作区
string xx8 = vpmInstL1.GetAttributeValue("V_nature");//
string xx9 = vpmInstL1.GetAttributeValue("V_user");//当前编辑人员
string xx10 = vpmInstL1.GetAttributeValue("XX_Para");//自定义扩展参数

在这里插入图片描述

http://www.xdnf.cn/news/889075.html

相关文章:

  • VUE混合开发用哪个PHP框架好?
  • 三级等保框架下质检 LIMS 系统违规操作溯源技术应用实践
  • 极昆仑智慧与数元灵科技达成战略合作
  • redis配置及优化
  • YOLOv8 × VisDrone 全流程实战:训练你的无人机识别模型 AI(第一部分:数据集准备)
  • 25.6.5学习总结
  • Git操作记录
  • 60天python训练计划----day45
  • 如何开发一个成功的产品
  • OptiStruct结构分析与工程应用:无限元分析指南
  • SpringBoot自动化部署实战技术文章大纲
  • 网络层协议
  • 【电赛培训课程】运算放大器及其应用电路设计
  • DNS攻击类型有哪些?如何应对DNS攻击威胁?
  • 网络包在 Linux 中的处理流程
  • echarts在uniapp中使用安卓真机运行时无法显示的问题
  • C及C++编译链接过程详解
  • c++ Base58编码解码
  • 【华为云Astro-服务编排】服务编排中图元的使用与配置
  • 【Android基础回顾】四:ServiceManager
  • gc2053驱动学习笔记
  • CppCon 2015 学习:Concurrency TS Editor’s Report
  • nvidia系列教程-Usb otg模式修改为host模式
  • 从理论崩塌到新路径:捷克科学院APL Photonics论文重构涡旋光技术边界
  • 设计模式-2 结构型模式
  • 轻触开关是什么?
  • Web前端之隐藏元素方式的区别、Vue循环标签的时候在同一标签上隐藏元素的解决办法、hidden、display、visibility
  • 国产录播一体机:科技赋能智慧教育信息化
  • el-draw的文件列表和清单内容布局实现
  • 兰亭妙微 | 医疗软件的界面设计能有多专业?