首先打开PDM,tools->execute commands->edit/run script
运行以下脚本,将name拷贝为comment
Option Explicit
ValidationMode = True
InteractiveMode = im_Batch
Dim mdl ' the current model
' get the current active model
Set mdl = ActiveModel
If (mdl Is Nothing) Then
MsgBox "There is no current Model"
ElseIf Not mdl.IsKindOf(PdPDM.cls_Model) Then
MsgBox "The current model is not an Physical Data model."
Else
ProcessFolder mdl
End If
' This routine copy name into code for each table, each column and each view
' of the current folder
Private sub ProcessFolder(folder)
Dim Tab 'running table
for each Tab in folder.tables
if not tab.isShortcut then
tab.comment=tab.name
Dim col ' running column
for each col in tab.columns
col.comment=col.name
next
end if
next
end sub
然后在database->generate database->options->table&column中分别选中table和column的coment,导出表的时候,即可导出comment
分享到:
相关推荐
powerdesign表结构导出到EXCEL脚本
自定义的 Power Design 的数据库文档生成模板, pd 本来的模板不太适合中国人实用,定制了pd 模板,符合国人风格的文档格式。
powerdesign 逆向工程完成后,数据库中comment脚本
powerdesigner视图不支持name,code,comment(列注释)同时显示,本文档完美解决了这个问题。快乐源于分享,需要的拿走
Low Power Design Low Power Design
Powerdesign连接远程oracle数据库;其他数据库类似。按文档步骤操作,powerdesign可以实现与oracle数据库同步,导入导出表信息等。
PowerDesign16.5导出word使用的模板,兼容word各种版本
PowerDesign12.5破解版的下载,软件有125M,比较大,我将它存到网盘供大家下载,这个软件下载的资源比较多,但重要的是如何使用UML建模工具,帮助我们解决实际问题。利用UML的13种图(用例图,类图,对象图,包图,...
完整的powerdesign12.5的汉化及破解 完整的powerdesign12.5的汉化及破解 完整的powerdesign12.5的汉化及破解
PowerDesign 15 PowerDesign15 破解文件
power design 16 破解补丁
powerdesign 使用教程,详细讲解了如何使用powerdesign,对初学者是不错的选择
PowerDesign 12.5汉化包 让你使用PowerDesign时更加得心应手,全面提高工作效率和工作质量!
本机电脑为64win7系统,64位oracle11gr2数据库,使用powerdesign连接oracle时,常出现的两类错误提示的解决办法
PowerDesign配置MySQL5.0建表脚本格式 PowerDesign配置MySQL5.0建表脚本格式 PowerDesign配置MySQL5.0建表脚本格式
PowerDesign图文教程 建立一个新table 定义或修改表名/表结构 生成table sql script(脚本) 其他 定义表索引 常用功能介绍
powerdesign实例教程.收集到的某培训班的培训文档资料.里面举了很多例子供大家参考.欢迎下载!
PowerDesigner 中name和comment 互换脚本,可以使用。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
powerDesign.chm 中文手册 chm版powerDesign.chm 中文手册 chm版
powerdesign逆向图生成指南,操作简便,有图有真相