几何尺寸与公差论坛

 找回密码
 注册
查看: 1094|回复: 0

【转帖】creating assemblies and parts from docmgr

[复制链接]
发表于 2009-4-13 10:04:40 | 显示全部楼层 |阅读模式
creating assemblies and parts from docmgr
what is the best way to create assemblies and parts from documentmanager? the parts and assemblies should be in 2007 format (not newer). the assemblies just have to contain parts - i don't care about the position and/or visibility of its parts.
the only solution i could come up with was this:
parts:
1. create an empty part with solidworks 2007 once.
2. copy that when you need a new part.
assemblies:
1. create [n+1] assemblies that contain 0-[n] different parts with solidworks 2007.
2. copy the assembly with the same number of parts that you want to create.
3. replace the reference of every part with the part that you want in the assembly.
4. if you want to create an assembly with more than [n] parts, you're out of luck.
is there a faster/better solution to achieve the same results?
what is the reason for this?
i'm working on an application which lets project managers build the cad structure so that design engineers structure the machine accordingly.
it's quite difficult to explain the whole concept, but i can show it to you when it's finished and you're interested.
the document manager is used to work with existing files so they would have to exist in the first place. there is no way to add parts to an assembly only replace their references, so your first statement is correct. if speed isn't a massive issue just use sw api instead of dm.
but project managers might not have solidworks installed. that's why i can't use solidworks.
do you think my idea will work out?
if you have presaved assemblies containing 0-n references, and every part you require presaved too, then you can replace references as you please to do what you want.
thank you!
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-24 03:00 , Processed in 0.043791 second(s), 31 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表