几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » SolidWorks二次开发
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


回复
 
主题工具 搜索本主题 显示模式
旧 2009-04-13, 01:23 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】pdmworks workgroup api help

pdmworks workgroup api help
this may be over the top but i believe it would be useful for many. unfortunately i know next to nothing about programming to do it myself so i want to hear your opinions either of how to program this feature or how you/your company deals with this same situation.
essentially; is there a way to use api to check out documents from pdmworks workgroup and on check out have the file names appended with specific values values from the custom properties and the references remain intact?
for example i have a file naming structure that is not linked to the part, thus non-logical system (complete other topic if anyone is interested in discussing, i'm game). i would like to send a 3d file to a vendor but when i check out the file i need to append the file name with the revision of the file. this way it is easier for the vendor to keep track of the file revision, especially when dealing with people who are computer illiterate (don't know how to check file properties and be cautions when overwriting files). of course for any of this to be remotely worth it; upon appending the file name it would also be necessary for the references to be changed in assemblies and drawings that are checked out at the same time so they can all be sent to the vendor if needed. i have done this manually in the past and it is a nightmare...extremely tedious with large assemblies.
ideally at the same time of checking the part out it would be great to set the files to read only. this would prevent someone from opening the files and modifying them with the properties in the file name and then trying to check them back in.
pack n go in swe has a feature to append file names and gives you the option to add a prefix or suffix, it would be similar to this but more advanced and customizable for various properties and.......automated with pdm. since you could add those property values manually in swe but that would be a great deal of time also.
q: would setting the files to read only make things difficult for the vendor to use the files? is there another option?
any takers?
best regards,
jason a. corl | bsme
senior product development engineer (radio control race car engineer) | cad admin
associated electrics, inc. | lake forest | ca
solidworks 2009 | sp2.0
dell t7400 | qc-xeon | vista 64bit | nvidia fx1700 | 2gb ram | 2x 24" lcd | spacepilot | ms trackball optical
skypeid/gtalk: jcoeng
member: tau beta pi | asme | sae
jason,
sounds simple enough but rather a nieche market. the program would just check out files from pdm (but not check anything back in), and just do a basic rename of files based on custom properties?
possibly a better way to do this would be a tool that can rename files and use any custom property values and maintain references to any files it is used in (based on search folder settings you specify for where to look for files or something similar), and then leave the checking out process to the user as all they would have to do is check them out and then run the tool on those files; this would make the tool more of a generic tool that can be used outside of pdm independantly (spelt right??).
if there is interest in this i can certainly make a tool to do just this!
luke,
i'm glad it sounds simple to you! i also like your idea a little better so that it is a standalone app.
i'm definitely interested as this would save me a large amount of time. how can i help?
thanks!
best regards,
jason a. corl | bsme
senior product development engineer (radio control race car engineer) | cad admin
associated electrics, inc. | lake forest | ca
solidworks 2009 | sp2.0
dell t7400 | qc-xeon | vista 64bit | nvidia fx1700 | 2gb ram | 2x 24" lcd | spacepilot | ms trackball optical
skypeid/gtalk: jcoeng
member: tau beta pi | asme | sae
hey luke,
just thinking another cool feature to add would be to be able to export a list of the file names (contained configs if possible) and selected property values into a csv or excel file. would your property extractor tool do this?
i'd really like to help bring this tool to life. i hear a lot of people discuss weather to have logical file naming systems. i think this would be a sure-fire tool to promote non-logical systems since this is where pdm performs its best. no need to have description in file name or revision in file name when using pdm. then when the users need it for vendors etc. they can add it.
please let me know if there is something i can do to help. i'm not a programmer by any means but i can learn (at least i keep telling myself that).
best regards,
jason a. corl | bsme
senior product development engineer (radio control race car engineer) | cad admin
associated electrics, inc. | lake forest | ca
solidworks 2009 | sp2.0
dell t7400 | qc-xeon | vista 64bit | nvidia fx1700 | 2gb ram | 2x 24" lcd | spacepilot | ms trackball optical
skypeid/gtalk: jcoeng
member: tau beta pi | asme | sae
jason,
sorry for the late reply been busy.
i will add this tool to my todo list and keep you updated. feel free to email me with any suggestions or input (contact@angelsix.com)
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】pdmworks api question yang686526 SolidWorks二次开发 0 2009-04-13 01:23 PM
【转帖】api hooks for new bom reorganization functionality yang686526 SolidWorks二次开发 0 2009-04-12 11:04 PM
【转帖】solidworks 2008 api book - released yang686526 SolidWorks二次开发 0 2009-04-12 07:38 PM
【转帖】外挂开发中的封包技术 huangyhg vc编程 0 2007-12-03 04:41 PM
【转帖】对于hook函数的一点认识 huangyhg vc编程 0 2007-03-27 11:53 AM


所有的时间均为北京时间。 现在的时间是 09:07 AM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多