如何颠覆AutoCAD
我是 Subversion 的新手。我试图颠覆我的项目部门的 AutoCAD 文件,但它似乎不起作用。它可以很好地处理文档和 xls 文件等,
除了“subversion”之外,我正在使用 Tortoise SVN 客户端。
希望对此有一些明确的答复吗?
Sams
ps - 对 AutoDesk Vault 工作组有什么建议吗?
I am new to Subversion. I was trying to subversion AutoCAD files for my projects deparment, however it does'nt seem to work. It works fine with docs and xls files etc.,
Along with 'subversion', i am using Tortoise SVN client.
Would appreciate some clear responses for this ?
Sams
ps - Any suggestions for AutoDesk Vault workgroup ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您可以将 AutoCAD 文件检入 Subversion 系统,就像检入其他文件一样,也可以回滚这些文件,就像回滚其他文件一样。
但您不能执行差异或合并操作,因为 autocad 文件是二进制文件。
You can check-in the AutoCAD files into your Subversion system just like how you check-in other files, and you can rollback the files just like how you roll back other files.
But you can't do a diff or merge operation, for autocad files are binary files.
Subversion 可以处理任何类型的文件。但是,您需要注意,您无法比较二进制文件(包括 Excel 和 Word,尽管我见过一些脚本可以在某种程度上帮助显示 Excel 工作表之间的差异)。
不过,Subversion 可能不会将您的 AutoCAD 文件识别为二进制文件,而是将其视为文本。在这种情况下,它可能会由于行尾损坏而损坏文件。如果发生这种情况,请将
svn:mime-type
属性设置为application/octet-stream
(或与text/plain
不同的其他内容 - - subversion 将其他所有内容都视为二进制文件)以使这些文件也被视为二进制文件。您可以使用 auto-props 来自动执行此操作。Subversion handles any type of files. However, you need to be aware that you can't diff binary files (including Excel and Word, though I've seen some scripts that can help showing differences between Excel sheets to some extend).
It is possible, though, that subversion doesn't recognize your AutoCAD files as binary files and treats them as text. In this case it might corrupt the files due to line ending mangling. If this happens, set the
svn:mime-type
property toapplication/octet-stream
(or something else that differs fromtext/plain
-- subversion treats everything else as binary) to get those files treated as binary too. You can use auto-props to automate this.您可能可以合并并合并diff DXF 文件,因为它们是文本文件,但绝对不是 DWG 格式 - 它是加密的二进制文件。如果您只是寻找时间胶囊类型的存储,那么@bluebrother 的答案是正确的。
如果您想要比较报告,则必须编写自定义应用程序或使用 DWG 比较程序。有一些类似 DWG 比较、http://www.wirecad.com/50/diff.htm。谷歌并浏览。如果您对 AutoCAD 的对象模型了解很多,那么您就会知道这样的应用程序有多么复杂。 购物更简单的选择。
如果您正在考虑三向合并,那么我想忘记它。在结帐时将文件锁定到 1 Cadder 将使您的生活变得轻松很多。
You could, possibly, merge & diff DXF files since they are text files but definitely not the DWG format - it is an encrypted binary. If you're looking simply for a time-capsule type of storage then @bluebrother's answer is correct.
If you want diff reports then you will have to write a custom app or use a DWG comparison program. There are a few out there like DWG compare, http://www.wirecad.com/50/diff.htm. Google and browse. If you know much about AutoCAD's object model then you will know how complex such an app will be. Shopping is a much easier option.
If you're thinking 3-way merge then I'm thinking forget it. Locking a file on checkout to 1 Cadder will make your life a lot less difficult.
应该可以将 AutoCAD DVB 文件检入 Subversion。我已经这样做过好几次了。
不幸的是,无法使用 Subversion(或我知道的任何其他工具)合并/比较这些文件。所以我给自己写了一个 VBA IDE 插件。该插件可以将当前 VBA IDE 中的所有项目作为纯源文件导出到给定目录。我还存储了原始 DVB 文件,因为此导出不适用于表单。
这样做我可以比较各个源文件,合并它们并将它们复制回 DVB 文件。费时,但工作。
It should be possible to check in AutoCAD DVB files into Subversion. I have done this several times.
Unfortunately it is not possible to merge/diff those files with Subversion (or any other tool I know). So I wrote myself a plugin for the VBA IDE. This plugin can export all projects currently in the VBA IDE to a given directory as plain source files. I also store the original DVB files because this export will not work for the forms.
Doing so I can diff the individual source files, merge them and copy them back to the DVB file. Time consuming, but working.